/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | DocumentHolderTest.java | 28 import android.view.MotionEvent.PointerCoords; 81 PointerCoords coords[] = new PointerCoords[] { 82 new PointerCoords()
|
/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) { 668 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; 669 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); 777 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; 778 const PointerCoords& currentCoords = current->getPointerById(id); 781 const PointerCoords& otherCoords = other->getPointerById(id); 917 PointerCoords pointerCoords[pointerCount]; 945 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 | 95 PointerCoords pointerCoords[MAX_POINTERS]; 106 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
H A D | InputReader.h | 870 PointerCoords pointerCoords[MAX_POINTERS]; 878 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { 882 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { 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* outCoord [all...] |
H A D | InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
/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 | 98 // Note that PointerCoords requires 8 byte alignment. 101 PointerCoords coords; 249 const PointerCoords* pointerCoords); 368 PointerCoords pointers[MAX_POINTERS]; 381 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; 666 * all of its touch steps defined in an array of {@link PointerCoords}. By having the ability 673 * PointerCoords p = new PointerCoords(); 679 * @param touches each array of {@link PointerCoords} constitute a single pointer's touch path. 680 * Multiple {@link PointerCoords} arrays constitute multiple pointers, each with its own 681 * path. Each {@link PointerCoords} in an array constitute a point on a pointer's path. 686 public boolean performMultiPointerGesture(PointerCoords[] ... touches) { 699 PointerCoords[] pointerCoords = new PointerCoords[touche [all...] |
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 502 * @see MotionEvent.PointerCoords#x 527 * @see MotionEvent.PointerCoords#y 549 * @see MotionEvent.PointerCoords#pressure 569 * @see MotionEvent.PointerCoords#size 590 * @see MotionEvent.PointerCoords#touchMajor 613 * @see MotionEvent.PointerCoords#touchMinor 638 * @see MotionEvent.PointerCoords#toolMajor 663 * @see MotionEvent.PointerCoords#toolMinor 690 * @see MotionEvent.PointerCoords#orientation 708 * @see MotionEvent.PointerCoords#getAxisValu 3372 public static final class PointerCoords { class in class:MotionEvent 3380 public PointerCoords() { method in class:MotionEvent.PointerCoords 3389 public PointerCoords(PointerCoords other) { method in class:MotionEvent.PointerCoords [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AutoclickController.java | 32 import android.view.MotionEvent.PointerCoords; 269 private PointerCoords mAnchorCoords; 278 private PointerCoords mTempPointerCoords[]; 286 mAnchorCoords = new PointerCoords(); 435 mTempPointerCoords = new PointerCoords[1]; 436 mTempPointerCoords[0] = new PointerCoords();
|
H A D | MotionEventInjector.java | 55 private MotionEvent.PointerCoords[] mPointerCoords = 56 new MotionEvent.PointerCoords[MAX_POINTERS]; 156 mPointerCoords = new MotionEvent.PointerCoords[numPointers]; 161 mPointerCoords[j] = new MotionEvent.PointerCoords();
|
H A D | MagnificationGestureHandler.java | 30 import android.view.MotionEvent.PointerCoords; 107 private PointerCoords[] mTempPointerCoords; 245 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); 262 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { 265 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; 266 mTempPointerCoords = new PointerCoords[size]; 272 mTempPointerCoords[i] = new PointerCoords();
|
H A D | TouchExplorer.java | 26 import android.view.MotionEvent.PointerCoords; 425 PointerCoords[] coords = new PointerCoords[1]; 426 coords[0] = new PointerCoords(); 990 PointerCoords[] coords = PointerCoords.createArray(pointerCount);
|
/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 | 149 PointerCoords pointerCoords[pointerCount]; 257 PointerCoords pointerCoords[pointerCount]; 269 PointerCoords pointerCoords[pointerCount];
|
H A D | StructLayout_test.cpp | 27 PointerCoords coords;
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 26 import android.view.MotionEvent.PointerCoords; 341 private static PointerCoords[] sPointerCoords; 400 private static PointerCoords[] getPointerCoords(int requiredCapacity) { 402 sPointerCoords = new PointerCoords[requiredCapacity]; 404 sPointerCoords[i] = new PointerCoords(); 491 PointerCoords[] pointerCoords = getPointerCoords(touchPointsSize);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A 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) { 587 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; 600 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords;
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 195 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { 258 static void pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, 354 PointerCoords rawPointerCoords[pointerCount]; 412 PointerCoords rawPointerCoords[pointerCount]; 660 const PointerCoords* rawPointerCoords; 759 "[Landroid/view/MotionEvent$PointerCoords;)J", 768 "(JJ[Landroid/view/MotionEvent$PointerCoords;I)V", 861 "(JIILandroid/view/MotionEvent$PointerCoords;)V", 898 jclass clazz = FindClassOrDie(env, "android/view/MotionEvent$PointerCoords");
|
/frameworks/base/libs/input/ |
H A D | PointerController.cpp | 268 void PointerController::setSpots(const PointerCoords* spotCoords, 275 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; 290 const PointerCoords& c = spotCoords[spotIdToIndex[id]];
|
H A D | PointerController.h | 104 virtual void setSpots(const PointerCoords* spotCoords,
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputDispatcher_test.cpp | 144 PointerCoords pointerCoords[MAX_POINTERS + 1];
|