Home
last modified time | relevance | path

Searched refs:AXIS_X (Results 1 – 14 of 14) sorted by relevance

/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DEdgeSwipeDetector.java44 float edgeGutter = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax() in onTouchEvent()
61 float enough = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax() in onTouchEvent()
/aosp12/frameworks/base/core/java/android/view/
H A DMotionEvent.java574 public static final int AXIS_X = 0; field in MotionEvent
1278 names.append(AXIS_X, "AXIS_X"); in names.append() argument
2272 return nativeGetAxisValue(mNativePtr, AXIS_X, 0, HISTORY_CURRENT); in getX()
2430 return nativeGetAxisValue(mNativePtr, AXIS_X, pointerIndex, HISTORY_CURRENT); in getX()
2695 return nativeGetRawAxisValue(mNativePtr, AXIS_X, 0, HISTORY_CURRENT); in getRawX()
2724 return nativeGetRawAxisValue(mNativePtr, AXIS_X, pointerIndex, HISTORY_CURRENT); in getRawX()
2870 return nativeGetAxisValue(mNativePtr, AXIS_X, 0, pos); in getHistoricalX()
3025 return nativeGetAxisValue(mNativePtr, AXIS_X, pointerIndex, pos); in getHistoricalX()
3414 final float x = nativeGetAxisValue(mNativePtr, AXIS_X, i, HISTORY_CURRENT); in isWithinBoundsNoHistory()
4089 case AXIS_X: in getAxisValue()
[all …]
H A DInputDevice.java353 public static final int MOTION_RANGE_X = MotionEvent.AXIS_X;
H A DViewRootImpl.java7005 mJoystickAxesState.updateStateForAxis(event, time, MotionEvent.AXIS_X,
7006 event.getHistoricalAxisValue(MotionEvent.AXIS_X, 0, h));
7015 mJoystickAxesState.updateStateForAxis(event, time, MotionEvent.AXIS_X,
7016 event.getAxisValue(MotionEvent.AXIS_X));
7062 if (axis == MotionEvent.AXIS_X || axis == MotionEvent.AXIS_Y) {
7107 if (axis == MotionEvent.AXIS_X || axis == MotionEvent.AXIS_Y) {
7115 return axis == MotionEvent.AXIS_X || axis == MotionEvent.AXIS_HAT_X;
7254 InputDevice.MotionRange xRange = device.getMotionRange(MotionEvent.AXIS_X);
/aosp12/frameworks/native/services/inputflinger/docs/
H A Dpointer_capture.md9 - Events from a mouse will be delivered with the source `SOURCE_MOUSE_RELATIVE`, and their `AXIS_X`…
10 - Events from a touchpad will be delivered with the source `SOURCE_TOUCHPAD`, and their `AXIS_X` an…
/aosp12/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DBasicGLSurfaceView.java66 float x = event.getAxisValue(MotionEvent.AXIS_X); in onGenericMotionEvent()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DMotionPauseDetector.java229 return mAxis == MotionEvent.AXIS_X
/aosp12/frameworks/base/core/java/android/hardware/
H A DSensorManager.java363 public static final int AXIS_X = 1; field in SensorManager
369 public static final int AXIS_MINUS_X = AXIS_X | 0x80;
/aosp12/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
H A DTvRemoteProvider.java96 MotionEvent.AXIS_X,
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java260 float maxX = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax(); in onGenericMotionEvent()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
H A DOtherActivityInputConsumer.java159 ? MotionEvent.AXIS_X : MotionEvent.AXIS_Y); in OtherActivityInputConsumer()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt17678 field public static final int AXIS_X = 1; // 0x1
48143 field public static final int AXIS_X = 0; // 0x0
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt12480 field public static final int AXIS_X = 1; // 0x1
33032 field public static final int AXIS_X = 0; // 0x0