/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/libs/androidfw/ |
Input.cpp | 156 // --- PointerCoords --- 158 float PointerCoords::getAxisValue(int32_t axis) const { 171 status_t PointerCoords::setAxisValue(int32_t axis, float value) { 196 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { 203 void PointerCoords::scale(float scaleFactor) { 215 status_t PointerCoords::readFromParcel(Parcel* parcel) { 229 status_t PointerCoords::writeToParcel(Parcel* parcel) const { 240 void PointerCoords::tooManyAxes(int axis) { 241 ALOGW("Could not set value for axis %d because the PointerCoords structure is full and " 245 bool PointerCoords::operator==(const PointerCoords& other) const [all...] |
InputTransport.cpp | 291 const PointerCoords* pointerCoords) { 333 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]); 651 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; 652 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); 755 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; 756 const PointerCoords& currentCoords = current->getPointerById(id); 759 const PointerCoords& otherCoords = other->getPointerById(id); 890 PointerCoords pointerCoords[pointerCount] [all...] |
/frameworks/base/include/androidfw/ |
Input.h | 161 struct PointerCoords { 162 enum { MAX_AXES = 14 }; // 14 so that sizeof(PointerCoords) == 64 193 bool operator==(const PointerCoords& other) const; 194 inline bool operator!=(const PointerCoords& other) const { 198 void copyFrom(const PointerCoords& other); 371 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const; 427 const PointerCoords* getHistoricalRawPointerCoords( 508 const PointerCoords* pointerCoords); 514 const PointerCoords* pointerCoords) [all...] |
InputTransport.h | 92 PointerCoords coords; 236 const PointerCoords* pointerCoords); 355 PointerCoords pointers[MAX_POINTERS]; 368 const PointerCoords& getPointerById(uint32_t id) const {
|
/frameworks/base/core/java/android/view/ |
MotionEvent.java | 443 * @see MotionEvent.PointerCoords#x 468 * @see MotionEvent.PointerCoords#y 490 * @see MotionEvent.PointerCoords#pressure 510 * @see MotionEvent.PointerCoords#size 531 * @see MotionEvent.PointerCoords#touchMajor 554 * @see MotionEvent.PointerCoords#touchMinor 579 * @see MotionEvent.PointerCoords#toolMajor 604 * @see MotionEvent.PointerCoords#toolMinor 631 * @see MotionEvent.PointerCoords#orientation 649 * @see MotionEvent.PointerCoords#getAxisValue(int [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 28 import android.view.MotionEvent.PointerCoords; 347 final PointerCoords[] pointerCoords = new PointerCoords[pointerCount]; 349 final PointerCoords c = new PointerCoords(); 352 pointerCoords[i] = c; 358 pointerCount, pointerIds, pointerCoords, 0, 0, 0, 0, 0, 0, 0); 383 final PointerCoords c = pointerCoords[i] [all...] |
/frameworks/base/libs/androidfw/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 | 147 PointerCoords pointerCoords[pointerCount]; 153 pointerCoords[i].clear(); 154 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); 155 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); 156 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); 157 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); 158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); 159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i) [all...] |
/frameworks/base/services/input/ |
InputListener.h | 93 PointerCoords pointerCoords[MAX_POINTERS]; 103 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
PointerController.h | 103 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex, 169 virtual void setSpots(const PointerCoords* spotCoords,
|
InputReader.h | 737 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.h | 516 PointerCoords pointerCoords[MAX_POINTERS]; 523 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 757 PointerCoords pointerCoords[MAX_POINTERS]; [all...] |
InputReader.cpp | [all...] |
InputDispatcher.cpp | 426 int32_t x = int32_t(motionEntry->pointerCoords[0]. 428 int32_t y = int32_t(motionEntry->pointerCoords[0]. 862 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X), 863 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y), 864 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), 865 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE), 866 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), 867 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), 868 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), 869 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | 34 import android.view.MotionEvent.PointerCoords; 55 private PointerCoords mCoords = new PointerCoords(); 111 private final PointerCoords mTempCoords = new PointerCoords(); 416 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { 549 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; 563 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 | 144 "pointerCoords array must not be null"); 150 "pointerCoords array must be large enough to hold all pointers"); 177 "pointerCoords must not be null"); 193 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { 257 static void pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, 358 PointerCoords rawPointerCoords[pointerCount]; 370 jniThrowNullPointerException(env, "pointerCoords"); 416 PointerCoords rawPointerCoords[pointerCount]; 421 jniThrowNullPointerException(env, "pointerCoords"); 646 const PointerCoords* rawPointerCoords [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
TouchExplorer.java | 32 import android.view.MotionEvent.PointerCoords; [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...] |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |