{
case THUNDERBIRD_LULLABYVIEW_1:
{
- listenAnimator->Stop();
+ // listenAnimator->Stop();
if (TextLabel)
{
TextLabel->SetPosition(43, 64, 280, 42);
}
case THUNDERBIRD_LULLABYVIEW_2:
{
- listenAnimator->Stop();
+ // listenAnimator->Stop();
ThunderBirdMainView::GetInstance()->OpenBackGround();
if (TextLabel)
{
}
case THUNDERBIRD_LULLABYVIEW_4:
{
- listenAnimator->Stop();
+ if(listenAnimator)
+ {
+ listenAnimator->Stop();
+ }
ThunderBirdModel::GetInstance()->LowFrequence();//减低视频帧率
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdLullabyView::Show: THUNDERBIRD_LULLABYVIEW_4");
}
case THUNDERBIRD_LULLABYVIEW_5:
{
- listenAnimator->Stop();
+ // listenAnimator->Stop();
ThunderBirdMainView::GetInstance()->OpenBackGround();
// 进入VIEW_5之前,保存当前VIEW_4的文本(如果不是默认文本)
if (TextLabel) {
void ThunderBirdMainView::OpenBackGround(void)//打开遮罩
{
- iconView->SetVisible(true);
- backGroundView->SetVisible(true);
+ if(iconView->IsVisible() == false)
+ {
+ iconView->SetVisible(true);
+ }
+ if(backGroundView->IsVisible() == false)
+ {
+ backGroundView->SetVisible(true);
+ backGroundView->Invalidate();
+ }
}
void ThunderBirdMainView::InvalidateGroup1(bool state)//黄色背景刷新
{