Home
last modified time | relevance | path

Searched refs:mDetector (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
H A DSingleAxisSwipeDetectorTest.java60 private SingleAxisSwipeDetector mDetector; field in SingleAxisSwipeDetectorTest
79 mDetector = new SingleAxisSwipeDetector(mContext, in setup()
81 mDetector.setDetectableScrollConditions(DIRECTION_BOTH, false); in setup()
90 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_verticalPositive()
101 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_verticalNegative()
120 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_horizontalPositive()
132 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_horizontalNegative()
144 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_horizontalRtlPositive()
156 mDetector = new SingleAxisSwipeDetector(mContext, in testDragStart_horizontalRtlNegative()
188 mDetector.finishedScrolling(); in testInterleavedSetState()
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
H A DSingleKeyGestureTests.java51 private SingleKeyGestureDetector mDetector; field in SingleKeyGestureTests
72 mDetector = new SingleKeyGestureDetector(); in setUp()
81 mDetector.addRule(new SingleKeyGestureDetector.SingleKeyRule(mContext, KEYCODE_POWER, in initSingleKeyGestureRules()
89 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForPress) { in initSingleKeyGestureRules()
97 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForLongPress) { in initSingleKeyGestureRules()
110 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForPress) { in initSingleKeyGestureRules()
126 mDetector.interceptKey(keyDown, interactive); in pressKey()
139 mDetector.interceptKey(keyUp, interactive); in pressKey()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/
H A DAbstractStateChangeTouchController.java53 protected final SingleAxisSwipeDetector mDetector; field in AbstractStateChangeTouchController
79 mDetector = new SingleAxisSwipeDetector(l, this, dir); in AbstractStateChangeTouchController()
108 mDetector.setDetectableScrollConditions( in onControllerInterceptTouchEvent()
117 return mDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent()
134 return mDetector.onTouchEvent(ev); in onControllerTouchEvent()
188 reinitCurrentAnimation(false, mDetector.wasInitialTouchPositive()); in onDragStart()
271 boolean fling = mDetector.isFling(velocity); in onDragEnd()
390 mDetector.finishedScrolling(); in clearState()
391 mDetector.setDetectableScrollConditions(0, false); in clearState()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
H A DTaskViewTouchController.java67 private final SingleAxisSwipeDetector mDetector; field in TaskViewTouchController
95 mDetector = new SingleAxisSwipeDetector(activity, this, dir); in TaskViewTouchController()
194 mDetector.setDetectableScrollConditions( in onControllerInterceptTouchEvent()
203 return mDetector.isDraggingOrSettling(); in onControllerInterceptTouchEvent()
208 return mDetector.onTouchEvent(ev); in onControllerTouchEvent()
318 mDetector.onTouchEvent(upAction); in onDrag()
340 boolean fling = mDetector.isFling(velocity); in onDragEnd()
378 mDetector.finishedScrolling(); in clearState()
379 mDetector.setDetectableScrollConditions(0, false); in clearState()
H A DNoButtonNavbarToOverviewTouchController.java191 if (mReachedOverview && !mDetector.isDraggingState()) { in maybeSwipeInteractionToOverviewComplete()
267 mDetector.setTouchSlopMultiplier(ONE_HANDED_ACTIVATED_SLOP_MULTIPLIER); in onOneHandedModeStateChanged()
270 mDetector.setTouchSlopMultiplier(1f /* default */); in onOneHandedModeStateChanged()
H A DTwoButtonNavbarTouchController.java153 mDetector.onTouchEvent(event); in updateProgress()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DSwapButton.java36 private GestureDetector mDetector; field in SwapButton
43 mDetector = new GestureDetector(context, this); in SwapButton()
55 if (!mDetector.onTouchEvent(me)) { in onTouchEvent()
/aosp12/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java70 private ScaleGestureDetector mDetector; field in TransformTestActivity.TransformView
128 mDetector = new ScaleGestureDetector(context, new Listener()); in TransformView()
147 mDetector.onTouchEvent(event); in onTouchEvent()
150 if (!mDetector.isInProgress()) { in onTouchEvent()
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DHidRawSensorDaemon.cpp40 mDetector = new FileConnectionDetector( in HidRawSensorDaemon()
42 mDetector->Init(); in HidRawSensorDaemon()
H A DHidRawSensorDaemon.h55 sp<ConnectionDetector> mDetector; variable
/aosp12/packages/apps/Car/Media/src/com/android/car/media/
H A DMediaActivity.java676 private final GestureDetectorCompat mDetector; field in MediaActivity.ClosePlaybackDetector
681 mDetector = new GestureDetectorCompat(context, this); in ClosePlaybackDetector()
687 return mDetector.onTouchEvent(event); in onTouch()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DAllAppsEduView.java309 return mDetector.isDraggingOrSettling(); in isDraggingOrSettling()
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...