/cts/tests/tests/view/src/android/view/cts/ |
MotionEvent_PointerCoordsTest.java | 31 * Test {@link MotionEvent.PointerCoords}. 37 private MotionEvent.PointerCoords mPointerCoords; 96 final MotionEvent.PointerCoords pointerCoords = new MotionEvent.PointerCoords(); 97 pointerCoords.copyFrom(mPointerCoords); 98 mBuilder.verifyMatchesPointerCoords(pointerCoords);
|
MotionEventUtils.java | 22 import android.view.MotionEvent.PointerCoords; 115 public PointerCoords build() { 116 final PointerCoords pointerCoords = new PointerCoords(); 117 pointerCoords.x = x; 118 pointerCoords.y = y; 119 pointerCoords.pressure = pressure; 120 pointerCoords.size = size; 121 pointerCoords.touchMajor = touchMajor [all...] |
MotionEventTest.java | 38 import android.view.MotionEvent.PointerCoords; 174 new PointerCoords[] { coordsBuilder0.build(), coordsBuilder1.build() }, 436 new PointerCoords[] { coordsBuilder0.build(), coordsBuilder1.build() }, 467 new PointerCoords[] { 489 new PointerCoords[] { coordsBuilderNext0.build(), coordsBuilderNext1.build() }, 0); 518 new PointerCoords[] { coordsBuilderLast0.build(), coordsBuilderLast1.build() }, 0); 599 final PointerCoords[] pointerCoords = new PointerCoords[pointerCount]; 601 final PointerCoords c = new PointerCoords() [all...] |
ViewTest.java | 427 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[1]; 428 pointerCoords[0] = new MotionEvent.PointerCoords(); 429 pointerCoords[0].x = x; 430 pointerCoords[0].y = y; 436 1, pointerIds, pointerCoords, 0, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
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}; 87 eventTime, MotionEvent.ACTION_DOWN, 1, pointerProperties, pointerCoords, 94 2, pointerProperties, pointerCoords, 0, 0, 1, 1, 0, 0, 0, 0); 132 MotionEvent.ACTION_MOVE, 2, pointerProperties, pointerCoords, [all...] |
/frameworks/native/libs/input/tests/ |
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] [all...] |
InputPublisherAndConsumer_test.cpp | 152 PointerCoords pointerCoords[pointerCount]; 158 pointerCoords[i].clear(); 159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); 161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); 162 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); 163 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); 164 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); 165 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i) [all...] |
/frameworks/native/services/inputflinger/tests/ |
InputDispatcher_test.cpp | 144 PointerCoords pointerCoords[MAX_POINTERS + 1]; 148 pointerCoords[i].clear(); 155 /*pointerCount*/ 1, pointerProperties, pointerCoords); 166 /*pointerCount*/ 1, pointerProperties, pointerCoords); 176 /*pointerCount*/ 1, pointerProperties, pointerCoords); 187 /*pointerCount*/ 1, pointerProperties, pointerCoords); 197 /*pointerCount*/ 1, pointerProperties, pointerCoords); 207 /*pointerCount*/ 0, pointerProperties, pointerCoords); 216 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MotionEventHelper.java | 21 import android.view.MotionEvent.PointerCoords; 52 PointerCoords[] pointerCoords = getPointerCoords(e); 62 float[] xy = new float[pointerCoords.length * 2]; 64 xy[2 * i] = pointerCoords[i].x; 65 xy[2 * i + 1] = pointerCoords[i].y; 69 pointerCoords[i].x = xy[2 * i]; 70 pointerCoords[i].y = xy[2 * i + 1]; 71 pointerCoords[i].orientation = transformAngle( 72 m, pointerCoords[i].orientation) [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/native/services/inputflinger/ |
InputListener.h | 102 PointerCoords pointerCoords[MAX_POINTERS]; 113 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
InputDispatcher.h | 523 PointerCoords pointerCoords[MAX_POINTERS]; 531 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, 775 PointerCoords pointerCoords[MAX_POINTERS]; [all...] |
InputReader.cpp | [all...] |
InputReader.h | 836 PointerCoords pointerCoords[MAX_POINTERS]; 844 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { 845 return pointerCoords[idToIndex[id]]; 848 inline PointerCoords& editPointerCoordsWithId(uint32_t id) { 849 return pointerCoords[idToIndex[id]]; [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
RecyclerViewOnGenericMotionEventTest.java | 118 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); 120 MotionEvent.PointerCoords[] pointerCoords = { coords }; 127 1, pointerProperties, pointerCoords, 0, 0, xPrecision, yPrecision, deviceId,
|
TouchUtils.java | 158 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); 160 MotionEvent.PointerCoords[] pointerCoords = { coords }; 163 1, pointerProperties, pointerCoords, 0, 0, 1, 1, 0, 0, inputDevice, 0);
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 303 const PointerCoords* pointerCoords) { 347 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]); 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); [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
DirectoryListBot.java | 338 MotionEvent.PointerCoords[] pointerCoords = {new MotionEvent.PointerCoords()}; 339 pointerCoords[0].clear(); 340 pointerCoords[0].x = x; 341 pointerCoords[0].y = y; 342 pointerCoords[0].pressure = 0; 343 pointerCoords[0].size = 1; 351 pointerCoords,
|
/prebuilts/tools/common/m2/repository/com/jayway/android/robotium/robotium-solo/5.5.3/ |
robotium-solo-5.5.3.jar | |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | [all...] |
/prebuilts/misc/common/ub-uiautomator/ |
ub-uiautomator.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |