void
_Indicator::OnVisualElementAnimationFinished(const Tizen::Ui::Animations::VisualElementAnimation& animation, const Tizen::Base::String& keyName, Tizen::Ui::Animations::VisualElement& target, bool completedNormally)
{
+ const FloatDimension portraitSize = _ControlManager::GetInstance()->_ControlManager::GetScreenSizeF();
+ const FloatDimension landscapeSize = FloatDimension(portraitSize.height, portraitSize.width);
+
String* pUserData = (String*) animation.GetUserData();
if ((pUserData != null) && (*pUserData == String(L"UpAnimation")))
int indicatorHeight = 0;
GET_SHAPE_CONFIG(FORM::INDICATOR_HEIGHT, __pWindow->GetOrientation(), indicatorHeight);
- SetBounds(FloatRectangle(0.0f, 0.0f, GetIndicatorBoundsF().width, indicatorHeight));
if (__orientation == _CONTROL_ORIENTATION_PORTRAIT)
{
__pPortraitVisualElement->SetShowState(false);
}
}
+ SetBounds(FloatRectangle(0.0f, 0.0f, portraitSize.width, indicatorHeight));
}
else
{
__pLandscapeVisualElement->SetShowState(false);
}
}
+ SetBounds(FloatRectangle(0.0f, 0.0f, landscapeSize.width, indicatorHeight));
}
delete pUserData;
}