/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() 682 PointerCoords& msgCoords = msg.body.motion.pointers[i].coords; in rewriteMessage() 683 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); in rewriteMessage() 806 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; in resampleTouchState() 807 const PointerCoords& currentCoords = current->getPointerById(id); in resampleTouchState() 811 const PointerCoords& otherCoords = other->getPointerById(id); in resampleTouchState() 944 PointerCoords pointerCoords[pointerCount]; in initializeMotionEvent() 972 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 | 102 PointerCoords coords; 251 const PointerCoords* pointerCoords); 370 PointerCoords pointers[MAX_POINTERS]; 395 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 | 1450 private static PointerCoords[] gSharedTempPointerCoords; 1461 gSharedTempPointerCoords = PointerCoords.createArray(capacity); in ensureSharedTempPointerCapacity() 1477 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize() 1480 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch() 1482 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords() 1630 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() 1673 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain() 1728 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() 2363 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) { in getPointerCoords() 2905 PointerCoords outPointerCoords) { in getHistoricalPointerCoords() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 30 import android.view.MotionEvent.PointerCoords; 182 final PointerCoords pc0 = new PointerCoords(); in onCreate() 183 final PointerCoords pc1 = new PointerCoords(); in onCreate()
|
/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; 145 private PointerCoords[] mTempPointerCoords; 286 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in dispatchTransformedEvent() 323 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { in getTempPointerCoordsWithMinSize() 326 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; in getTempPointerCoordsWithMinSize() 327 mTempPointerCoords = new PointerCoords[size]; in getTempPointerCoordsWithMinSize() 333 mTempPointerCoords[i] = new PointerCoords(); in getTempPointerCoordsWithMinSize()
|
D | TouchExplorer.java | 25 import android.view.MotionEvent.PointerCoords; 414 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap() 415 coords[0] = new PointerCoords(); in onDoubleTap() 986 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in offsetEvent()
|
D | MotionEventInjector.java | 65 private static MotionEvent.PointerCoords[] sPointerCoords; 439 sPointerCoords = new MotionEvent.PointerCoords[touchPointsSize]; in obtainMotionEvent() 441 sPointerCoords[i] = new MotionEvent.PointerCoords(); in obtainMotionEvent()
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
D | TestEvents.java | 22 import android.view.MotionEvent.PointerCoords; 246 PointerCoords[] coords = new PointerCoords[1]; in build() 247 coords[0] = new PointerCoords(); in build()
|
/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 | 152 PointerCoords pointerCoords[pointerCount]; in PublishAndConsumeMotionEvent() 261 PointerCoords pointerCoords[pointerCount]; in TEST_F() 277 PointerCoords pointerCoords[pointerCount]; in TEST_F() 290 PointerCoords pointerCoords[pointerCount]; in TEST_F()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | RecyclerViewOnGenericMotionEventTest.java | 118 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); in obtainScrollMotionEvent() 120 MotionEvent.PointerCoords[] pointerCoords = { coords }; in obtainScrollMotionEvent()
|
D | TouchUtils.java | 158 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); in scrollView() 160 MotionEvent.PointerCoords[] pointerCoords = { coords }; in scrollView()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationGestureHandlerTest.java | 575 MotionEvent.PointerCoords defPointerCoords = new MotionEvent.PointerCoords(); 578 MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); 589 /* pointerCoords */ new MotionEvent.PointerCoords[] { defPointerCoords, pointerCoords },
|
/frameworks/native/services/inputflinger/ |
D | InputListener.h | 102 PointerCoords pointerCoords[MAX_POINTERS]; 113 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
D | PointerControllerInterface.h | 96 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
|
D | InputReader.h | 836 PointerCoords pointerCoords[MAX_POINTERS]; 844 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { in pointerCoordsForId() 848 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { in editPointerCoordsWithId() 1700 PointerCoords currentGestureCoords[MAX_POINTERS]; 1706 PointerCoords lastGestureCoords[MAX_POINTERS]; 1768 PointerCoords currentCoords; 1770 PointerCoords lastCoords; 1849 const PointerProperties* properties, const PointerCoords* coords, 1856 const PointerCoords* inCoords, const uint32_t* inIdToIndex, 1857 PointerProperties* outProperties, PointerCoords* outCoords, [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 36 import android.view.MotionEvent.PointerCoords; 59 private PointerCoords mCoords = new PointerCoords(); 128 private final PointerCoords mTempCoords = new PointerCoords(); 443 MotionEvent.PointerCoords coords, int id, MotionEvent event) { in logCoords() 588 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent() 601 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in onPointerEvent()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/view/ |
D | DragStartHelperTest.java | 118 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[] { 119 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() 356 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeInitialize() 403 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeAddBatch() 429 const PointerCoords* rawPointerCoords; in android_view_MotionEvent_nativeGetPointerCoords()
|