/frameworks/native/libs/input/ |
D | Input.cpp | 91 float PointerCoords::getAxisValue(int32_t axis) const { in getAxisValue() 98 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() 124 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue() 131 void PointerCoords::scale(float scaleFactor) { in scale() 142 void PointerCoords::applyOffset(float xOffset, float yOffset) { in applyOffset() 148 status_t PointerCoords::readFromParcel(Parcel* parcel) { in readFromParcel() 162 status_t PointerCoords::writeToParcel(Parcel* parcel) const { in writeToParcel() 173 void PointerCoords::tooManyAxes(int axis) { in tooManyAxes() 178 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==() 191 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom() [all …]
|
D | InputTransport.cpp | 302 const PointerCoords* pointerCoords) { in publishMotionEvent() 667 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; in rewriteMessage() 668 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); in rewriteMessage() 776 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; in resampleTouchState() 777 const PointerCoords& currentCoords = current->getPointerById(id); in resampleTouchState() 780 const PointerCoords& otherCoords = other->getPointerById(id); in resampleTouchState() 916 PointerCoords pointerCoords[pointerCount]; in initializeMotionEvent() 944 PointerCoords pointerCoords[pointerCount]; in addSample()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 24 import android.view.MotionEvent.PointerCoords; 1022 PointerCoords[] points1 = new PointerCoords[steps + 2]; in performTwoPointerGesture() 1023 PointerCoords[] points2 = new PointerCoords[steps + 2]; in performTwoPointerGesture() 1027 PointerCoords p1 = new PointerCoords(); in performTwoPointerGesture() 1034 PointerCoords p2 = new PointerCoords(); in performTwoPointerGesture() 1048 PointerCoords p1 = new PointerCoords(); in performTwoPointerGesture() 1055 PointerCoords p2 = new PointerCoords(); in performTwoPointerGesture() 1087 public boolean performMultiPointerGesture(PointerCoords[] ...touches) { in performMultiPointerGesture()
|
D | InteractionController.java | 31 import android.view.MotionEvent.PointerCoords; 684 public boolean performMultiPointerGesture(PointerCoords[] ... touches) { 697 PointerCoords[] pointerCoords = new PointerCoords[touches.length];
|
/frameworks/native/include/input/ |
D | Input.h | 219 struct PointerCoords { struct 256 bool operator==(const PointerCoords& other) const; argument 257 inline bool operator!=(const PointerCoords& other) const { 261 void copyFrom(const PointerCoords& other); 435 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const; 491 const PointerCoords* getHistoricalRawPointerCoords( 573 const PointerCoords* pointerCoords); 579 const PointerCoords* pointerCoords); 604 inline const PointerCoords* getSamplePointerCoords() const { in getSamplePointerCoords() 625 Vector<PointerCoords> mSamplePointerCoords;
|
D | InputTransport.h | 101 PointerCoords coords; 249 const PointerCoords* pointerCoords); 368 PointerCoords pointers[MAX_POINTERS]; 381 const PointerCoords& getPointerById(uint32_t id) const { in getPointerById()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 71 final MotionEvent.PointerCoords pc1 = new MotionEvent.PointerCoords(); in sendPinchZoomAction() 76 final MotionEvent.PointerCoords pc2 = new MotionEvent.PointerCoords(); in sendPinchZoomAction() 84 final MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[]{pc1, pc2}; in sendPinchZoomAction()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1446 private static PointerCoords[] gSharedTempPointerCoords; 1457 gSharedTempPointerCoords = PointerCoords.createArray(capacity); in ensureSharedTempPointerCapacity() 1473 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() 1476 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() 1478 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords() 1626 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1669 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() 1724 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() 2359 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) { in getPointerCoords() 2901 PointerCoords outPointerCoords) { in getHistoricalPointerCoords() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 32 import android.view.MotionEvent.PointerCoords; 269 private PointerCoords mAnchorCoords; 278 private PointerCoords mTempPointerCoords[]; 286 mAnchorCoords = new PointerCoords(); in ClickScheduler() 435 mTempPointerCoords = new PointerCoords[1]; in sendClick() 436 mTempPointerCoords[0] = new PointerCoords(); in sendClick()
|
D | MagnificationGestureHandler.java | 33 import android.view.MotionEvent.PointerCoords; 122 private PointerCoords[] mTempPointerCoords; 301 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in dispatchTransformedEvent() 318 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { in getTempPointerCoordsWithMinSize() 321 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; in getTempPointerCoordsWithMinSize() 322 mTempPointerCoords = new PointerCoords[size]; in getTempPointerCoordsWithMinSize() 328 mTempPointerCoords[i] = new PointerCoords(); in getTempPointerCoordsWithMinSize()
|
D | MotionEventInjector.java | 65 private static MotionEvent.PointerCoords[] sPointerCoords; 452 sPointerCoords = new MotionEvent.PointerCoords[touchPointsSize]; in obtainMotionEvent() 454 sPointerCoords[i] = new MotionEvent.PointerCoords(); in obtainMotionEvent()
|
D | TouchExplorer.java | 26 import android.view.MotionEvent.PointerCoords; 433 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap() 434 coords[0] = new PointerCoords(); in onDoubleTap() 1003 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in offsetEvent()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 37 PointerCoords coords; in TEST_F() 45 PointerCoords coords; in TEST_F() 130 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { in TEST_F() 133 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F() 137 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F() 138 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F() 144 PointerCoords inCoords; in TEST_F() 146 PointerCoords outCoords; in TEST_F() 230 PointerCoords pointerCoords[2]; in initializeEventWithHistory() 549 PointerCoords pointerCoords[pointerCount]; in TEST_F()
|
D | InputPublisherAndConsumer_test.cpp | 149 PointerCoords pointerCoords[pointerCount]; in PublishAndConsumeMotionEvent() 257 PointerCoords pointerCoords[pointerCount]; in TEST_F() 269 PointerCoords pointerCoords[pointerCount]; in TEST_F()
|
D | StructLayout_test.cpp | 27 PointerCoords coords;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewOnGenericMotionEventTest.java | 121 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); in obtainScrollMotionEvent() 123 MotionEvent.PointerCoords[] pointerCoords = { coords }; in obtainScrollMotionEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.h | 95 PointerCoords pointerCoords[MAX_POINTERS]; 106 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | PointerControllerInterface.h | 96 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
|
D | InputReader.h | 820 PointerCoords pointerCoords[MAX_POINTERS]; 828 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { in pointerCoordsForId() 832 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { in editPointerCoordsWithId() 1674 PointerCoords currentGestureCoords[MAX_POINTERS]; 1680 PointerCoords lastGestureCoords[MAX_POINTERS]; 1742 PointerCoords currentCoords; 1744 PointerCoords lastCoords; 1822 const PointerProperties* properties, const PointerCoords* coords, 1829 const PointerCoords* inCoords, const uint32_t* inIdToIndex, 1830 PointerProperties* outProperties, PointerCoords* outCoords, [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 35 import android.view.MotionEvent.PointerCoords; 58 private PointerCoords mCoords = new PointerCoords(); 127 private final PointerCoords mTempCoords = new PointerCoords(); 442 MotionEvent.PointerCoords coords, int id, MotionEvent event) { in logCoords() 587 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent() 600 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent()
|
/frameworks/support/v13/tests/java/android/support/v13/view/ |
D | DragStartHelperTest.java | 122 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[] { 123 new MotionEvent.PointerCoords()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 195 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative() 258 static void pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, in pointerCoordsFromNative() 354 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeInitialize() 401 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeAddBatch() 427 const PointerCoords* rawPointerCoords; in android_view_MotionEvent_nativeGetPointerCoords()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 292 void PointerController::setSpots(const PointerCoords* spotCoords, in setSpots() 299 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots() 314 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots()
|
D | PointerController.h | 104 virtual void setSpots(const PointerCoords* spotCoords,
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 144 PointerCoords pointerCoords[MAX_POINTERS + 1]; in TEST_F()
|