/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/native/libs/input/ |
D | Input.cpp | 105 float PointerCoords::getAxisValue(int32_t axis) const { in getAxisValue() 112 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue() 138 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue() 145 void PointerCoords::scale(float globalScaleFactor, float windowXScale, float windowYScale) { in scale() 161 void PointerCoords::scale(float globalScaleFactor) { in scale() 165 void PointerCoords::applyOffset(float xOffset, float yOffset) { in applyOffset() 171 status_t PointerCoords::readFromParcel(Parcel* parcel) { in readFromParcel() 185 status_t PointerCoords::writeToParcel(Parcel* parcel) const { in writeToParcel() 196 void PointerCoords::tooManyAxes(int axis) { in tooManyAxes() 201 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==() [all …]
|
D | InputTransport.cpp | 487 const PointerCoords* pointerCoords) { in publishMotionEvent() 869 PointerCoords& msgCoords = msg.body.motion.pointers[i].coords; in rewriteMessage() 870 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); in rewriteMessage() 993 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; in resampleTouchState() 994 const PointerCoords& currentCoords = current->getPointerById(id); in resampleTouchState() 998 const PointerCoords& otherCoords = other->getPointerById(id); in resampleTouchState() 1132 PointerCoords pointerCoords[pointerCount]; in initializeMotionEvent() 1162 PointerCoords pointerCoords[pointerCount]; in addSample()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 25 import android.view.MotionEvent.PointerCoords; 42 final PointerCoords[] coords = new PointerCoords[pointerCount]; in testObtainWithDisplayId() 44 final PointerCoords c = new PointerCoords(); in testObtainWithDisplayId()
|
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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | PointerCountClassifierTest.java | 70 MotionEvent.PointerCoords[] pointerCoords = MotionEvent.PointerCoords.createArray(2); in testFail_multiPointer() 86 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/include/input/ |
D | Input.h | 252 struct PointerCoords { struct 294 bool operator==(const PointerCoords& other) const; argument 295 inline bool operator!=(const PointerCoords& other) const { 299 void copyFrom(const PointerCoords& other); 482 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const; 538 const PointerCoords* getHistoricalRawPointerCoords( 622 const PointerCoords* pointerCoords); 628 const PointerCoords* pointerCoords); 653 inline const PointerCoords* getSamplePointerCoords() const { in getSamplePointerCoords() 675 Vector<PointerCoords> mSamplePointerCoords;
|
D | InputTransport.h | 121 PointerCoords coords; 284 const PointerCoords* pointerCoords); 403 PointerCoords pointers[MAX_POINTERS]; 428 const PointerCoords& getPointerById(uint32_t id) const { in getPointerById()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1499 private static PointerCoords[] gSharedTempPointerCoords; 1510 gSharedTempPointerCoords = PointerCoords.createArray(capacity); in ensureSharedTempPointerCapacity() 1527 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() 1530 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() 1532 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords() 1690 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1737 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1776 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() 1872 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() 2525 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) { in getPointerCoords() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 21 import android.view.MotionEvent.PointerCoords; 226 List<PointerCoords> pointerCoordsList = new ArrayList<>(); in unpackMotionEvent() 228 PointerCoords pointerCoords = new PointerCoords(); in unpackMotionEvent() 238 pointerCoordsList.toArray(new PointerCoords[0]), in unpackMotionEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AutoclickController.java | 30 import android.view.MotionEvent.PointerCoords; 247 private PointerCoords mAnchorCoords; 256 private PointerCoords mTempPointerCoords[]; 264 mAnchorCoords = new PointerCoords(); in ClickScheduler() 413 mTempPointerCoords = new PointerCoords[1]; in sendClick() 414 mTempPointerCoords[0] = new PointerCoords(); in sendClick()
|
D | MagnificationGestureHandler.java | 49 import android.view.MotionEvent.PointerCoords; 148 private PointerCoords[] mTempPointerCoords; 308 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { in getTempPointerCoordsWithMinSize() 311 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; in getTempPointerCoordsWithMinSize() 312 mTempPointerCoords = new PointerCoords[size]; in getTempPointerCoordsWithMinSize() 318 mTempPointerCoords[i] = new PointerCoords(); in getTempPointerCoordsWithMinSize()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.h | 166 PointerCoords pointerCoords[MAX_POINTERS]; 174 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { in pointerCoordsForId() 178 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { in editPointerCoordsWithId() 666 PointerCoords currentGestureCoords[MAX_POINTERS]; 672 PointerCoords lastGestureCoords[MAX_POINTERS]; 732 PointerCoords currentCoords; 734 PointerCoords lastCoords; 815 const PointerProperties* properties, const PointerCoords* coords, 821 bool updateMovedPointers(const PointerProperties* inProperties, const PointerCoords* inCoords, 823 PointerCoords* outCoords, const uint32_t* outIdToIndex,
|
D | JoystickInputMapper.cpp | 166 if (mAxes.size() > PointerCoords::MAX_AXES) { in configure() 168 getDeviceName().c_str(), mAxes.size(), PointerCoords::MAX_AXES); in configure() 213 while (mAxes.size() > PointerCoords::MAX_AXES && i-- > 0) { in pruneAxes() 315 PointerCoords pointerCoords; in sync() 343 void JoystickInputMapper::setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis, in setPointerCoordsAxisValue()
|
/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() 236 PointerCoords pointerCoords[2]; in initializeEventWithHistory() 562 PointerCoords pointerCoords[pointerCount]; in TEST_F() [all …]
|
D | InputPublisherAndConsumer_test.cpp | 153 PointerCoords pointerCoords[pointerCount]; in PublishAndConsumeMotionEvent() 263 PointerCoords pointerCoords[pointerCount]; in TEST_F() 280 PointerCoords pointerCoords[pointerCount]; in TEST_F() 294 PointerCoords pointerCoords[pointerCount]; in TEST_F()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputClassifierConverter_test.cpp | 35 PointerCoords coords; in generateBasicMotionArgs() 50 static float getMotionEventAxis(common::V1_0::PointerCoords coords, in getMotionEventAxis()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | TouchExplorerTest.java | 312 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[len]; in manyPointerEvent() 314 MotionEvent.PointerCoords pointerCoord = new MotionEvent.PointerCoords(); in manyPointerEvent()
|
D | MagnificationGestureHandlerTest.java | 628 MotionEvent.PointerCoords defPointerCoords = new MotionEvent.PointerCoords(); 631 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); 642 /* pointerCoords */ new MotionEvent.PointerCoords[] { defPointerCoords, pointerCoords },
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.h | 134 PointerCoords pointerCoords[MAX_POINTERS]; 141 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 38 import android.view.MotionEvent.PointerCoords; 74 private PointerCoords mCoords = new PointerCoords(); 148 private final PointerCoords mTempCoords = new PointerCoords(); 482 MotionEvent.PointerCoords coords, int id, MotionEvent event) { in logCoords() 627 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent() 640 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent()
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 119 PointerCoords pointerCoords[MAX_POINTERS]; 132 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | PointerControllerInterface.h | 97 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
|