* @Author: luozheng 1732036298@qq.com
* @Date: 2024-06-22 16:46:26
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-31 15:08:52
+ * @LastEditTime: 2024-09-06 18:02:48
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/aivoice/include/AivoiceThinkingView.h
*/
static constexpr const char *CANCEL_THINKING_BUTTON_VIEW_ID = "CancelThinkingButton"; // 思考中界面取消按钮
static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_X = 153;
- static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_Y = 120;
+ static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_Y = 136;
static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_W = 160;
static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_H = 160;
- static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 29; // 图片帧数
- static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_DELAY = 200; // 图片更新间隔
- static constexpr const char *AIVoiceThinkingImagePaths = "/user/res/AIVoice/AIVoiceThinking/Ai_Thinking_";
+ static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 40; // 图片帧数
+ static constexpr int16_t AIVOICE_THINKING_IMAGE_ANIMATOR_DELAY = 70; // 图片更新间隔
+ static constexpr const char *AIVoiceThinkingImagePaths = "/user/res/AIVoice/AIVoiceThinking/";
class AivoiceThinkingView
{
public:
* @Author: luozheng 1732036298@qq.com
* @Date: 2024-05-07 11:25:58
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-31 15:09:13
+ * @LastEditTime: 2024-09-06 18:04:16
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/AiVoice/src/AivoiceThinkingView.cpp
*/
#include "aivoice/include/AiVoicePresenter.h"
animatorView->SetPosition(imageanimatorconfig.x, imageanimatorconfig.y, imageanimatorconfig.width, imageanimatorconfig.height);
animatorView->SetImageAnimatorSrc(imageanimatorconfig.imageInfoArray, imageanimatorconfig.numFrames, imageanimatorconfig.delay);
animatorView->SetRepeat(true);
- animatorView->SetAutoEnable(false);
- animatorView->SetResizeMode(UIImageAnimatorView::FILL);
+ animatorView->SetSizeFixed(true);
+ // animatorView->SetAutoEnable(false);
+ // animatorView->SetResizeMode(UIImageAnimatorView::FILL);
animatorView->Start();
return animatorView;
isShutDownOperation = state;
shutDownImageAnimatorView->Start();
isShutDownImageAnimatorStart = true;
+ ScreenAlwaysOnCtr(OPEN_SCREEN_ALWAYS_ON);//关机动画已经开始了不能息屏
}
// 获取开机动画是否已经开始
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:5448288921ab4edf3de9f8100dbd82332e1007a04f55365417a48eab46e47733
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:a45556b9903a97c7125298a3df55db8030b0fd62a813ea5354b44a6707de5a12
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:ca55147a2db48d585b7636907c2b41556a1c241ad508731b02727e9ce3a081dc
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a53b3868245a90008005acbff053016a1c472ab6f98d7de15dd543df10f315e
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:f50b9d88d2d4ae5969aaa175db57a022f3985594f916d3c8cdcb46116373eb43
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:0107360157e035c99123050bc276918d481c8e263b07ac6240599201ace18b5a
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:8ec7003c65c306b77ed8fec5e6eb968590f3615aa04a2b532540b020fa208089
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:725967dcfe5e96b6978209ba4f4c492bccea8e75780ceef6c67faebb14537207
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:73a9f0344a3d99fefbfef7a19030cd29b9b0da6d43b98fcfd23693f2cfcaa77f
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:dd033039f01253ea570b49027346263aeab3996ba8115ad80c11e865296afd05
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:c025338d6df979f20f1f99052e34ac89d5dc3d5dd5e955de51fa62c6e315bcc4
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:995f40d3f1a32b555df0d5ded675e8c12087aea6d24e83226cc59fe98248976a
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:d41acc1abd02bf94872c95a5b157fb4213cc3fba647118346ee5e541db9c6ffd
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:db3c16521c806f57619bb6cf6bb47061f08e19467b6845ebaca2169a347d83e8
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:af7ba053570d40e88d15af4a3ea199d7016ad2030a780e460d4b689a3fbce6cc
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ca471f0bc9bbd0f469cda00c808bd1e654d4260f142eb43b46ba8deb5cce82a
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:89843bf05ac8f283c057bd87b39ca51d77466b3b42dde4bdba37aa44e19ce65d
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce5302e89a6d6e43f3bb22aa1f5a93c9fcd5cce37ee0f6a34feca8e0e6cff097
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:4e3755288fb83635e4665946e17d8b37444cc13e0baa32c4a19ad0356018bcfb
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:eaa8a73c0fb7941d3f5c53c4f6182b9e94fc7090c02549b51ec37ece043258b0
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:639e9c9f719fdb52bdae1e7cb30101e8a7e5358867b5105e0d7c1d649a816fe0
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:9fb8422347a1b582d28010be68902d666ac45588f50c2182e2fb38afe755bd0f
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:39bbac23be33291a65fcc866892a73658e3324a38da0e8c1f978e2793ac5ff37
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:e00c644360ae8ca81907c88e4984849660d6cd0eb6eef5cd5908bed6cffb2c2e
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:680e471fb3f08dd18319fd4305a5bb3be60a8b4158824bd28b8d11198c98e5a9
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:f3c9144c97fe6c05b55f6b700be6413ad93ec582b63826b8f04780ab87d4eaea
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:8636d7847451e17f5bcaf1926db80bf8d05fb1bb238e3618de41b1bd0748069f
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:9cd413b381782dc079136e4ad68bcdb3f25266cea90134151c10cf59e22461db
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ba2b361d09f47f48033ccd4da0b627e05087563c69f9b9d58c512f7368801ed
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:91822e3f6b3ff34cfe428e8fb3d1c981de481c7cdf0669c3b2f12cc986ad6468
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:bdff44bd31d20c61d0e5042772a8a9065f2168540c395d43b5e6423962ecc34d
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:003771224ca63b9283990ee0c1a556cecc1833ea930e84de231b3b5bfa9c1fa6
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:f9e3170259fe1f9649d9bfed2b667d3477d12c2e4f7c6f97433335b1a8e2d5cc
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:7752f788f373de30345a7e73bba190894f766f320f53222437e00460dc6bab2a
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:67e1595945e7339b17a03b16be2e0b484203c709b88c4a124435243369ca7899
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:25a90c4d990993eecae817e2022e6479124bba9fd7b7847a2557e822f2fe43f9
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:e7d5e23c9c560d387ae8f4f22d10a257248fa845e1b89a72514b5482eb5b117c
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:4256f4ef3e3197f1108cb6089ee6ea6be5391c6ec4c67d9a5762def1a97b87e0
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:98b09efad27e93a8fb2ecdf66e0b9d6f1ff943b6c4bd2c689ec5533448ebf0fc
+size 17304
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:9acf287e37fd33b7eab6ab7588d8190e2dc0d636eaa2015d88072a416be6799e
+size 17304
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:14d6cf8fbeecf0a35111b830053fafd80a9fe66071728401edb479b551f2ab1d
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:c16d58ec48b67eb99240c7d2a1fd0b09770eaae011c05671d1b1b0916f6a192c
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:0323f667dda9690b8e48cc8da86359141314ba57f90e22cc427806efd48a9c99
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:1ba59661c2d6a939ac785a826c4e9747efb06bea84a31bc4916c432ae9d83562
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:6cb490686998507f00a6f980f9cdf33a80212eca547346c9924ef5d00ad3de4c
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:754deb6d264a84f13aa655dd22b7f0030131a8738a3bed79affb0cd8911719ab
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:7b21c6bd275f47643a56426869837da73a62b34e845c32f9c92d2291a5e100a1
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:90767c9549c7ee8edfe1f7b17945a95bf077a93494d25c2edf660c8cc78a3ed5
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:b11221e0574d0fe43ef8593a35e77c637a32c8735b3e8c50e7cea135ca194bfa
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:32b655a351836a864879173503bdda4bd32452c0a458c0d836eac14e4526fecb
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:48d07db5bc8deb6f414cf2c9b76f9a8bd26f6d234a11a9e2761e7b89bec5977a
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:34e6509cd43d584a3f2ef9f497172cceb0eda651ae2cfa1cc79bfe1296728454
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:7a4b04745f294852ad6cf4703337d0954e907a50d40791c92d625b4c7e61e63c
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:fe38cdc0d9a082493d9e19356445e70366b7bc4a45ff0a9225a69c79b8df6b38
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:f841f40e39a2904faa47546a52f341795af77045c2684aaffa9d27c3056cdfeb
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:ac652e98736a69e8f92a540ee662d4ee83f5947f7074fc0df73cf0035acd680f
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:9b7e555f1f737288f8237f2e7c5ab97a6db31981b8318d80d0571652ca37aa4d
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:f3a739d70dd7013e1147cb878cb831e449f6f19dff84fd51e4c8c9fba4e229ed
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:6cf1933121ac6f854840240e46e260f773c8139bc61007b835e15ceedbb734cc
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:1f474fa8a88687f9876d6d01d2c052c3c2c436b737461789247063ef209ae41b
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:54131df27e631a54c5063a9d86f8bdfce3d902bf955c1a5fac1a283f18a4330c
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:01be5f743eabacdf5b175154bd7d6d9c42f9bf2cb7da8cccf9f98c318371fc77
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:4001d19087061e82e3ca0f45ba29ec14d576ee531a30a9e2f8aacb94dba67bec
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:fc656d102a75ffd3d4698cf516ec5b2a1e827d8c9270b1a2275c86acbb0ed917
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:712650a3e3ce3f5cfe325282c6813e3aef81a90fd69605883746de02f63e4f04
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:ebcbb6581eaff40f7bcd72c14c204631a8c3f3b9fe9cbbe31d0ba53bc8f8cf96
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:dbf660b9e8a0ea265285d16a9f69d42b8adf3a4477c047e44439955d843575a1
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:b145b87dd060cfdf7c470a1fa2b23f4486aa2ac294d9d6da3f60d3f4344d4d53
-size 3016
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:a73320662cc00b7ea0065e43e80e05c6104a428baf0455791a6ad4316cbc5da8
-size 3016