272开机动画背景设置为黑色
authorCaisking <Casiking@zhihuishixun.com>
Thu, 30 Oct 2025 08:02:10 +0000 (16:02 +0800)
committerCaisking <Casiking@zhihuishixun.com>
Thu, 30 Oct 2025 08:02:10 +0000 (16:02 +0800)
code/sdk/application/wearable/fd272/nativeapp/nativeui/rebootandshutdown/src/ShutDownImageAnimatorView.cpp
code/sdk/middleware/services/gui/uikit/proprietary/src/service/src/graphic_service_wrapper.cpp

index 5f32cb3..fd5f4c5 100644 (file)
@@ -154,7 +154,7 @@ namespace OHOS
                 ShutDownImageInfo[i].height = SHUTDOWN_IMAGE_ANIMATOR_VIEW_H;
             }
             shutDownImageAnimatorView->SetPosition(SHUTDOWN_IMAGE_ANIMATOR_VIEW_X, SHUTDOWN_IMAGE_ANIMATOR_VIEW_Y, SHUTDOWN_IMAGE_ANIMATOR_VIEW_W, SHUTDOWN_IMAGE_ANIMATOR_VIEW_H);
-            shutDownImageAnimatorView->SetStyle(STYLE_BACKGROUND_COLOR, 0xffffffff);
+            shutDownImageAnimatorView->SetStyle(STYLE_BACKGROUND_COLOR, 0xff000000);
             shutDownImageAnimatorView->SetStyle(STYLE_BACKGROUND_OPA, 0xff);
             shutDownImageAnimatorView->SetImageAnimatorSrc(ShutDownImageInfo, SHUTDOWN_IMAGE_ANIMATOR_VIEW_NUM_FRAMES, 100);
             shutDownImageAnimatorView->SetRepeat(false);
index 1330ed6..8951ab8 100644 (file)
@@ -292,7 +292,7 @@ extern "C"
         }
 #endif
             ReBootImageAnimatorView->SetPosition(REBOOT_IMAGE_ANIMATOR_VIEW_X, REBOOT_IMAGE_ANIMATOR_VIEW_Y, REBOOT_IMAGE_ANIMATOR_VIEW_W, REBOOT_IMAGE_ANIMATOR_VIEW_H);
-            ReBootImageAnimatorView->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, 0xffffffff);
+            ReBootImageAnimatorView->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, 0xff000000);
             ReBootImageAnimatorView->SetStyle(OHOS::STYLE_BACKGROUND_OPA, 0xff);
             ReBootImageAnimatorView->SetImageAnimatorSrc(ReBootImageInfo, REBOOT_IMAGE_ANIMATOR_VIEW_NUM_FRAMES, 100);
 #if defined(LEINIAO)