/frameworks/native/libs/input/ |
H A D | Input.cpp | 89 // --- PointerCoords --- 91 float PointerCoords::getAxisValue(int32_t axis) const { 98 status_t PointerCoords::setAxisValue(int32_t axis, float value) { 124 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { 131 void PointerCoords::scale(float scaleFactor) { 142 void PointerCoords::applyOffset(float xOffset, float yOffset) { 148 status_t PointerCoords::readFromParcel(Parcel* parcel) { 162 status_t PointerCoords::writeToParcel(Parcel* parcel) const { 173 void PointerCoords::tooManyAxes(int axis) { 174 ALOGW("Could not set value for axis %d because the PointerCoords structur [all...] |
H A D | InputTransport.cpp | 303 const PointerCoords* pointerCoords) { 682 PointerCoords& msgCoords = msg.body.motion.pointers[i].coords; 683 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); 806 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; 807 const PointerCoords& currentCoords = current->getPointerById(id); 811 const PointerCoords& otherCoords = other->getPointerById(id); 944 PointerCoords pointerCoords[pointerCount]; 972 PointerCoords pointerCoords[pointerCount];
|
/frameworks/native/services/inputflinger/ |
H A D | PointerControllerInterface.h | 96 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
|
H A D | InputListener.h | 102 PointerCoords pointerCoords[MAX_POINTERS]; 113 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
H A D | InputReader.h | 836 PointerCoords pointerCoords[MAX_POINTERS]; 844 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { 848 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { 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* outCoord [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | PinchZoomAction.java | 71 final MotionEvent.PointerCoords pc1 = new MotionEvent.PointerCoords(); 76 final MotionEvent.PointerCoords pc2 = new MotionEvent.PointerCoords(); 84 final MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[]{pc1, pc2};
|
/frameworks/native/include/input/ |
H A D | Input.h | 219 struct PointerCoords { struct in namespace:android 220 enum { MAX_AXES = 30 }; // 30 so that sizeof(PointerCoords) == 128 256 bool operator==(const PointerCoords& other) const; 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* getSamplePointerCoord [all...] |
H A D | InputTransport.h | 99 // Note that PointerCoords requires 8 byte alignment. 102 PointerCoords coords; 251 const PointerCoords* pointerCoords); 370 PointerCoords pointers[MAX_POINTERS]; 395 const PointerCoords& getPointerById(uint32_t id) const {
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 24 import android.view.MotionEvent.PointerCoords; 1022 PointerCoords[] points1 = new PointerCoords[steps + 2]; 1023 PointerCoords[] points2 = new PointerCoords[steps + 2]; 1027 PointerCoords p1 = new PointerCoords(); 1034 PointerCoords p2 = new PointerCoords(); 1048 PointerCoords p [all...] |
H A D | InteractionController.java | 31 import android.view.MotionEvent.PointerCoords; 664 * all of its touch steps defined in an array of {@link PointerCoords}. By having the ability 671 * PointerCoords p = new PointerCoords(); 677 * @param touches each array of {@link PointerCoords} constitute a single pointer's touch path. 678 * Multiple {@link PointerCoords} arrays constitute multiple pointers, each with its own 679 * path. Each {@link PointerCoords} in an array constitute a point on a pointer's path. 684 public boolean performMultiPointerGesture(PointerCoords[] ... touches) { 697 PointerCoords[] pointerCoords = new PointerCoords[touche [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | PlatLogoActivity.java | 30 import android.view.MotionEvent.PointerCoords; 182 final PointerCoords pc0 = new PointerCoords(); 183 final PointerCoords pc1 = new PointerCoords();
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 534 * @see MotionEvent.PointerCoords#x 559 * @see MotionEvent.PointerCoords#y 581 * @see MotionEvent.PointerCoords#pressure 601 * @see MotionEvent.PointerCoords#size 622 * @see MotionEvent.PointerCoords#touchMajor 645 * @see MotionEvent.PointerCoords#touchMinor 670 * @see MotionEvent.PointerCoords#toolMajor 695 * @see MotionEvent.PointerCoords#toolMinor 722 * @see MotionEvent.PointerCoords#orientation 740 * @see MotionEvent.PointerCoords#getAxisValu 3468 public static final class PointerCoords { class in class:MotionEvent 3476 public PointerCoords() { method in class:MotionEvent.PointerCoords 3485 public PointerCoords(PointerCoords other) { method in class:MotionEvent.PointerCoords [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AutoclickController.java | 30 import android.view.MotionEvent.PointerCoords; 247 private PointerCoords mAnchorCoords; 256 private PointerCoords mTempPointerCoords[]; 264 mAnchorCoords = new PointerCoords(); 413 mTempPointerCoords = new PointerCoords[1]; 414 mTempPointerCoords[0] = new PointerCoords();
|
H A D | MagnificationGestureHandler.java | 49 import android.view.MotionEvent.PointerCoords; 145 private PointerCoords[] mTempPointerCoords; 286 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); 323 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { 326 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; 327 mTempPointerCoords = new PointerCoords[size]; 333 mTempPointerCoords[i] = new PointerCoords();
|
H A D | MotionEventInjector.java | 65 private static MotionEvent.PointerCoords[] sPointerCoords; 439 sPointerCoords = new MotionEvent.PointerCoords[touchPointsSize]; 441 sPointerCoords[i] = new MotionEvent.PointerCoords();
|
H A D | TouchExplorer.java | 25 import android.view.MotionEvent.PointerCoords; 414 PointerCoords[] coords = new PointerCoords[1]; 415 coords[0] = new PointerCoords(); 986 PointerCoords[] coords = PointerCoords.createArray(pointerCount);
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
H A D | TestEvents.java | 22 import android.view.MotionEvent.PointerCoords; 246 PointerCoords[] coords = new PointerCoords[1]; 247 coords[0] = new PointerCoords();
|
/frameworks/native/libs/input/tests/ |
H A D | InputEvent_test.cpp | 37 PointerCoords coords; 45 PointerCoords coords; 130 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { 133 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); 137 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); 138 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); 144 PointerCoords inCoords; 146 PointerCoords outCoords; 230 PointerCoords pointerCoords[2]; 549 PointerCoords pointerCoord [all...] |
H A D | InputPublisherAndConsumer_test.cpp | 152 PointerCoords pointerCoords[pointerCount]; 261 PointerCoords pointerCoords[pointerCount]; 277 PointerCoords pointerCoords[pointerCount]; 290 PointerCoords pointerCoords[pointerCount];
|
H A D | StructLayout_test.cpp | 27 PointerCoords coords;
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewOnGenericMotionEventTest.java | 118 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); 120 MotionEvent.PointerCoords[] pointerCoords = { coords };
|
H A D | TouchUtils.java | 158 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); 160 MotionEvent.PointerCoords[] pointerCoords = { coords };
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A 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/base/core/java/com/android/internal/widget/ |
H A 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) { 588 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; 601 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords;
|
/frameworks/support/compat/src/androidTest/java/androidx/core/view/ |
H A D | DragStartHelperTest.java | 118 MotionEvent.PointerCoords[] coords = new MotionEvent.PointerCoords[] { 119 new MotionEvent.PointerCoords()
|