projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d2b2d
)
优化帧率操作
author
xue
<2144439972@qq.com>
Fri, 28 Nov 2025 05:47:19 +0000
(13:47 +0800)
committer
xue
<2144439972@qq.com>
Fri, 28 Nov 2025 05:47:19 +0000
(13:47 +0800)
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdDialogueView.cpp
patch
|
blob
|
history
code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp
patch
|
blob
|
history
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
396e626
..
84828de
100644
(file)
--- 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
c85fe0a
..
bfc88ec
100644
(file)
--- 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