/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/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...] |
/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/services/input/ |
InputListener.h | 93 PointerCoords pointerCoords[MAX_POINTERS]; 103 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
InputDispatcher.h | 516 PointerCoords pointerCoords[MAX_POINTERS]; 523 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 757 PointerCoords pointerCoords[MAX_POINTERS]; [all...] |
InputReader.cpp | [all...] |
InputReader.h | 737 PointerCoords pointerCoords[MAX_POINTERS]; [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
WebViewEventSender.java | 180 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; 185 pointerCoords[i] = new MotionEvent.PointerCoords(); 186 pointerCoords[i].x = mTouchPoints.get(i).getX(); 187 pointerCoords[i].y = mTouchPoints.get(i).getY(); 192 MotionEvent.ACTION_DOWN, numPoints, pointerIds, pointerCoords, 205 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints] [all...] |
/frameworks/base/libs/androidfw/ |
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/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,
|
/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...] |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |