Home
last modified time | relevance | path

Searched refs:mTouchHandler (Results 1 – 12 of 12) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
H A DOneHandedTouchHandlerTest.java41 private OneHandedTouchHandler mTouchHandler; field in OneHandedTouchHandlerTest
52 mTouchHandler = new OneHandedTouchHandler(mSpiedTimeoutHandler, mMockShellMainExecutor); in setUp()
59 mTouchHandler.registerTouchEventListener(callback); in testRegisterTouchEventListener()
66 mTouchHandler.onOneHandedEnabled(false); in testOneHandedDisabled_shouldDisposeInputChannel()
68 assertThat(mTouchHandler.mInputMonitor).isNull(); in testOneHandedDisabled_shouldDisposeInputChannel()
69 assertThat(mTouchHandler.mInputEventReceiver).isNull(); in testOneHandedDisabled_shouldDisposeInputChannel()
75 mTouchHandler.onOneHandedEnabled(true); in testOneHandedEnabled_monitorInputChannel()
77 assertThat(mTouchHandler.mInputMonitor).isNotNull(); in testOneHandedEnabled_monitorInputChannel()
78 assertThat(mTouchHandler.mInputEventReceiver).isNotNull(); in testOneHandedEnabled_monitorInputChannel()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java110 private PipTouchHandler mTouchHandler; field in PipController
267 mTouchHandler.onAspectRatioChanged(); in onAspectRatioChanged()
327 mTouchHandler = pipTouchHandler; in PipController()
362 if (mTouchHandler != null) { in init()
455 mTouchHandler.onConfigurationChanged(); in onConfigurationChanged()
465 mTouchHandler.onOverlayChanged(); in onOverlayChanged()
542 mTouchHandler.showPictureInPictureMenu(); in showPictureInPictureMenu()
549 mTouchHandler.setTouchGesture(gesture); in setTouchGesture()
636 mTouchHandler.setTouchEnabled(false); in onPipTransitionStarted()
669 mTouchHandler.setTouchEnabled(true); in onPipTransitionFinishedOrCanceled()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java28 private PanelViewController.TouchHandler mTouchHandler; field in PanelView
54 mTouchHandler = touchHandler; in setOnTouchListener()
63 return mTouchHandler.onInterceptTouchEvent(event); in onInterceptTouchEvent()
H A DPanelViewController.java186 private final TouchHandler mTouchHandler; field in PanelViewController
231 mTouchHandler = createTouchHandler(); in PanelViewController()
244 mView.setOnTouchListener(mTouchHandler); in PanelViewController()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DMediaPickerPanel.java85 private TouchHandler mTouchHandler; field in MediaPickerPanel
102 mTouchHandler = new TouchHandler(); in onFinishInflate()
103 setOnTouchListener(mTouchHandler); in onFinishInflate()
104 mViewPager.setOnTouchListener(mTouchHandler); in onFinishInflate()
347 return mTouchHandler.onInterceptTouchEvent(ev) || super.onInterceptTouchEvent(ev); in onInterceptTouchEvent()
418 mTouchHandler.onTouch(MediaPickerPanel.this, ev); in onInterceptTouchEvent()
451 mTouchHandler.onTouch(MediaPickerPanel.this, ev); in onInterceptTouchEvent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DActivatableNotificationViewController.java42 private final TouchHandler mTouchHandler = new TouchHandler(); field in ActivatableNotificationViewController
86 mView.setOnTouchListener(mTouchHandler); in onInit()
87 mView.setTouchHandler(mTouchHandler); in onInit()
H A DActivatableNotificationView.java96 private Gefingerpoken mTouchHandler; field in ActivatableNotificationView
196 if (mTouchHandler != null && mTouchHandler.onInterceptTouchEvent(ev)) { in onInterceptTouchEvent()
757 mTouchHandler = touchHandler; in setTouchHandler()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsContainerView.java120 protected RecyclerViewFastScroller mTouchHandler; field in AllAppsContainerView
272 mTouchHandler = rv.getScrollbar(); in onInterceptTouchEvent()
274 mTouchHandler = null; in onInterceptTouchEvent()
277 if (mTouchHandler != null) { in onInterceptTouchEvent()
278 return mTouchHandler.handleTouchEvent(ev, mFastScrollerOffset); in onInterceptTouchEvent()
289 mTouchHandler = rv.getScrollbar(); in onTouchEvent()
291 mTouchHandler = null; in onTouchEvent()
295 if (mTouchHandler != null) { in onTouchEvent()
296 mTouchHandler.handleTouchEvent(ev, mFastScrollerOffset); in onTouchEvent()
H A DLauncherAllAppsContainerView.java51 mTouchHandler = null; in onInterceptTouchEvent()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedController.java96 private final OneHandedTouchHandler mTouchHandler; field in OneHandedController
252 mTouchHandler = touchHandler; in OneHandedController()
408 mTouchHandler.registerTouchEventListener(() -> in setupCallback()
410 mDisplayAreaOrganizer.registerTransitionCallback(mTouchHandler); in setupCallback()
585 mTouchHandler.onOneHandedEnabled(mIsOneHandedEnabled);
696 if (mTouchHandler != null) {
697 mTouchHandler.dump(pw);
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelViewControllerTest.java225 private PanelViewController.TouchHandler mTouchHandler; field in NotificationPanelViewControllerTest
367 mTouchHandler = invocation.getArgument(0); in setup()
908 mTouchHandler.onTouch(mView, ev); in onTouchEvent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java531 private NotificationStackScrollLayoutController.TouchHandler mTouchHandler; field in NotificationStackScrollLayout
3387 if (mTouchHandler != null && mTouchHandler.onTouchEvent(ev)) { in onTouchEvent()
3646 if (mTouchHandler != null && mTouchHandler.onInterceptTouchEvent(ev)) { in onInterceptTouchEvent()
5409 mTouchHandler = touchHandler; in setTouchHandler()