/cts/tests/tests/view/src/android/view/cts/ |
MotionEvent_PointerPropertiesTest.java | 30 * Test {@link MotionEvent.PointerProperties}. 36 private MotionEvent.PointerProperties mPointerProperties; 51 final MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); 52 pointerProperties.copyFrom(mPointerProperties); 53 mBuilder.verifyMatchesPointerProperties(pointerProperties);
|
MotionEventUtils.java | 23 import android.view.MotionEvent.PointerProperties; 49 public PointerProperties build() { 50 final PointerProperties pointerProperties = 51 new PointerProperties(); 52 pointerProperties.id = id; 53 pointerProperties.toolType = toolType; 54 return pointerProperties; 64 public void verifyMatchesPointerProperties(PointerProperties that) { 70 final PointerProperties that = new PointerProperties() [all...] |
MotionEventTest.java | 39 import android.view.MotionEvent.PointerProperties; 173 new PointerProperties[] { propertiesBuilder0.build(), propertiesBuilder1.build() }, 435 new PointerProperties[] { propertiesBuilder0.build(), propertiesBuilder1.build() }, 466 new PointerProperties[] { propertiesBuilder0.build(), propertiesBuilder1.build() }, [all...] |
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
DocumentHolderTest.java | 30 import android.view.MotionEvent.PointerProperties; 69 PointerProperties properties[] = new PointerProperties[] { 70 new PointerProperties()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
TouchEventGenerator.java | 23 import android.view.MotionEvent.PointerProperties; 212 Pair<PointerProperties[], PointerCoords[]> state = getFingerState(); 239 private Pair<PointerProperties[], PointerCoords[]> getFingerState() { 241 PointerProperties[] properties = new PointerProperties[nFingers]; 249 PointerProperties property = new PointerProperties(); 263 return new Pair<MotionEvent.PointerProperties[], MotionEvent.PointerCoords[]>(
|
/frameworks/base/core/tests/coretests/src/android/view/ |
PinchZoomAction.java | 61 final MotionEvent.PointerProperties pp1 = new MotionEvent.PointerProperties(); 64 final MotionEvent.PointerProperties pp2 = new MotionEvent.PointerProperties(); 67 MotionEvent.PointerProperties[] pointerProperties = 68 new MotionEvent.PointerProperties[]{pp1, pp2}; 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/include/input/ |
Input.h | 270 struct PointerProperties { 282 bool operator==(const PointerProperties& other) const; 283 inline bool operator!=(const PointerProperties& other) const { 287 void copyFrom(const PointerProperties& other); 421 inline const PointerProperties* getPointerProperties(size_t pointerIndex) const { 572 const PointerProperties* pointerProperties, 600 inline const PointerProperties* getPointerProperties() const { 623 Vector<PointerProperties> mPointerProperties;
|
InputTransport.h | 102 PointerProperties properties; 251 const PointerProperties* pointerProperties,
|
/frameworks/base/core/java/android/view/ |
MotionEvent.java | [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseMovementMethodTest.java | 40 import android.view.MotionEvent.PointerProperties; 207 final PointerProperties[] pointerProperties = new PointerProperties[1]; 208 pointerProperties[0] = new PointerProperties(); 209 pointerProperties[0].id = 0; 216 pointerProperties, coords, meta, 0, 1.0f, 1.0f, 0, 0,
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
GestureBot.java | 32 import android.view.MotionEvent.PointerProperties; 151 PointerProperties properties = new PointerProperties(); 162 new PointerProperties[] { properties }, new PointerCoords[] { coords },
|
DirectoryListBot.java | 308 MotionEvent.PointerProperties[] pp = {new MotionEvent.PointerProperties()};
|
/frameworks/native/services/inputflinger/ |
InputListener.h | 94 PointerProperties pointerProperties[MAX_POINTERS]; 106 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
|
InputReader.h | 836 PointerProperties pointerProperties[MAX_POINTERS]; 853 inline PointerProperties& editPointerPropertiesWithId(uint32_t id) { 854 return pointerProperties[idToIndex[id]]; 858 return hoveringIdBits.hasBit(pointerProperties[pointerIndex].id); 862 return touchingIdBits.hasBit(pointerProperties[pointerIndex].id); [all...] |
InputListener.cpp | 73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, 81 this->pointerProperties[i].copyFrom(pointerProperties[i]); 94 pointerProperties[i].copyFrom(other.pointerProperties[i]);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
AutoclickController.java | 33 import android.view.MotionEvent.PointerProperties; 277 private PointerProperties mTempPointerProperties[]; 428 mTempPointerProperties = new PointerProperties[1]; 429 mTempPointerProperties[0] = new PointerProperties();
|
MagnificationGestureHandler.java | 34 import android.view.MotionEvent.PointerProperties; 123 private PointerProperties[] mTempPointerProperties; 302 PointerProperties[] properties = getTempPointerPropertiesWithMinSize( 333 private PointerProperties[] getTempPointerPropertiesWithMinSize(int size) { 337 PointerProperties[] oldTempPointerProperties = mTempPointerProperties; 338 mTempPointerProperties = new PointerProperties[size]; 345 mTempPointerProperties[i] = new PointerProperties(); [all...] |
TouchExplorer.java | 27 import android.view.MotionEvent.PointerProperties; 430 PointerProperties[] properties = new PointerProperties[1]; 431 properties[0] = new PointerProperties(); [all...] |
MotionEventInjector.java | 66 private static MotionEvent.PointerProperties[] sPointerProps; 458 sPointerProps = new MotionEvent.PointerProperties[touchPointsSize]; 460 sPointerProps[i] = new MotionEvent.PointerProperties();
|
/frameworks/native/libs/input/ |
Input.cpp | 200 // --- PointerProperties --- 202 bool PointerProperties::operator==(const PointerProperties& other) const { 207 void PointerProperties::copyFrom(const PointerProperties& other) { 231 const PointerProperties* pointerProperties, 246 mPointerProperties.appendArray(pointerProperties, pointerCount); 455 PointerProperties& properties = mPointerProperties.editTop(); 496 const PointerProperties& properties = mPointerProperties.itemAt(i) [all...] |
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 150 PointerProperties pointerProperties[pointerCount]; 153 pointerProperties[i].clear(); 154 pointerProperties[i].id = (i + 2) % pointerCount; 155 pointerProperties[i].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; 172 pointerProperties, pointerCoords); 206 EXPECT_EQ(pointerProperties[i].id, motionEvent->getPointerId(i)); 207 EXPECT_EQ(pointerProperties[i].toolType, motionEvent->getToolType(i)); 259 PointerProperties pointerProperties[pointerCount] [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
RecyclerViewOnGenericMotionEventTest.java | 120 MotionEvent.PointerProperties[] pointerProperties = { new MotionEvent.PointerProperties() }; 130 1, pointerProperties, pointerCoords, 0, 0, xPrecision, yPrecision, deviceId,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
InteractionController.java | 32 import android.view.MotionEvent.PointerProperties; 696 PointerProperties[] properties = new PointerProperties[touches.length]; 699 PointerProperties prop = new PointerProperties();
|
/frameworks/support/v13/tests/java/android/support/v13/view/ |
DragStartHelperTest.java | 115 MotionEvent.PointerProperties[] props = new MotionEvent.PointerProperties[] { 116 new MotionEvent.PointerProperties()
|
/frameworks/base/core/jni/ |
android_view_MotionEvent.cpp | 130 "pointerProperties array must not be null"); 136 "pointerProperties array must be large enough to hold all pointers"); 188 "pointerProperties must not be null"); 315 PointerProperties* outPointerProperties) { 323 static void pointerPropertiesFromNative(JNIEnv* env, const PointerProperties* pointerProperties, 326 pointerProperties->id); 328 pointerProperties->toolType); 355 PointerProperties pointerProperties[pointerCount] [all...] |