Merge #1885 into sdk602patch0911 from refs/changes/1885/head
author罗正 <1732036298@qq.com>
Wed, 25 Jun 2025 03:37:10 +0000 (03:37 +0000)
committer袁清梦 <3449750381@qq.com>
Wed, 25 Jun 2025 03:37:10 +0000 (03:37 +0000)
Code review from 罗正

* refs/changes/1885/head: (7 commits squashed)

  - 情绪测量界面slice添加,数据交互逻辑待添加

  - Merge branch &#39;sdk602patch0911&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk602patch0911

  - applist添加情绪测测量

  - applist文件提交

  - Merge branch &#39;sdk602patch0911&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk602patch0911

  - AI界面优化

  - Merge branch &#39;sdk602patch0911&#39; of https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230 into sdk602patch0911

Signed-off-by: 罗正 <1732036298@qq.com>
Reviewed-by: Caisking <3449750381@qq.com>
Reviewed-by: 罗正 <1732036298@qq.com>
Reviewed-by: aliyun8003852482 <1224667075@qq.com>
Reviewed-by: snickersun@163.com <accounts_62b90f7fcf51ade33b6f628e@mail.teambition.com>
Reviewed-by: aliyun6865282430 <1624952103@qq.com>
Reviewed-by: 薛文强 <accounts_67aaf52ad497cd558d73ac32@mail.teambition.com>
Merged-by: Caisking <3449750381@qq.com>
link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/1885
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceBluetoothFailedStartView.cpp
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AiVoiceView.cpp
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AivoiceConnectTimeoutView.cpp
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AivoiceMobileDataFailedStartView.cpp
code/sdk/application/wearable/fd230app/nativeui/aivoice/src/AivoiceReturnResultTextView.cpp

index 42f9829..d0a36eb 100644 (file)
@@ -90,9 +90,9 @@ namespace OHOS
         label->SetStyle(STYLE_TEXT_FONT, labelconfig.fontSize);
         label->SetStyle(STYLE_LINE_HEIGHT, labelconfig.lineHeigh);
         //TOOD: 待优化
-        if(labelconfig.textId == STR_DEEPSEEK) {
-            label->SetText("DeepSeek");
-        } else
+        // if(labelconfig.textId == STR_DEEPSEEK) {
+        //     label->SetText("DeepSeek");
+        // } else
             label->SetTextId(labelconfig.textId);
         label->SetLineBreakMode(labelconfig.lineBreakMode);
         label->SetRollSpeed(23);
@@ -278,15 +278,15 @@ namespace OHOS
     {
         if (title)
         {
-            if(textId == STR_DEEPSEEK) 
-            {
-                title->SetText("DeepSeek");
-            } 
-            else 
-            {
+            // if(textId == STR_DEEPSEEK) 
+            // {
+            //     title->SetText("DeepSeek");
+            // } 
+            // else 
+            // {
             title->SetTextId(textId);
             title->ForceResetText();
-            }
+            // }
         }
     }
 
index f7aa2a0..7792bcc 100644 (file)
@@ -168,12 +168,12 @@ namespace OHOS
         label->SetPosition(labelconfig.left, labelconfig.top, labelconfig.width, labelconfig.height);
         label->SetStyle(STYLE_TEXT_FONT, labelconfig.fontSize);
         label->SetStyle(STYLE_LINE_HEIGHT, labelconfig.lineHeigh);
-        // TOOD: 待优化
-        if (labelconfig.textId == STR_DEEPSEEK)
-        {
-            label->SetText("DeepSeek");
-        }
-        else
+        // // TOOD: 待优化
+        // if (labelconfig.textId == STR_DEEPSEEK)
+        // {
+        //     label->SetText("DeepSeek");
+        // }
+        // else
             label->SetTextId(labelconfig.textId);
         label->SetLineBreakMode(labelconfig.lineBreakMode);
         label->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER);
@@ -1029,15 +1029,15 @@ namespace OHOS
         int textId = AiVoiceModel::GetInstance().GetAiModelTextId();
         if (title)
         {
-            if (textId == STR_DEEPSEEK)
-            {
-                title->SetText("DeepSeek");
-            }
-            else
-            {
+            // if (textId == STR_DEEPSEEK)
+            // {
+            //     title->SetText("DeepSeek");
+            // }
+            // else
+            // {
                 title->SetTextId(textId);
                 title->ForceResetText();
-            }
+            // }
         }
         if (aiModelImage)
         {
index babb779..f831ec6 100644 (file)
@@ -82,9 +82,9 @@ namespace OHOS
         label->SetStyle(STYLE_TEXT_FONT, labelconfig.fontSize);
         label->SetStyle(STYLE_LINE_HEIGHT, labelconfig.lineHeigh);
         //TOOD: 待优化
-        if(labelconfig.textId == STR_DEEPSEEK) {
-            label->SetText("DeepSeek");
-        } else
+        // if(labelconfig.textId == STR_DEEPSEEK) {
+        //     label->SetText("DeepSeek");
+        // } else
             label->SetTextId(labelconfig.textId);
         label->SetLineBreakMode(labelconfig.lineBreakMode);
         label->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER);
@@ -269,15 +269,15 @@ namespace OHOS
     {
         if (title)
         {
-            if(textId == STR_DEEPSEEK) 
-            {
-                title->SetText("DeepSeek");
-            } 
-            else 
-            {
+            // if(textId == STR_DEEPSEEK) 
+            // {
+            //     title->SetText("DeepSeek");
+            // } 
+            // else 
+            // {
             title->SetTextId(textId);
             title->ForceResetText();
-            }
+            // }
         }
     }
 
index 554cab8..100c7f7 100644 (file)
@@ -90,9 +90,9 @@ namespace OHOS
         label->SetStyle(STYLE_TEXT_FONT, labelconfig.fontSize);
         label->SetStyle(STYLE_LINE_HEIGHT, labelconfig.lineHeigh);
         //TOOD: 待优化
-        if(labelconfig.textId == STR_DEEPSEEK) {
-            label->SetText("DeepSeek");
-        } else
+        // if(labelconfig.textId == STR_DEEPSEEK) {
+        //     label->SetText("DeepSeek");
+        // } else
             label->SetTextId(labelconfig.textId);
         label->SetLineBreakMode(labelconfig.lineBreakMode);
         label->SetRollSpeed(23);
@@ -279,15 +279,15 @@ namespace OHOS
     {
         if (title)
         {
-            if(textId == STR_DEEPSEEK) 
-            {
-                title->SetText("DeepSeek");
-            } 
-            else 
-            {
+            // if(textId == STR_DEEPSEEK) 
+            // {
+            //     title->SetText("DeepSeek");
+            // } 
+            // else 
+            // {
             title->SetTextId(textId);
             title->ForceResetText();
-            }
+            // }
         }
     }
 }
\ No newline at end of file
index 0d5611b..6f01410 100644 (file)
@@ -127,9 +127,9 @@ namespace OHOS
         label->SetStyle(STYLE_TEXT_FONT, labelconfig.fontSize);
         label->SetStyle(STYLE_LINE_HEIGHT, labelconfig.lineHeight);
         //TOOD: 待优化
-        if(labelconfig.textId == STR_DEEPSEEK) {
-            label->SetText("DeepSeek");
-        } else
+        // if(labelconfig.textId == STR_DEEPSEEK) {
+        //     label->SetText("DeepSeek");
+        // } else
             label->SetTextId(labelconfig.textId);
         label->SetLineBreakMode(labelconfig.lineBreakMode);
         label->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER);
@@ -353,15 +353,15 @@ namespace OHOS
     {
         if (title)
         {
-            if(textId == STR_DEEPSEEK) 
-            {
-                title->SetText("DeepSeek");
-            } 
-            else 
-            {
+            // if(textId == STR_DEEPSEEK)
+            // {
+            //     title->SetText("DeepSeek");
+            // } 
+            // else 
+            // {
             title->SetTextId(textId);
             title->ForceResetText();
-            }
+            // }
         }
     }