namespace OHOS
{
- static constexpr int16_t TB_SPEAK_ANIM_X = 141;
+ // static constexpr int16_t TB_SPEAK_ANIM_X = 141;
+ // static constexpr int16_t TB_SPEAK_ANIM_Y = 112;
+ // static constexpr int16_t TB_SPEAK_ANIM_W = 78;
+ // static constexpr int16_t TB_SPEAK_ANIM_H = 24;
+ static constexpr int16_t TB_SPEAK_ANIM_X = 161;
static constexpr int16_t TB_SPEAK_ANIM_Y = 112;
- static constexpr int16_t TB_SPEAK_ANIM_W = 78;
- static constexpr int16_t TB_SPEAK_ANIM_H = 24;
+ static constexpr int16_t TB_SPEAK_ANIM_W = 58;
+ static constexpr int16_t TB_SPEAK_ANIM_H = 18;
static constexpr int16_t TB_SPEAK_ANIM_FRAMES = 25;
static constexpr int16_t TB_SPEAK_ANIM_INTERVAL = 41;
static constexpr const char *TB_SPEAK_ANIM_PATH = "/user/res/animated_icon/speak/";
{
if (TextLabel)
{
+ TextLabel->SetPosition(0, 64, 360, 42);
TextLabel->SetVisible(true);
}
if (TextLabel_Y)
{
+ TextLabel_Y->SetPosition(2, 66, 360, 42);
TextLabel_Y->SetVisible(true);
}
if(ThunderBirdModel::GetInstance()->IsTextEmpty() == true)
}
// 创建新播放器并启动
- videoPlay_ = new MediaVideoPlay(surface, nullptr, std::string(uri), false);
+ videoPlay_ = new MediaVideoPlay(surface, nullptr, std::string(uri), true);
if (videoPlay_ == nullptr)
{
return false;
if (videoPlay_ == nullptr)
{
std::string uri("/user/video/CloseEyes/RoundEyes/amber.mp4");
- videoPlay_ = new MediaVideoPlay(surface, nullptr, uri, false);
+ videoPlay_ = new MediaVideoPlay(surface, nullptr, uri, true);
if (videoPlay_ == nullptr)
{
GRAPHIC_LOGE("videoPlay_ is nullptr\n");