/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyMotionEvent.java | 34 private SparseArray<MotionEvent.PointerCoords> mPointers; 52 mPointers = new SparseArray<MotionEvent.PointerCoords>(); 63 MotionEvent.PointerCoords c = new MotionEvent.PointerCoords(); 131 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[pointerCount]; 134 pointerCoords[i] = mPointers.valueAt(i); 139 mAction, pointerCount, pointerIds, pointerCoords,
|
/frameworks/base/include/ui/ |
InputTransport.h | 117 PointerCoords coords[0]; // variable length 157 return sizeof(InputMessage::SampleData) + pointerCount * sizeof(PointerCoords); 234 const PointerCoords* pointerCoords); 245 const PointerCoords* pointerCoords);
|
Input.h | 193 struct PointerCoords { 194 enum { MAX_AXES = 14 }; // 14 so that sizeof(PointerCoords) == 64 225 bool operator==(const PointerCoords& other) const; 226 inline bool operator!=(const PointerCoords& other) const { 230 void copyFrom(const PointerCoords& other); 401 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const; 457 const PointerCoords* getHistoricalRawPointerCoords( 538 const PointerCoords* pointerCoords); 544 const PointerCoords* pointerCoords) [all...] |
/frameworks/base/core/java/android/view/ |
MotionEvent.java | 444 * @see MotionEvent.PointerCoords#x 469 * @see MotionEvent.PointerCoords#y 491 * @see MotionEvent.PointerCoords#pressure 511 * @see MotionEvent.PointerCoords#size 532 * @see MotionEvent.PointerCoords#touchMajor 555 * @see MotionEvent.PointerCoords#touchMinor 580 * @see MotionEvent.PointerCoords#toolMajor 605 * @see MotionEvent.PointerCoords#toolMinor 632 * @see MotionEvent.PointerCoords#orientation 650 * @see MotionEvent.PointerCoords#getAxisValue(int [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 33 import android.view.MotionEvent.PointerCoords; 537 final PointerCoords[] pointerCoords = new PointerCoords[pointerCount]; 539 final PointerCoords c = new PointerCoords(); 542 pointerCoords[i] = c; 548 pointerCount, pointerIds, pointerCoords, 0, 0, 0, 0, 0, 0, 0); 573 final PointerCoords c = pointerCoords[i] [all...] |
/frameworks/base/libs/ui/tests/ |
InputEvent_test.cpp | 38 PointerCoords coords; 46 PointerCoords coords; 131 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { 134 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); 138 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); 139 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); 145 PointerCoords inCoords; 147 PointerCoords outCoords; 231 PointerCoords pointerCoords[2] [all...] |
InputPublisherAndConsumer_test.cpp | 174 Vector<PointerCoords> samplePointerCoords; 180 PointerCoords& pc = samplePointerCoords.editTop(); 365 PointerCoords pointerCoords[pointerCount]; 368 pointerCoords[i].clear(); 372 pointerCount, pointerProperties, pointerCoords); 377 pointerCount, pointerProperties, pointerCoords); 389 PointerCoords pointerCoords[pointerCount]; 392 pointerCount, pointerProperties, pointerCoords); [all...] |
/frameworks/base/libs/ui/ |
Input.cpp | 263 // --- PointerCoords --- 265 float PointerCoords::getAxisValue(int32_t axis) const { 278 status_t PointerCoords::setAxisValue(int32_t axis, float value) { 303 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { 310 void PointerCoords::scale(float scaleFactor) { 322 status_t PointerCoords::readFromParcel(Parcel* parcel) { 336 status_t PointerCoords::writeToParcel(Parcel* parcel) const { 347 void PointerCoords::tooManyAxes(int axis) { 348 LOGW("Could not set value for axis %d because the PointerCoords structure is full and " 352 bool PointerCoords::operator==(const PointerCoords& other) const [all...] |
InputTransport.cpp | 36 * (sizeof(InputMessage::SampleData) + MAX_POINTERS * sizeof(PointerCoords)), 380 const PointerCoords* pointerCoords) { 420 mSharedMessage->motion.sampleData[0].coords[i].copyFrom(pointerCoords[i]); 440 const PointerCoords* pointerCoords) { 490 mMotionEventSampleDataTail->coords[i].copyFrom(pointerCoords[i]);
|
/frameworks/base/services/input/ |
InputListener.h | 93 PointerCoords pointerCoords[MAX_POINTERS]; 103 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
PointerController.h | 102 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex, 168 virtual void setSpots(const PointerCoords* spotCoords,
|
InputReader.h | 693 PointerCoords pointerCoords[MAX_POINTERS]; [all...] |
InputDispatcher.h | 504 PointerCoords pointerCoords[MAX_POINTERS]; 506 MotionSample(nsecs_t eventTime, const PointerCoords* pointerCoords, 533 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 541 void appendSample(nsecs_t eventTime, const PointerCoords* pointerCoords); 779 PointerCoords pointerCoords[MAX_POINTERS] [all...] |
PointerController.cpp | 243 void PointerController::setSpots(const PointerCoords* spotCoords, 250 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; 265 const PointerCoords& c = spotCoords[spotIdToIndex[id]];
|
InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, 81 this->pointerCoords[i].copyFrom(pointerCoords[i]); 94 pointerCoords[i].copyFrom(other.pointerCoords[i]);
|
InputDispatcher.cpp | 180 static void scalePointerCoords(const PointerCoords* inCoords, size_t count, float scaleFactor, 181 PointerCoords* outCoords) { 517 int32_t x = int32_t(motionEntry->firstSample.pointerCoords[0]. 519 int32_t y = int32_t(motionEntry->firstSample.pointerCoords[0]. [all...] |
InputReader.cpp | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | 31 import android.view.MotionEvent.PointerCoords; 48 private PointerCoords mCoords = new PointerCoords(); 99 private final PointerCoords mTempCoords = new PointerCoords(); 388 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { 515 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; 529 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords;
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
EventSenderImpl.java | 457 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; 480 pointerCoords[numPoints] = new MotionEvent.PointerCoords(); 481 pointerCoords[numPoints].x = getTouchPoints().get(i).getX(); 482 pointerCoords[numPoints].y = getTouchPoints().get(i).getY(); 493 numPoints, pointerIds, pointerCoords,
|
/frameworks/base/core/jni/ |
android_view_MotionEvent.cpp | 143 "pointerCoords array must not be null"); 149 "pointerCoords array must be large enough to hold all pointers"); 176 "pointerCoords must not be null"); 192 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { 256 static void pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, 357 PointerCoords rawPointerCoords[pointerCount]; 369 jniThrowNullPointerException(env, "pointerCoords"); 415 PointerCoords rawPointerCoords[pointerCount]; 420 jniThrowNullPointerException(env, "pointerCoords"); 645 const PointerCoords* rawPointerCoords [all...] |
/frameworks/base/services/input/tests/ |
InputDispatcher_test.cpp | 144 PointerCoords pointerCoords[MAX_POINTERS + 1]; 148 pointerCoords[i].clear(); 155 /*pointerCount*/ 1, pointerProperties, pointerCoords); 165 /*pointerCount*/ 1, pointerProperties, pointerCoords); 174 /*pointerCount*/ 1, pointerProperties, pointerCoords); 184 /*pointerCount*/ 1, pointerProperties, pointerCoords); 193 /*pointerCount*/ 1, pointerProperties, pointerCoords); 202 /*pointerCount*/ 0, pointerProperties, pointerCoords); 210 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); [all...] |
InputReader_test.cpp | 116 virtual void setSpots(const PointerCoords* spotCoords, [all...] |
/prebuilt/sdk/14/ |
android.jar | |