/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | SpotFilter.kt | 24 val spots = LinkedList<MotionEvent.PointerCoords>() // newest at front 25 val tmpSpot = MotionEvent.PointerCoords() 32 fun plot(s: MotionEvent.PointerCoords) in plot() 40 fun filterInto(out: MotionEvent.PointerCoords, tool: Int): MotionEvent.PointerCoords { in filterInto() 78 protected fun addInternal(c: MotionEvent.PointerCoords, tool: Int) { in addInternal() 83 MotionEvent.PointerCoords() in addInternal() 93 fun add(cv: List<MotionEvent.PointerCoords>, tool: Int) { in add()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | TouchEventGenerator.java | 83 final MotionEvent.PointerCoords[] pointerCoordsArray = in generateMultiplePointersEvent() 84 new MotionEvent.PointerCoords[length]; in generateMultiplePointersEvent() 88 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in generateMultiplePointersEvent() 153 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[pointerCount]; in movePointer() 155 MotionEvent.PointerCoords pointerCoord = new MotionEvent.PointerCoords(); in movePointer()
|
D | GestureLogParser.java | 36 final MotionEvent.PointerCoords[] pointerCoords; in getMotionEventFromLogLine() 94 private static MotionEvent.PointerCoords[] findCoordinates(String eventText, int pointerCount) { in findCoordinates() 99 final MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[pointerCount]; in findCoordinates() 107 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); in findCoordinates()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 32 import android.view.MotionEvent.PointerCoords; 54 final PointerCoords[] coords = new PointerCoords[pointerCount]; in testObtainWithDisplayId() 56 final PointerCoords c = new PointerCoords(); in testObtainWithDisplayId() 129 final PointerCoords[] coords = new PointerCoords[pointerCount]; in testCalculatesCursorPositionForMultiTouchMouseEvents() 136 coords[i] = new PointerCoords(); in testCalculatesCursorPositionForMultiTouchMouseEvents()
|
D | PinchZoomAction.java | 70 final MotionEvent.PointerCoords pc1 = new MotionEvent.PointerCoords(); in sendPinchZoomAction() 75 final MotionEvent.PointerCoords pc2 = new MotionEvent.PointerCoords(); in sendPinchZoomAction() 83 final MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[]{pc1, pc2}; in sendPinchZoomAction()
|
D | ViewGroupTest.java | 72 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[2]; in testDispatchMouseEventsUnderCursor() 73 coords[0] = new MotionEvent.PointerCoords(); in testDispatchMouseEventsUnderCursor() 76 coords[1] = new MotionEvent.PointerCoords(); in testDispatchMouseEventsUnderCursor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | PointerCountClassifierTest.java | 72 MotionEvent.PointerCoords[] pointerCoords = MotionEvent.PointerCoords.createArray(2); in testFail_multiPointer() 89 MotionEvent.PointerCoords[] pointerCoords = MotionEvent.PointerCoords.createArray(2); in testPass_multiPointerDragDown()
|
/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/libs/input/ |
D | Input.cpp | 311 float PointerCoords::getAxisValue(int32_t axis) const { in getAxisValue() 318 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() 344 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue() 351 void PointerCoords::scale(float globalScaleFactor, float windowXScale, float windowYScale) { in scale() 370 status_t PointerCoords::readFromParcel(Parcel* parcel) { in readFromParcel() 384 status_t PointerCoords::writeToParcel(Parcel* parcel) const { in writeToParcel() 395 void PointerCoords::tooManyAxes(int axis) { in tooManyAxes() 400 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==() 413 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom() 421 void PointerCoords::transform(const ui::Transform& transform) { in transform() [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | EventDispatcher.java | 27 import android.view.MotionEvent.PointerCoords; 202 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in offsetEvent() 324 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[pointerCount]; in computeInjectionDownEvent() 331 coords[i] = new MotionEvent.PointerCoords(); in computeInjectionDownEvent() 423 PointerCoords[] coords = new PointerCoords[1]; in clickWithTouchEvents() 424 coords[0] = new PointerCoords(); in clickWithTouchEvents()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1542 private static PointerCoords[] gSharedTempPointerCoords; 1553 gSharedTempPointerCoords = PointerCoords.createArray(capacity); in ensureSharedTempPointerCapacity() 1570 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() 1573 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() 1575 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords() 1746 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1792 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1831 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() 1927 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() 2036 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords) { in initialize() [all …]
|
/frameworks/native/include/input/ |
D | Input.h | 358 struct PointerCoords { struct 401 bool operator==(const PointerCoords& other) const; argument 402 inline bool operator!=(const PointerCoords& other) const { 406 void copyFrom(const PointerCoords& other); 618 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const; 691 const PointerCoords* getHistoricalRawPointerCoords( 768 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 774 const PointerCoords* pointerCoords); 803 inline const PointerCoords* getSamplePointerCoords() const { in getSamplePointerCoords() 818 const PointerCoords&); [all …]
|
D | InputTransport.h | 156 PointerCoords coords; 374 const PointerCoords* pointerCoords); 543 PointerCoords pointers[MAX_POINTERS]; 568 const PointerCoords& getPointerById(uint32_t id) const { in getPointerById()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.h | 105 PointerCoords pointerCoords[MAX_POINTERS]; 113 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { in pointerCoordsForId() 117 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { in editPointerCoordsWithId() 637 PointerCoords currentGestureCoords[MAX_POINTERS]; 643 PointerCoords lastGestureCoords[MAX_POINTERS]; 703 PointerCoords currentCoords; 705 PointerCoords lastCoords; 800 const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, 805 bool updateMovedPointers(const PointerProperties* inProperties, const PointerCoords* inCoords, 807 PointerCoords* outCoords, const uint32_t* outIdToIndex,
|
D | JoystickInputMapper.cpp | 136 if (mAxes.size() > PointerCoords::MAX_AXES) { in configure() 138 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure() 219 while (mAxes.size() > PointerCoords::MAX_AXES) { in pruneAxes() 321 PointerCoords pointerCoords; in sync() 352 void JoystickInputMapper::setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis, in setPointerCoordsAxisValue()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 31 import android.view.MotionEvent.PointerCoords; 258 private PointerCoords mAnchorCoords; 267 private PointerCoords mTempPointerCoords[]; 275 mAnchorCoords = new PointerCoords(); in ClickScheduler() 424 mTempPointerCoords = new PointerCoords[1]; in sendClick() 425 mTempPointerCoords[0] = new PointerCoords(); in sendClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingDataProvider.java | 24 import android.view.MotionEvent.PointerCoords; 326 List<PointerCoords> pointerCoordsList = new ArrayList<>(); 328 PointerCoords pointerCoords = new PointerCoords(); 338 pointerCoordsList.toArray(new PointerCoords[0]),
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 35 PointerCoords coords; in generateBasicMotionArgs() 53 static float getMotionEventAxis(common::PointerCoords coords, common::Axis axis) { in getMotionEventAxis()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 45 PointerCoords coords; in TEST_F() 52 PointerCoords coords; in TEST_F() 137 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { in TEST_F() 140 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F() 144 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F() 145 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F() 151 PointerCoords inCoords; in TEST_F() 153 PointerCoords outCoords; in TEST_F() 255 PointerCoords pointerCoords[2]; in initializeEventWithHistory() 591 PointerCoords pointerCoords[pointerCount]; in TEST_F() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandlerTest.java | 250 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[2]; in obtainMotionEvent() 252 MotionEvent.PointerCoords pointerCoord = new MotionEvent.PointerCoords(); in obtainMotionEvent()
|
/frameworks/base/libs/input/ |
D | TouchSpotController.cpp | 79 void TouchSpotController::setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex, in setSpots() 86 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots() 100 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots()
|
/frameworks/native/services/inputflinger/include/ |
D | PointerControllerInterface.h | 97 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 39 import android.view.MotionEvent.PointerCoords; 76 private PointerCoords mCoords = new PointerCoords(); 151 private final PointerCoords mTempCoords = new PointerCoords(); 515 MotionEvent.PointerCoords coords, int id, MotionEvent event) { in logCoords() 660 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent() 673 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationGestureHandler.java | 55 import android.view.MotionEvent.PointerCoords; 141 private PointerCoords[] mTempPointerCoords; 245 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { in getTempPointerCoordsWithMinSize() 248 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; in getTempPointerCoordsWithMinSize() 249 mTempPointerCoords = new PointerCoords[size]; in getTempPointerCoordsWithMinSize() 255 mTempPointerCoords[i] = new PointerCoords(); in getTempPointerCoordsWithMinSize()
|