Home
last modified time | relevance | path

Searched refs:getMotionRange (Results 1 – 11 of 11) 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/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java260 float maxX = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax(); in onGenericMotionEvent()
261 float maxY = event.getDevice().getMotionRange(MotionEvent.AXIS_Y).getMax(); in onGenericMotionEvent()
/aosp12/frameworks/base/core/java/android/view/
H A DInputDevice.java751 public MotionRange getMotionRange(int axis) { in getMotionRange() method in InputDevice
776 public MotionRange getMotionRange(int axis, int source) { in getMotionRange() method in InputDevice
H A DViewRootImpl.java7254 InputDevice.MotionRange xRange = device.getMotionRange(MotionEvent.AXIS_X);
7255 InputDevice.MotionRange yRange = device.getMotionRange(MotionEvent.AXIS_Y);
/aosp12/frameworks/native/libs/input/
H A DInputDevice.cpp202 const InputDeviceInfo::MotionRange* InputDeviceInfo::getMotionRange( in getMotionRange() function in android::InputDeviceInfo
/aosp12/frameworks/native/include/input/
H A DInputDevice.h223 const MotionRange* getMotionRange(int32_t axis, uint32_t source) const;
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java626 device.getMotionRange(MotionEvent.AXIS_GENERIC_1) != null; in onPointerEvent()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp2773 const InputDeviceInfo::MotionRange* range = info.getMotionRange(axis, source); in assertMotionRange()
3891 ASSERT_EQ(nullptr, info.getMotionRange(AINPUT_MOTION_RANGE_X, AINPUT_SOURCE_MOUSE)); in TEST_F()
3892 ASSERT_EQ(nullptr, info.getMotionRange(AINPUT_MOTION_RANGE_Y, AINPUT_SOURCE_MOUSE)); in TEST_F()
8783 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_RELATIVE_X, AINPUT_SOURCE_TOUCHPAD); in TEST_F()
8788 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_RELATIVE_Y, AINPUT_SOURCE_TOUCHPAD); in TEST_F()
/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.txt47271 method public android.view.InputDevice.MotionRange getMotionRange(int);
47272 method public android.view.InputDevice.MotionRange getMotionRange(int, int);
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt32250 method public android.view.InputDevice.MotionRange getMotionRange(int);
32251 method public android.view.InputDevice.MotionRange getMotionRange(int, int);