/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 53 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F() 55 ASSERT_EQ(0, coords.getAxisValue(1)) in TEST_F() 63 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F() 65 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F() 74 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F() 76 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F() 78 ASSERT_EQ(0, coords.getAxisValue(2)) in TEST_F() 80 ASSERT_EQ(2, coords.getAxisValue(3)) in TEST_F() 90 ASSERT_EQ(4, coords.getAxisValue(0)) in TEST_F() 92 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 241 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in PublishAndConsumeMotionEvent() 243 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in PublishAndConsumeMotionEvent() 245 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X) * xScale + xOffset, in PublishAndConsumeMotionEvent() 247 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y) * yScale + yOffset, in PublishAndConsumeMotionEvent() 249 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in PublishAndConsumeMotionEvent() 251 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE), in PublishAndConsumeMotionEvent() 253 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), in PublishAndConsumeMotionEvent() 255 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), in PublishAndConsumeMotionEvent() 257 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), in PublishAndConsumeMotionEvent() 259 EXPECT_EQ(pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR), in PublishAndConsumeMotionEvent() [all …]
|
/frameworks/native/include/input/ |
D | Input.h | 333 float getAxisValue(int32_t axis) const; 345 return getAxisValue(AMOTION_EVENT_AXIS_X); in getX() 349 return getAxisValue(AMOTION_EVENT_AXIS_Y); in getY() 576 float getAxisValue(int32_t axis, size_t pointerIndex) const; 579 return getAxisValue(AMOTION_EVENT_AXIS_X, pointerIndex); in getX() 583 return getAxisValue(AMOTION_EVENT_AXIS_Y, pointerIndex); in getY() 587 return getAxisValue(AMOTION_EVENT_AXIS_PRESSURE, pointerIndex); in getPressure() 591 return getAxisValue(AMOTION_EVENT_AXIS_SIZE, pointerIndex); in getSize() 595 return getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, pointerIndex); in getTouchMajor() 599 return getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, pointerIndex); in getTouchMinor() [all …]
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | BasicGLSurfaceView.java | 66 float x = event.getAxisValue(MotionEvent.AXIS_X); in onGenericMotionEvent() 67 float y = event.getAxisValue(MotionEvent.AXIS_Y); in onGenericMotionEvent()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 68 ASSERT_EQ(0.5, motionArgs.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_SIZE)); in TEST() 78 motionArgs.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_SIZE)); in TEST()
|
D | InputReader_test.cpp | 2339 ASSERT_NEAR(x, coords.getAxisValue(AMOTION_EVENT_AXIS_X), 1); in assertPointerCoords() 2340 ASSERT_NEAR(y, coords.getAxisValue(AMOTION_EVENT_AXIS_Y), 1); in assertPointerCoords() 2341 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords() 2342 ASSERT_NEAR(size, coords.getAxisValue(AMOTION_EVENT_AXIS_SIZE), EPSILON); in assertPointerCoords() 2343 ASSERT_NEAR(touchMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), 1); in assertPointerCoords() 2344 ASSERT_NEAR(touchMinor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), 1); in assertPointerCoords() 2345 ASSERT_NEAR(toolMajor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), 1); in assertPointerCoords() 2346 ASSERT_NEAR(toolMinor, coords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR), 1); in assertPointerCoords() 2347 ASSERT_NEAR(orientation, coords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), EPSILON); in assertPointerCoords() 2348 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON); in assertPointerCoords() [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 187 float PointerCoords::getAxisValue(int32_t axis) const { in getAxisValue() function in android::PointerCoords 221 float value = c.getAxisValue(axis); in scaleAxisValue() 415 return getRawPointerCoords(pointerIndex)->getAxisValue(axis); in getRawAxisValue() 418 float MotionEvent::getAxisValue(int32_t axis, size_t pointerIndex) const { in getAxisValue() function in android::MotionEvent 419 float value = getRawPointerCoords(pointerIndex)->getAxisValue(axis); in getAxisValue() 436 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalRawAxisValue() 441 float value = getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->getAxisValue(axis); in getHistoricalAxisValue() 542 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X) * mXScale + oldXOffset; in transform() 543 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y) * mYScale + oldYOffset; in transform() 548 float orientation = c.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION); in transform()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 448 ps.mCoords.getAxisValue(MotionEvent.AXIS_TILT)); in onDraw() 549 coords.getAxisValue(MotionEvent.AXIS_TILT) * 180 / Math.PI), 1) in logCoords() 551 .append(" Distance=").append(coords.getAxisValue(MotionEvent.AXIS_DISTANCE), 1) in logCoords() 552 .append(" VScroll=").append(coords.getAxisValue(MotionEvent.AXIS_VSCROLL), 1) in logCoords() 553 .append(" HScroll=").append(coords.getAxisValue(MotionEvent.AXIS_HSCROLL), 1) in logCoords() 555 .append(event.getAxisValue(MotionEvent.AXIS_GENERIC_1), 3) in logCoords() 556 .append(", ").append(event.getAxisValue(MotionEvent.AXIS_GENERIC_2), 3).append(")") in logCoords() 557 .append(", (").append(event.getAxisValue(MotionEvent.AXIS_GENERIC_3), 3) in logCoords() 558 .append(", ").append(event.getAxisValue(MotionEvent.AXIS_GENERIC_4), 3) in logCoords() 658 ps.mBoundingLeft = event.getAxisValue(MotionEvent.AXIS_GENERIC_1, i); in onPointerEvent() [all …]
|
D | RecyclerView.java | 2927 vScroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 2932 hScroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 285 c.getAxisValue(AMOTION_EVENT_AXIS_X), in setSpots() 286 c.getAxisValue(AMOTION_EVENT_AXIS_Y), in setSpots() 287 c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in setSpots() 310 const SpriteIcon& icon = c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE) > 0 in setSpots() 312 float x = c.getAxisValue(AMOTION_EVENT_AXIS_X); in setSpots() 313 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y); in setSpots()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 101 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 103 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 104 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 44 const float rawX = entry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X); in verifiedMotionEventFromMotionEntry() 45 const float rawY = entry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y); in verifiedMotionEventFromMotionEntry()
|
D | InputDispatcher.cpp | 699 motionEntry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X)); in shouldPruneInboundQueueLocked() 701 motionEntry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y)); in shouldPruneInboundQueueLocked() 1325 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), in logOutboundMotionDetails() 1326 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), in logOutboundMotionDetails() 1327 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in logOutboundMotionDetails() 1328 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE), in logOutboundMotionDetails() 1329 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), in logOutboundMotionDetails() 1330 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), in logOutboundMotionDetails() 1331 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), in logOutboundMotionDetails() 1332 entry.pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR), in logOutboundMotionDetails() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 293 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), in dump() 294 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), in dump() 295 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), in dump() 296 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), in dump() 297 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR), in dump() 298 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION), in dump() 299 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_TILT), in dump() 300 pointerCoords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), in dump() 1643 pressure = coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE); in applyExternalStylusTouchState() 3283 id, index, properties.toolType, coords.getAxisValue(AMOTION_EVENT_AXIS_X), in preparePointerGestures() [all …]
|
/frameworks/base/native/android/ |
D | input.cpp | 187 return static_cast<const MotionEvent*>(motion_event)->getAxisValue(axis, pointer_index); in AMotionEvent_getAxisValue()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 834 axisValue = -event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 836 axisValue = event.getAxisValue(MotionEvent.AXIS_HSCROLL); in onGenericMotionEvent() 839 axisValue = event.getAxisValue(MotionEvent.AXIS_SCROLL); in onGenericMotionEvent()
|
D | ScrollView.java | 900 axisValue = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 902 axisValue = event.getAxisValue(MotionEvent.AXIS_SCROLL); in onGenericMotionEvent()
|
D | StackView.java | 591 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent()
|
D | AbsListView.java | 4273 axisValue = event.getAxisValue(MotionEvent.AXIS_VSCROLL); in onGenericMotionEvent() 4275 axisValue = event.getAxisValue(MotionEvent.AXIS_SCROLL); in onGenericMotionEvent()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 2335 public final float getAxisValue(int axis) { in getAxisValue() method in MotionEvent 2545 public final float getAxisValue(int axis, int pointerIndex) { in getAxisValue() method in MotionEvent 3986 public float getAxisValue(int axis) { in getAxisValue() method in MotionEvent.PointerCoords
|
D | ViewRootImpl.java | 6575 event.getAxisValue(MotionEvent.AXIS_X)); 6577 event.getAxisValue(MotionEvent.AXIS_Y)); 6579 event.getAxisValue(MotionEvent.AXIS_HAT_X)); 6581 event.getAxisValue(MotionEvent.AXIS_HAT_Y));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 3901 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 32895 method public final float getAxisValue(int); 32896 method public final float getAxisValue(int, int); 33059 method public float getAxisValue(int);
|
/frameworks/base/api/ |
D | current.txt | 53180 method public float getAxisValue(int); 53181 method public float getAxisValue(int, int); 53358 method public float getAxisValue(int);
|