/frameworks/base/services/input/tests/ |
InputDispatcher_test.cpp | 145 PointerCoords pointerCoords[MAX_POINTERS + 1]; 149 pointerCoords[i].clear(); 156 /*pointerCount*/ 1, pointerProperties, pointerCoords); 166 /*pointerCount*/ 1, pointerProperties, pointerCoords); 175 /*pointerCount*/ 1, pointerProperties, pointerCoords); 185 /*pointerCount*/ 1, pointerProperties, pointerCoords); 194 /*pointerCount*/ 1, pointerProperties, pointerCoords); 203 /*pointerCount*/ 0, pointerProperties, pointerCoords); 211 /*pointerCount*/ MAX_POINTERS + 1, 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 | 148 PointerCoords pointerCoords[pointerCount]; 154 pointerCoords[i].clear(); 155 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_X, 100 * i); 156 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_Y, 200 * i); 157 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 0.5 * i); 158 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_SIZE, 0.7 * i); 159 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, 1.5 * i); 160 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR, 1.7 * i); 161 pointerCoords[i].setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, 2.5 * i) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MotionEventHelper.java | 22 import android.view.MotionEvent.PointerCoords; 53 PointerCoords[] pointerCoords = getPointerCoords(e); 63 float[] xy = new float[pointerCoords.length * 2]; 65 xy[2 * i] = pointerCoords[i].x; 66 xy[2 * i + 1] = pointerCoords[i].y; 70 pointerCoords[i].x = xy[2 * i]; 71 pointerCoords[i].y = xy[2 * i + 1]; 72 pointerCoords[i].orientation = transformAngle( 73 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/base/services/input/ |
InputListener.h | 94 PointerCoords pointerCoords[MAX_POINTERS]; 104 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
InputDispatcher.h | 520 PointerCoords pointerCoords[MAX_POINTERS]; 528 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords); 764 PointerCoords pointerCoords[MAX_POINTERS]; [all...] |
InputReader.cpp | [all...] |
InputReader.h | 788 PointerCoords pointerCoords[MAX_POINTERS]; 796 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { 797 return pointerCoords[idToIndex[id]]; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
MotionEventReader.java | 22 import android.view.MotionEvent.PointerCoords; 73 final ArrayList<PointerCoords[]> mPointerCoordsArrays = new ArrayList<PointerCoords[]>(); 201 final PointerCoords pointerCoords = new PointerCoords(); 202 pointerCoords.x = x; 203 pointerCoords.y = y; 204 pointerCoords.pressure = 1.0f; 205 pointerCoords.size = 1.0f [all...] |
/frameworks/native/libs/input/ |
InputTransport.cpp | 297 const PointerCoords* pointerCoords) { 339 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]); 660 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; 661 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); 764 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; 765 const PointerCoords& currentCoords = current->getPointerById(id); 768 const PointerCoords& otherCoords = other->getPointerById(id); 899 PointerCoords pointerCoords[pointerCount] [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...] |
/prebuilts/misc/common/ub-uiautomator/ |
ub-uiautomator.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |