* @Author: luozheng 1732036298@qq.com
* @Date: 2024-03-20 16:37:13
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-03-21 16:20:28
+ * @LastEditTime: 2024-03-21 17:03:49
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/include/ShutDownAnimatorView.h
*/
namespace OHOS
{
- static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_X = 183;
- static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_Y = 183;
- static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_W = 100;
- static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_H = 100;
- static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 70; // 图片帧数
- static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_TIME = 100; // 图片更新间隔
+ static constexpr int16_t SHUTDOWN_IMAGE_ANIMATOR_VIEW_X = 0;
+ 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_TIME = 150; // 图片更新间隔
static constexpr char *ShutDownPaths = "/user/res/RebootAndShutDown/ShutDown/"; //关机图片路径
class ShutDownAnimatorView
{