/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
H A D | GestureHelper.java | 27 import android.view.MotionEvent.PointerProperties; 43 @Nullable private PointerProperties mPrimaryPtrProp; 107 PointerProperties[] ptrProps = new PointerProperties[] { ptrProp }; in dragWithoutRelease() 155 PointerProperties[] ptrProps = new PointerProperties[] { in pinch() 185 private boolean primaryPointerDown(@NonNull PointerProperties prop, in primaryPointerDown() 193 private boolean nonPrimaryPointerDown(@NonNull PointerProperties[] props, in nonPrimaryPointerDown() 208 private boolean movePointers(@NonNull PointerProperties[] props, in movePointers() 255 private boolean primaryPointerUp(@NonNull PointerProperties prop, in primaryPointerUp() 265 private boolean nonPrimaryPointerUp(@NonNull PointerProperties[] props, in nonPrimaryPointerUp() 289 private PointerProperties getPointerProp(int id, int toolType) { in getPointerProp() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
H A D | TouchEventGenerator.java | 85 final MotionEvent.PointerProperties[] pointerPropertiesArray = in generateMultiplePointersEvent() 86 new MotionEvent.PointerProperties[length]; in generateMultiplePointersEvent() 93 MotionEvent.PointerProperties pointerProperties = new MotionEvent.PointerProperties(); in generateMultiplePointersEvent() 146 final MotionEvent.PointerProperties[] pp = new MotionEvent.PointerProperties[pointerCount]; in movePointer() 148 MotionEvent.PointerProperties pointerProperty = new MotionEvent.PointerProperties(); in movePointer()
|
H A D | GestureLogParser.java | 35 final MotionEvent.PointerProperties[] properties; in getMotionEventFromLogLine() 118 private static MotionEvent.PointerProperties[] findProperties( in findProperties() 124 final MotionEvent.PointerProperties[] props = in findProperties() 125 new MotionEvent.PointerProperties[pointerCount]; in findProperties() 129 MotionEvent.PointerProperties pointerProps = new MotionEvent.PointerProperties(); in findProperties()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | MotionEventTest.java | 33 import android.view.MotionEvent.PointerProperties; 53 PointerProperties[] properties = new PointerProperties[pointerCount]; in testObtainWithDisplayId() 60 final PointerProperties p = new PointerProperties(); in testObtainWithDisplayId() 128 final PointerProperties[] properties = new PointerProperties[pointerCount]; in testCalculatesCursorPositionForMultiTouchMouseEvents() 132 properties[i] = new PointerProperties(); in testCalculatesCursorPositionForMultiTouchMouseEvents()
|
H A D | PinchZoomAction.java | 60 final MotionEvent.PointerProperties pp1 = new MotionEvent.PointerProperties(); in sendPinchZoomAction() 63 final MotionEvent.PointerProperties pp2 = new MotionEvent.PointerProperties(); in sendPinchZoomAction() 66 MotionEvent.PointerProperties[] pointerProperties = in sendPinchZoomAction() 67 new MotionEvent.PointerProperties[]{pp1, pp2}; in sendPinchZoomAction()
|
H A D | ViewGroupTest.java | 65 MotionEvent.PointerProperties[] properties = new MotionEvent.PointerProperties[2]; in testDispatchMouseEventsUnderCursor() 66 properties[0] = new MotionEvent.PointerProperties(); in testDispatchMouseEventsUnderCursor() 69 properties[1] = new MotionEvent.PointerProperties(); in testDispatchMouseEventsUnderCursor()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
H A D | PointerCountClassifierTest.java | 68 MotionEvent.PointerProperties[] pointerProperties = in testFail_multiPointer() 69 MotionEvent.PointerProperties.createArray(2); in testFail_multiPointer() 85 MotionEvent.PointerProperties[] pointerProperties = in testPass_multiPointerDragDown() 86 MotionEvent.PointerProperties.createArray(2); in testPass_multiPointerDragDown()
|
H A D | ClassifierTest.java | 157 MotionEvent.PointerProperties[] pointerProperties = in appendTrackpadMotionEvent() 158 new MotionEvent.PointerProperties[pointerCount]; in appendTrackpadMotionEvent() 170 private static MotionEvent.PointerProperties getPointerProperties(int pointerId) { in getPointerProperties() 171 MotionEvent.PointerProperties properties = new MotionEvent.PointerProperties(); in getPointerProperties()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | EventDispatcher.java | 28 import android.view.MotionEvent.PointerProperties; 201 PointerProperties[] props = PointerProperties.createArray(pointerCount); in offsetEvent() 325 MotionEvent.PointerProperties[] properties = in computeInjectionDownEvent() 326 new MotionEvent.PointerProperties[pointerCount]; in computeInjectionDownEvent() 334 properties[i] = new MotionEvent.PointerProperties(); in computeInjectionDownEvent() 420 PointerProperties[] properties = new PointerProperties[1]; in clickWithTouchEvents() 421 properties[0] = new PointerProperties(); in clickWithTouchEvents()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 2845 PointerProperties outPointerProperties) { in getPointerProperties() 4572 public static final class PointerProperties { class in MotionEvent 4576 public PointerProperties() { in PointerProperties() method in MotionEvent.PointerProperties 4585 public PointerProperties(PointerProperties other) { in PointerProperties() method in MotionEvent.PointerProperties 4591 public static PointerProperties[] createArray(int size) { in createArray() 4592 PointerProperties[] array = new PointerProperties[size]; in createArray() 4594 array[i] = new PointerProperties(); in createArray() 4628 public void copyFrom(PointerProperties other) { in copyFrom() 4635 if (other instanceof PointerProperties) { in equals() 4636 return equals((PointerProperties)other); in equals() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | FalsingDataProvider.java | 25 import android.view.MotionEvent.PointerProperties; 323 List<PointerProperties> pointerPropertiesList = new ArrayList<>(); 326 PointerProperties pointerProperties = new PointerProperties(); 330 PointerProperties[] pointerPropertiesArray = new PointerProperties[pointerPropertiesList
|
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | MotionPredictorTest.kt | 27 import android.view.MotionEvent.PointerProperties 52 val properties = arrayOfNulls<MotionEvent.PointerProperties>(pointerCount) 56 properties[i] = PointerProperties()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/input/ |
H A D | MotionPredictorBenchmark.kt | 28 import android.view.MotionEvent.PointerProperties 53 val properties = arrayOfNulls<MotionEvent.PointerProperties>(pointerCount) 57 properties[i] = PointerProperties()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/ |
H A D | DividerViewTest.java | 99 MotionEvent.PointerProperties properties = new MotionEvent.PointerProperties(); in getMotionEvent() 110 new MotionEvent.PointerProperties[]{properties}, in getMotionEvent()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipResizeGestureHandlerTest.java | 65 private final MotionEvent.PointerProperties[] mPp = new MotionEvent.PointerProperties[2]; 128 MotionEvent.PointerProperties pointerProperty = new MotionEvent.PointerProperties(); in setUp()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AutoclickController.java | 32 import android.view.MotionEvent.PointerProperties; 266 private PointerProperties mTempPointerProperties[]; 417 mTempPointerProperties = new PointerProperties[1]; in sendClick() 418 mTempPointerProperties[0] = new PointerProperties(); in sendClick()
|
H A D | MotionEventInjector.java | 67 private static MotionEvent.PointerProperties[] sPointerProps; 472 sPointerProps = new MotionEvent.PointerProperties[touchPointsSize]; in obtainMotionEvent() 474 sPointerProps[i] = new MotionEvent.PointerProperties(); in obtainMotionEvent()
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 32 import android.view.MotionEvent.PointerProperties; 696 PointerProperties[] properties = new PointerProperties[touches.length]; 699 PointerProperties prop = new PointerProperties();
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/ |
H A D | SinglePointerTouchProcessorTest.kt | 22 import android.view.MotionEvent.PointerProperties 584 val pp = MotionEvent.PointerProperties() 680 val pp = PointerProperties() 693 pointerProperties: Array<MotionEvent.PointerProperties>, 730 pointerProperties: List<MotionEvent.PointerProperties>,
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | PointerIconTest.java | 290 MotionEvent.PointerProperties[] properties = MotionEvent.PointerProperties.createArray(1); in createHoverEvent()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | HandwritingInitiatorPerfTest.java | 213 MotionEvent.PointerProperties[] properties = MotionEvent.PointerProperties.createArray(1); in createMotionEvent()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | FullScreenMagnificationGestureHandler.java | 60 import android.view.MotionEvent.PointerProperties; 148 private PointerProperties[] mTempPointerProperties; 308 private PointerProperties[] getTempPointerPropertiesWithMinSize(int size) { in getTempPointerPropertiesWithMinSize() 312 PointerProperties[] oldTempPointerProperties = mTempPointerProperties; in getTempPointerPropertiesWithMinSize() 313 mTempPointerProperties = new PointerProperties[size]; in getTempPointerPropertiesWithMinSize() 320 mTempPointerProperties[i] = new PointerProperties(); in getTempPointerPropertiesWithMinSize()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
H A D | QuickSettingsControllerTest.java | 446 new MotionEvent.PointerProperties[] { in createMultitouchMotionEvent() 447 new MotionEvent.PointerProperties(), in createMultitouchMotionEvent() 448 new MotionEvent.PointerProperties() in createMultitouchMotionEvent()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
H A D | TouchExplorerTest.java | 679 final MotionEvent.PointerProperties[] pp = new MotionEvent.PointerProperties[len]; in manyPointerEvent() 681 MotionEvent.PointerProperties pointerProperty = new MotionEvent.PointerProperties(); in manyPointerEvent()
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputShellCommand.java | 161 MotionEvent.PointerProperties[] pointerProperties = in injectMotionEvent() 162 new MotionEvent.PointerProperties[pointerCount]; in injectMotionEvent() 165 pointerProperties[i] = new MotionEvent.PointerProperties(); in injectMotionEvent()
|