Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java63 private NotificationSwipeHelper mSwipeHelper; field in NotificationSwipeHelperTest
79mSwipeHelper = spy(new NotificationSwipeHelper(SwipeHelper.X, mCallback, mContext, mListener)); in setUp()
91 mSwipeHelper.getExposedMenuView()); in testSetExposedMenuView()
92 mSwipeHelper.setExposedMenuView(mView); in testSetExposedMenuView()
94 mView, mSwipeHelper.getExposedMenuView()); in testSetExposedMenuView()
95 mSwipeHelper.setExposedMenuView(null); in testSetExposedMenuView()
97 null, mSwipeHelper.getExposedMenuView()); in testSetExposedMenuView()
102 doNothing().when(mSwipeHelper).setExposedMenuView(mView); in testClearExposedMenuView()
103 mSwipeHelper.clearExposedMenuView(); in testClearExposedMenuView()
104 verify(mSwipeHelper, times(1)).setExposedMenuView(null); in testClearExposedMenuView()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/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/notification/stack/
DNotificationStackScrollLayout.java186 private final NotificationSwipeHelper mSwipeHelper; field in NotificationStackScrollLayout
555 mSwipeHelper = new NotificationSwipeHelper(SwipeHelper.X, mNotificationCallback, in NotificationStackScrollLayout()
750 return mSwipeHelper;
1712 mSwipeHelper.setDensityScale(densityScale);
1714 mSwipeHelper.setPagingTouchSlop(pagingTouchSlop);
1720 mSwipeHelper.dismissChild(child, 0, endRunnable, delay, true, duration,
1731 mSwipeHelper.snapChildIfNeeded(child, animate, targetLeft);
2883 if (child == mSwipeHelper.getTranslatingParentView()) {
2884 mSwipeHelper.clearTranslatingParentView();
3657 horizontalSwipeWantsIt = mSwipeHelper.onTouchEvent(ev);
[all …]