开机动画和关机动画数量修改为30 2964/target/1
authorluozheng <1732036298@qq.com>
Tue, 23 Dec 2025 03:45:29 +0000 (11:45 +0800)
committerluozheng <1732036298@qq.com>
Tue, 23 Dec 2025 03:45:29 +0000 (11:45 +0800)
code/sdk/application/wearable/fd272/nativeapp/nativeui/rebootandshutdown/include/ShutDownImageAnimatorView.h
code/sdk/middleware/services/gui/uikit/proprietary/src/service/src/graphic_service_wrapper.cpp

index a350e4b..9fa29c7 100644 (file)
@@ -18,7 +18,7 @@ namespace OHOS
     static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_Y = 0;
     static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_W = 466;
     static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_H = 466;
-    static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 44;                // 图片帧数
+    static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 30;                // 图片帧数
     static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_TIME = 130;                          // 图片更新间隔
     static constexpr const char *ShutDownPaths = "/user/res/RebootAndShutDown/ShutDown/"; // 关机图片路径
 
index 7221f25..5438c52 100644 (file)
@@ -67,7 +67,7 @@ extern "C"
     static constexpr int16_t REBOOT_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 30;              // 图片帧数
 #elif defined(BOARD_FD272)
     static constexpr const char *ReBootPaths = "/user/res/RebootAndShutDown/ReBoot/"; // 开机图片路径
-    static constexpr int16_t REBOOT_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 45;              // 图片帧数
+    static constexpr int16_t REBOOT_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 30;              // 图片帧数
 #elif defined(LEINIAO)
     static constexpr const char *ReBootPaths = "/user/res/RebootAndShutDown/ReBoot/"; // 开机图片路径
     static constexpr int16_t REBOOT_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 57;              // 图片帧数