* @Author: luozheng 1732036298@qq.com
* @Date: 2024-06-22 16:46:26
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-31 14:56:06
+ * @LastEditTime: 2024-09-06 17:37:55
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/aivoice/include/AivoiceListeningView.h
*/
static constexpr const char *FINISH_SPEAKING_BUTTON_VIEW_ID = "FinishSpeakingButton"; // 聆听中界面说话完毕按钮
static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_X = 113;
- static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_Y = 182;
+ static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_Y = 178;
static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_W = 240;
static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_H = 60;
- static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 20; // 图片帧数
- static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_DELAY = 150; // 图片更新间隔
- static constexpr char *AIVoiceListeningImagePaths = "/user/res/AIVoice/AIVoiceListening/Ai_Listening_";
+ static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_VIEW_NUM_FRAMES = 40; // 图片帧数
+ static constexpr int16_t AIVOICE_LISTENING_IMAGE_ANIMATOR_DELAY = 70; // 图片更新间隔
+ static constexpr char *AIVoiceListeningImagePaths = "/user/res/AIVoice/AIVoiceListening/";
class AivoiceListeningView
{
public:
* @Author: luozheng 1732036298@qq.com
* @Date: 2024-05-07 11:25:58
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-31 15:12:44
+ * @LastEditTime: 2024-09-06 17:17:03
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/AiVoice/src/AivoiceListeningView.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;
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:fae1922388b2c69c904ea7de6edb018b7becc6cc92c154b759aa34f51f13af4a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9982f1f9a144e17962ffae7fe19bbae5444a41d90b1585fb727efac6e10ef65
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a33756821767ad8eb9154124d540d2ea238d6db0abd97675ac845e98c7dc489
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:51bcd364e252bba65aafca55662552d59ef9cdcd48a27c64bd51433baf92909a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:9939a9f512d74a6d0ee2be72ca8fa381010d56b2de718e021cfae521ce120fca
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:f943927b74de718995dd9e563964726c62226bc56ab795b0764d4731d63875e6
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:80b30f3e28d784fa873df9f390105fcb8a4a9efd8c79b9d3ba3c915a0fb6afd3
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e7c3f1c8c52751905696f82bbd4bd4fd5e03c3da356b9aabc8125cd7ed19534
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1fb655fd2ac2940bdd80f859e815d2a0652ca12fdd0011383c22e6edc3ba41a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:82a5581823d9c99957937a9ebc201f4a540935bb43745b1bf7c62880c0db550a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:22e45633b64829bee9476c9ef2e1d231fd1fe0be08cec79b65e6b665c7a68b7f
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa189f5a95a2c31cdd56b2030a5d28ab8fe22425dfe1f9ad0b1da2027935ddcc
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:acba5aa50f627a73716f7176f942935f7e45d79482291fdbbb30da80eabd4ba8
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:892a407a442ad2c94e30fba48e07984b5fa5014672cf329fb170823d364b699a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:aee18207ce5940a5a75e5d67b747d2b8fc2e0b138dda9c4b6e8cd9385f489221
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:b93569f4d11dec794bbd733c7c6b2b30c94b2eafe89bd3ca7040b0725d48d662
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:5ae9da092fa5fd89202187bf7421e626aadb64aab41aacf24c939029339259bd
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:38d1af110d414a175820d37bb43f06958634a3dc4479ac971f827aab86f9af34
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:026b419b5ef065ceb772b906b1086230ff6576e6e23fea885539f492d39a5706
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:4736fec47e478a6766a91a648c4ade4583ecddefa65d5e5fbff2aa8c9defcad3
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:950a87260cdf6b7d9ba919595c0eb2c0908ec7bdd5e54f97722ca5978bb2eb61
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:72e621b0c3c3050aa0f0de97f8b4c7d0deb64f65b6e9c24fc800c88b62bee8fa
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:752c3db485223259d0dec5927246f8545ec857970afd5f769ce6261adcbc733a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:4becd35cb21820f8092b2086e2acbc687b4dface5ffaa65adecb812e9cdc76df
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:23260725b639c0b2e5b92a3b4dd1a014df272758cd874cbda1c1af0150681e6f
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:f4e3bc468057a7fff22d44892b87c5fbc7d81e90a2bdfc96bb6f2f81b3f9c477
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c7551746830673c3e4b90373452006082b86c1a6cc57a544c683b8128b25dea
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:51f9761644e6c6be09dcb475b63468b4aa49e56a13e62b398fdf3f335a647f2d
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:4331d3ead281945b17629c2c9d65f40e5f632a1f89afef49a2a753d1c31f63cd
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:6cb0432a17f0f04ab13d6648ad1e5f801459a8ec976078e80e4c0de2e2e8638a
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:27081e109345669c36265cce70096ba42ce142329e3edea1e3b8aefdb1b6bcac
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:5cc77c31112e48eb130aab1fa9c2146e0b92a4d4be9dfaa2cc08dee08fef0ab0
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ec6eb496ca7947687f6deb3db5bcc601e728c5a32d9409d95c0be233cf9a900
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:7498367afd33c7b5f2194da0ce9e6701a276bac4ec5b575d58335b37006303b0
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:86c726436b6f790d1bae3fcf8fd074e9fa40d8b64bac4c55ccae2cba9a5a9fad
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:d886ef0c4530710b20886ac7e6811e3668bb60a4b534b69d7b991cecc35dbdeb
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:24b9fc6b436e13f40740bb1eaf4d900c4961533acd6c98edd7538ba6408468b6
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5c5f01cd217a650edadc8b35a8bfe028e7b33206ca7d0c5b7ef9854d5ce193d
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:37b4d4c850dd9e7cc53f5f7cd276a97fa0b6077ab25db733ee4979e6a19052fa
+size 9624
--- /dev/null
+version https://git-lfs.github.com/spec/v1
+oid sha256:41524c7b4a7b60795039aefee982fa83fd26c99ed68a28a20ab63223c8945967
+size 9624
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:60f5f967ae239a0bc79113e86c21174c3cfee1ca1ec68f0eb810340a2817e4e7
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:9025ed7a813dc9d52a53e4603b103f2642dd4a698cb92d09fa15574c0d471cb4
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:dab8b1368f70a87eb4b1c74e35b76ec0135f39c476d9b9f9065a1d21cf721a33
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:55cc3ac3d4fc8d879b4b728d74fdd3c0a01000a7270c225f9150834db8b3d8b9
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:d893daaceb55ab00827506ac94e85120baa96f9cc0234dee50309217b9317e81
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:63c2392c12f976943dfaeab521520c803e7d4ca497e6885d074b39d5fcb4f15e
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:efd97a61466e116c8ef43a7dcef507ff331a08d5c4445aa8f1bf9ec8f87ef7ae
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:eb9f31a34145a42bbdec1e349b5bcefa9d7f4411f09f5d19e7d6ac13cc8525a6
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:d5e5934627dc73f80f3dbee84edeaab7963ec9e4d9bada606b24a03840542ad8
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:cb8be16fae0dff99ec5ca21761d1dc6992fa19af92469664dab93cae6e4aee34
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:02b75c43a76f184ca9e0ecefcf50e24520d301185d2880e26c681a51ba31eead
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:54a003553b6edf8ece7202e3fa551a03a37bcd0dd88e84b2152a3ad3b6e549c6
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:926e23232177b8b4a99a3bebaf850f7b1ac9ff2d444a60879e100ff598f303ca
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:f41f7f219f95d69bede446830a544aaecff2b28d9c4eaf39a0ca5fa5831ef0bf
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:8af5a5f7ba0c1d6a5aaea08c0f082a574bcb96cc54312a6f96e4cfc762691091
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:34b6f38611695eb90ec6d2135a7000b27c94961b1c0042ca1cfc2891c7410f63
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:544413cf24c02a5f6ac1aee8b153154b3e7988d56b54c831189d7edd1cc41a2a
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:c9c9c4f2ec1e1b074ebf2eb291233f97c6be30df7569e8478a71a14cd5b59c32
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:54d7039fc3f0e92eb97de9098a425e6f043dc48ba1e6f462bd6b979eb23b2038
-size 1144
+++ /dev/null
-version https://git-lfs.github.com/spec/v1
-oid sha256:6e5bbe8140adda885479b6778c37e50ebe8c7be8366010e00953d440e2e2e8d1
-size 1144