return false;
}
+ if (IsTouchPressOnScroll())
+ {
+ return false;
+ }
+
ClearLastStateChangedInfo();
StopTextSlideTimer();
return false;
}
+ if (IsTouchPressOnScroll())
+ {
+ SetTouchPressOnScroll(false);
+ return false;
+ }
+
FloatPoint pos = touchinfo.GetCurrentPosition();
__prevTouchPos.SetPosition(pos.x, pos.y);
FloatPoint pos = touchinfo.GetCurrentPosition();
__prevTouchPos.SetPosition(pos.x, pos.y);
+ if (IsTouchPressOnScroll())
+ {
+ SetTouchPressOnScroll(false);
+ }
+
if (__touchPressed)
{
ClearLastStateChangedInfo();
, __isTabSoundPlayed(false)
, __isSelectedDetailButton(false)
, __isSimpleLastItem(false)
+ , __isTouchPressOnScroll(false)
, __pHighlightVisualElement(null)
, __pBitmapVisualElement(null)
, __pMoveItemAnimation(null)
return true;
}
+ if (IsTouchPressOnScroll())
+ {
+ return true;
+ }
+
__annexOnOffHandlerMoved = false;
__touchStartPosition = touchinfo.GetCurrentPosition();
bool
_TableViewItem::OnTouchReleased(const _Control& source, const _TouchInfo& touchinfo)
{
- if(IsReorderMode())
+ if (IsReorderMode())
+ {
+ return true;
+ }
+
+ if (IsTouchPressOnScroll())
{
+ SetTouchPressOnScroll(false);
return true;
}
return false;
}
+ if (IsTouchPressOnScroll())
+ {
+ SetTouchPressOnScroll(false);
+ }
+
if (__isPressedTimerEnabled)
{
StopTouchPressedTimer();
_UiTouchEventDelivery
_TableViewItem::OnPreviewTouchPressed(const _Control& source, const _TouchInfo& touchinfo)
{
-
+ if (IsTouchPressOnScroll())
+ {
+ SetTouchPressOnScroll(false);
+ return _UI_TOUCH_EVENT_DELIVERY_NO;
+ }
return _UI_TOUCH_EVENT_DELIVERY_FORCED_YES;
}
{
__isSimpleLastItem = enable;
}
+
+void
+_TableViewItem::SetTouchPressOnScroll(bool isTouch)
+{
+ __isTouchPressOnScroll = isTouch;
+}
+
+bool
+_TableViewItem::IsTouchPressOnScroll(void) const
+{
+ return __isTouchPressOnScroll;
+}
+
}}} // Tizen::Ui::Controls
void FireItemTouchReleased(void);
void FireItemTouchPressed(void);
void SetSimpleLastItemEnabled(bool enable);
+ void SetTouchPressOnScroll(bool isTouch);
+ bool IsTouchPressOnScroll(void) const;
// Accessibility
virtual void SetAccessibilityElement(void);
bool __isTabSoundPlayed;
bool __isSelectedDetailButton;
bool __isSimpleLastItem;
+ bool __isTouchPressOnScroll;
Tizen::Ui::Animations::_VisualElement* __pHighlightVisualElement;
Tizen::Ui::Animations::_VisualElement* __pBitmapVisualElement;