/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 | 303 const PointerCoords* pointerCoords) { in publishMotionEvent() 668 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; in rewriteMessage() 669 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); in rewriteMessage() 777 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; in resampleTouchState() 778 const PointerCoords& currentCoords = current->getPointerById(id); in resampleTouchState() 781 const PointerCoords& otherCoords = other->getPointerById(id); in resampleTouchState() 917 PointerCoords pointerCoords[pointerCount]; in initializeMotionEvent() 945 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; 686 public boolean performMultiPointerGesture(PointerCoords[] ... touches) { 699 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/java/android/view/ |
D | MotionEvent.java | 1419 private static PointerCoords[] gSharedTempPointerCoords; 1430 gSharedTempPointerCoords = PointerCoords.createArray(capacity); in ensureSharedTempPointerCapacity() 1446 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() 1451 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() 1488 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords() 1561 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1604 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() 1659 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() 2280 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) { in getPointerCoords() 2820 PointerCoords outPointerCoords) { in getHistoricalPointerCoords() [all …]
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | DocumentHolderTest.java | 28 import android.view.MotionEvent.PointerCoords; 81 PointerCoords coords[] = new PointerCoords[] { in createEvent() 82 new PointerCoords() in createEvent()
|
/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 | MotionEventInjector.java | 55 private MotionEvent.PointerCoords[] mPointerCoords = 56 new MotionEvent.PointerCoords[MAX_POINTERS]; 156 mPointerCoords = new MotionEvent.PointerCoords[numPointers]; in injectEventsMainThread() 161 mPointerCoords[j] = new MotionEvent.PointerCoords(); in injectEventsMainThread()
|
D | MagnificationGestureHandler.java | 30 import android.view.MotionEvent.PointerCoords; 107 private PointerCoords[] mTempPointerCoords; 245 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in dispatchTransformedEvent() 262 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { in getTempPointerCoordsWithMinSize() 265 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; in getTempPointerCoordsWithMinSize() 266 mTempPointerCoords = new PointerCoords[size]; in getTempPointerCoordsWithMinSize() 272 mTempPointerCoords[i] = new PointerCoords(); in getTempPointerCoordsWithMinSize()
|
D | TouchExplorer.java | 26 import android.view.MotionEvent.PointerCoords; 425 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap() 426 coords[0] = new PointerCoords(); in onDoubleTap() 990 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/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 26 import android.view.MotionEvent.PointerCoords; 341 private static PointerCoords[] sPointerCoords; 400 private static PointerCoords[] getPointerCoords(int requiredCapacity) { in getPointerCoords() 402 sPointerCoords = new PointerCoords[requiredCapacity]; in getPointerCoords() 404 sPointerCoords[i] = new PointerCoords(); in getPointerCoords() 491 PointerCoords[] pointerCoords = getPointerCoords(touchPointsSize); in obtainMotionEvent()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.h | 95 PointerCoords pointerCoords[MAX_POINTERS]; 106 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | InputReader.h | 870 PointerCoords pointerCoords[MAX_POINTERS]; 878 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { in pointerCoordsForId() 882 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { in editPointerCoordsWithId() 1722 PointerCoords currentGestureCoords[MAX_POINTERS]; 1728 PointerCoords lastGestureCoords[MAX_POINTERS]; 1790 PointerCoords currentCoords; 1792 PointerCoords lastCoords; 1870 const PointerProperties* properties, const PointerCoords* coords, 1877 const PointerCoords* inCoords, const uint32_t* inIdToIndex, 1878 PointerProperties* outProperties, PointerCoords* outCoords, [all …]
|
D | PointerControllerInterface.h | 96 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
|
D | InputDispatcher.h | 524 PointerCoords pointerCoords[MAX_POINTERS]; 532 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, 776 PointerCoords pointerCoords[MAX_POINTERS];
|
/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/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() 412 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeAddBatch() 660 const PointerCoords* rawPointerCoords; in android_view_MotionEvent_nativeGetPointerCoords()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 268 void PointerController::setSpots(const PointerCoords* spotCoords, in setSpots() 275 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots() 290 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()
|