Home
last modified time | relevance | path

Searched refs:mSwipeHelper (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java106 private NotificationSwipeActionHelper mSwipeHelper; field in NotificationMenuRow
138 mSwipeHelper = helper; in setSwipeActionHelper()
305 if (mSwipeHelper.isDismissGesture(ev)) { in handleUpEvent()
315 mSwipeHelper.getMinDismissVelocity() <= Math.abs(velocity); in handleUpEvent()
317 mSwipeHelper.swipedFarEnough(mTranslation, mParent.getWidth()); in handleUpEvent()
330 + " minDismissVel= " + mSwipeHelper.getMinDismissVelocity() in handleUpEvent()
331 + " isDismissGesture= " + mSwipeHelper.isDismissGesture(ev) in handleUpEvent()
354 if (withinSnapMenuThreshold && !mSwipeHelper.isDismissGesture(ev)) { in handleUpEvent()
357 } else if (mSwipeHelper.isDismissGesture(ev) && !shouldSnapTo) { in handleUpEvent()
363 } else if (!mSwipeHelper.isFalseGesture(ev) in handleUpEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java106 SwipeHelper mSwipeHelper; field in TaskStackViewTouchHandler
122 mSwipeHelper = new SwipeHelper(SwipeHelper.X, this, context) { in TaskStackViewTouchHandler()
149 mSwipeHelper.setDisableHardwareLayers(true); in TaskStackViewTouchHandler()
170 mInterceptedBySwipeHelper = isSwipingEnabled() && mSwipeHelper.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
181 if (mInterceptedBySwipeHelper && mSwipeHelper.onTouchEvent(ev)) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java139 private NotificationSwipeHelper mSwipeHelper; field in NotificationStackScrollLayout
445 mSwipeHelper = new NotificationSwipeHelper(SwipeHelper.X, this, getContext()); in NotificationStackScrollLayout()
479 return mSwipeHelper; in getSwipeActionHelper()
511 mSwipeHelper.onMenuShown(row); in onMenuShown()
1479 mSwipeHelper.setDensityScale(densityScale);
1481 mSwipeHelper.setPagingTouchSlop(pagingTouchSlop);
1486 mSwipeHelper.dismissChild(child, 0, endRunnable, delay, true, duration,
1495 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft);
1531 horizontalSwipeWantsIt = mSwipeHelper.onTouchEvent(ev);
2701 swipeWantsIt = mSwipeHelper.onInterceptTouchEvent(ev);
[all …]