From: luozheng <1732036298@qq.com> Date: Tue, 9 Apr 2024 07:42:07 +0000 (+0800) Subject: 修改播放关机动画帧数为30帧 X-Git-Tag: release_V1.2.70_20241020_135402~1189^2~33 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=18748a2a3cb4080e6f5f91e10acaaa8e450c4396;p=mirrors%2FFD230.git 修改播放关机动画帧数为30帧 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/include/ShutDownAnimatorView.h b/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/include/ShutDownAnimatorView.h index 77e2daf3e..0dadf249d 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/include/ShutDownAnimatorView.h +++ b/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/include/ShutDownAnimatorView.h @@ -2,7 +2,7 @@ * @Author: luozheng 1732036298@qq.com * @Date: 2024-03-20 16:37:13 * @LastEditors: luozheng 1732036298@qq.com - * @LastEditTime: 2024-03-21 17:03:49 + * @LastEditTime: 2024-04-09 10:53:24 * @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/include/ShutDownAnimatorView.h */ @@ -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 = 36; // 图片帧数 + static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 30; // 图片帧数 static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_TIME = 150; // 图片更新间隔 static constexpr char *ShutDownPaths = "/user/res/RebootAndShutDown/ShutDown/"; //关机图片路径 class ShutDownAnimatorView