From: xue <2144439972@qq.com> Date: Fri, 28 Nov 2025 05:47:19 +0000 (+0800) Subject: 优化帧率操作 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=c4feb36a06e940bbc86e225b19ca2fb5d55df040;p=mirrors%2FFD230.git 优化帧率操作 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp index 396e62602..84828dec9 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp @@ -231,6 +231,7 @@ namespace OHOS case THUNDERBIRD_DIALOGUEVIEW_STATUS_SHOW: { uapi_set_sleep_mode_active(false);//睡眠模式激活标志位 + ThunderBirdModel::GetInstance()->HighFrequence(); // 从ThunderBirdModel获取当前表情和状态文本 std::string currentStatusText = "发呆中... "; Isband(true); diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp index c85fe0a9b..bfc88eca7 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp @@ -71,7 +71,7 @@ extern "C" { #endif //最低视频帧率 - #define LOW_FREQUENCE 18 + #define LOW_FREQUENCE 20 //最高视频帧率 #define HIGH_FREQUENCE 30 namespace OHOS