From a3094cfd4e5c9c8834ad9893ec151f2fc33f65ac Mon Sep 17 00:00:00 2001 From: Caisking Date: Fri, 26 Dec 2025 21:45:26 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E5=85=85=E7=94=B5=E5=8A=A8?= =?utf8?q?=E7=94=BB=E5=B8=A7=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../service/msg_center/src/notify/charge_notification.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp index 39581c92b..f79291eeb 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp @@ -30,7 +30,7 @@ namespace OHOS UIViewGroup *group=nullptr; UIImageAnimatorView *ShutDownImageAnimatorView=nullptr; static constexpr char *ShutDownPaths = "/user/res/RebootAndShutDown/ShutDown/"; //关机图片路径 - #define SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES 45 // 图片帧数 + #define SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES 30 // 图片帧数 static int16_t SHUTDOWN_IMAGE_ANIMATOR_TIME = 130; // 图片更新间隔 static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_X = 0; @@ -46,7 +46,7 @@ namespace OHOS //增加充电动画 UIImageAnimatorView *chargeAnimatorView = nullptr; static constexpr char *ChargeAnimationPaths = "/user/res/charge/"; //充电动画路径 - static constexpr int16_t CHARGE_ANIMATION_VIEW_NUM_FRAMES = 45; //充电动画帧数 + static constexpr int16_t CHARGE_ANIMATION_VIEW_NUM_FRAMES = 30; //充电动画帧数 static constexpr int16_t CHARGE_ANIMATION_VIEW_TIME = 150; //充电动画更新间隔 static constexpr int16_t CHARGE_ANIMATION_VIEW_X = 42; //充电动画位置x static constexpr int16_t CHARGE_ANIMATION_VIEW_Y = 50; //充电动画位置y -- 2.17.1