if (GetBodyBounds().Contains(touchinfo.GetCurrentPosition()) == false)
{
__isFlickEnabled = false;
- return false;
+ return true;
}
if (__isFlickInProgress)
return false;
}
+ if (GetBodyBounds().Contains(touchinfo.GetCurrentPosition()) == false && !__isFlickInProgress && !__isTouchMoved)
+ {
+ __isTouchMoved = false;
+ PLAY_FEEDBACK(_RESOURCE_FEEDBACK_PATTERN_TAP);
+ __pDateTimeBar->SetVisibleState(false);
+ __pDateTimeBar->Close();
+ ResetFlickAnimationTimer();
+ return true;
+ }
+
int index = GetItemIndexFromPosition(touchinfo.GetCurrentPosition());
bool isEventFire = true;
__isTouchMoved = false;
__distance = 0.0f;
- if (GetBodyBounds().Contains(touchinfo.GetCurrentPosition()) == false && !__isFlickInProgress)
- {
- PLAY_FEEDBACK(_RESOURCE_FEEDBACK_PATTERN_TAP);
- __pDateTimeBar->SetVisibleState(false);
- __pDateTimeBar->Close();
- ResetFlickAnimationTimer();
- return false;
- }
-
__pDateTimeBar->Invalidate();
if (isEventFire == true)
if (GetBodyBounds().Contains(touchinfo.GetCurrentPosition()) == false || __touchMoveHandled == true)
{
- return false;
+ return true;
}
_ControlOrientation orientation = _ControlManager::GetInstance()->GetOrientation();