Home
last modified time | relevance | path

Searched refs:fromTouchScreen (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt131 private val fromTouchScreen = allOf(withDeviceId(touchDeviceId), withSource(SOURCE_TOUCHSCREEN)) constant
178 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_DOWN))) in testSingleDeviceTouchEventsWithoutA11yFeatures()
181 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_MOVE))) in testSingleDeviceTouchEventsWithoutA11yFeatures()
184 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_UP))) in testSingleDeviceTouchEventsWithoutA11yFeatures()
200 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_HOVER_ENTER))) in testSingleDeviceTouchEventsWithAllA11yFeatures()
204 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_HOVER_MOVE))) in testSingleDeviceTouchEventsWithAllA11yFeatures()
208 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_HOVER_EXIT))) in testSingleDeviceTouchEventsWithAllA11yFeatures()
224 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_HOVER_ENTER))) in testTouchDownCancelDownWithAllA11yFeatures()
228 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_HOVER_EXIT))) in testTouchDownCancelDownWithAllA11yFeatures()
233 verifier.assertReceivedMotion(allOf(fromTouchScreen, withMotionAction(ACTION_HOVER_ENTER))) in testTouchDownCancelDownWithAllA11yFeatures()
[all …]
/frameworks/base/core/java/android/widget/
DEditor.java5121 private void filterOnTouchUp(boolean fromTouchScreen) { in filterOnTouchUp() argument
5133 positionAtCursorOffset(mPreviousOffsets[index], false, fromTouchScreen); in filterOnTouchUp()
5220 protected abstract void updatePosition(float x, float y, boolean fromTouchScreen); in updatePosition() argument
5262 boolean fromTouchScreen) { in positionAtCursorOffset() argument
5275 if (fromTouchScreen && mHapticTextHandleEnabled) { in positionAtCursorOffset()
6041 protected void updatePosition(float x, float y, boolean fromTouchScreen) { in updatePosition() argument
6058 positionAtCursorOffset(offset, false, fromTouchScreen); in updatePosition()
6160 protected void updatePosition(float x, float y, boolean fromTouchScreen) { in updatePosition() argument
6166 fromTouchScreen); in updatePosition() local
6210 positionAndAdjustForCrossingHandles(offset, fromTouchScreen); in updatePosition()
[all …]