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.java102 private NotificationSwipeActionHelper mSwipeHelper; field in NotificationMenuRow
123 mSwipeHelper = helper; in setSwipeActionHelper()
278 if (mSwipeHelper.isDismissGesture(ev)) { in handleUpEvent()
288 mSwipeHelper.getMinDismissVelocity() <= Math.abs(velocity); in handleUpEvent()
290 mSwipeHelper.swipedFarEnough(mTranslation, mParent.getWidth()); in handleUpEvent()
303 + " minDismissVel= " + mSwipeHelper.getMinDismissVelocity() in handleUpEvent()
304 + " isDismissGesture= " + mSwipeHelper.isDismissGesture(ev) in handleUpEvent()
327 if (withinSnapMenuThreshold && !mSwipeHelper.isDismissGesture(ev)) { in handleUpEvent()
330 } else if (mSwipeHelper.isDismissGesture(ev) && !shouldSnapTo) { in handleUpEvent()
336 } else if (!mSwipeHelper.isFalseGesture(ev) in handleUpEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java107 SwipeHelper mSwipeHelper; field in TaskStackViewTouchHandler
123 mSwipeHelper = new SwipeHelper(SwipeHelper.X, this, context) { in TaskStackViewTouchHandler()
150 mSwipeHelper.setDisableHardwareLayers(true); in TaskStackViewTouchHandler()
171 mInterceptedBySwipeHelper = isSwipingEnabled() && mSwipeHelper.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
182 if (mInterceptedBySwipeHelper && mSwipeHelper.onTouchEvent(ev)) { in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java118 private NotificationSwipeHelper mSwipeHelper; field in NotificationStackScrollLayout
399 mSwipeHelper = new NotificationSwipeHelper(SwipeHelper.X, this, getContext()); in NotificationStackScrollLayout()
400 mSwipeHelper.setLongPressListener(mLongPressListener); in NotificationStackScrollLayout()
417 return mSwipeHelper; in getSwipeActionHelper()
449 mSwipeHelper.onMenuShown(row); in onMenuShown()
875 mSwipeHelper.setLongPressListener(listener); in setLongPressListener()
1269 mSwipeHelper.setDensityScale(densityScale); in onConfigurationChanged()
1271 mSwipeHelper.setPagingTouchSlop(pagingTouchSlop); in onConfigurationChanged()
1276 mSwipeHelper.dismissChild(child, 0, endRunnable, delay, true, duration, in dismissViewAnimated()
1284 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft); in snapViewIfNeeded()
[all …]