From: Caisking Date: Tue, 11 Nov 2025 06:05:16 +0000 (+0800) Subject: 修复272充电动画UI异常的问题 X-Git-Tag: V1.0.9_20251128_194606_LN~90 X-Git-Url: http://git.snicker.com.cn/css/static/script.js?a=commitdiff_plain;h=2cb4f592e63e2689e8fdd4590359f7ff62e2c8ea;p=mirrors%2FFD230.git 修复272充电动画UI异常的问题 --- 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 bca70ba31..f61ad5efa 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 @@ -48,10 +48,10 @@ namespace OHOS static constexpr char *ChargeAnimationPaths = "/user/res/charge/"; //充电动画路径 static constexpr int16_t CHARGE_ANIMATION_VIEW_NUM_FRAMES = 24; //充电动画帧数 static constexpr int16_t CHARGE_ANIMATION_VIEW_TIME = 150; //充电动画更新间隔 - static constexpr int16_t CHARGE_ANIMATION_VIEW_X = 142; //充电动画位置x - static constexpr int16_t CHARGE_ANIMATION_VIEW_Y = 134; //充电动画位置y - static constexpr int16_t CHARGE_ANIMATION_VIEW_W = 182; //充电动画宽度 - static constexpr int16_t CHARGE_ANIMATION_VIEW_H = 202; //充电动画高度 + static constexpr int16_t CHARGE_ANIMATION_VIEW_X = 42; //充电动画位置x + static constexpr int16_t CHARGE_ANIMATION_VIEW_Y = 50; //充电动画位置y + static constexpr int16_t CHARGE_ANIMATION_VIEW_W = 392; //充电动画宽度 + static constexpr int16_t CHARGE_ANIMATION_VIEW_H = 435; //充电动画高度 const ImageInfo **ChargeAnimationInfoArray{nullptr}; //充电动画图片路径数组 ImageAnimatorInfo ChargeAnimationInfo[CHARGE_ANIMATION_VIEW_NUM_FRAMES]; //充电动画图像的信息