Home
last modified time | relevance | path

Searched refs:SOURCE_ROTARY_ENCODER (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DHapticScrollFeedbackProviderTest.java76 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testRotaryEncoder_noFeedbackWhenViewBasedFeedbackIsEnabled()
79 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL); in testRotaryEncoder_noFeedbackWhenViewBasedFeedbackIsEnabled()
81 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testRotaryEncoder_noFeedbackWhenViewBasedFeedbackIsEnabled()
96 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testRotaryEncoder_feedbackWhenDisregardingViewBasedScrollHaptics()
99 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL); in testRotaryEncoder_feedbackWhenDisregardingViewBasedScrollHaptics()
101 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testRotaryEncoder_feedbackWhenDisregardingViewBasedScrollHaptics()
115 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL); in testNoFeedbackWhenFeedbackIsDisabled()
117 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testNoFeedbackWhenFeedbackIsDisabled()
120 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testNoFeedbackWhenFeedbackIsDisabled()
123 INPUT_DEVICE_1, InputDevice.SOURCE_ROTARY_ENCODER, MotionEvent.AXIS_SCROLL, in testNoFeedbackWhenFeedbackIsDisabled()
[all …]
DRotaryScrollHapticsTest.java20 import static android.view.InputDevice.SOURCE_ROTARY_ENCODER;
181 TEST_ROTARY_DEVICE_ID, SOURCE_ROTARY_ENCODER, AXIS_SCROLL, scrollPixels); in verifyScrollProgress()
191 TEST_ROTARY_DEVICE_ID, SOURCE_ROTARY_ENCODER, AXIS_SCROLL, isStart); in verifyScrollLimit()
235 TEST_ROTARY_DEVICE_ID, SOURCE_ROTARY_ENCODER, ACTION_SCROLL, coords); in createRotaryEvent()
/frameworks/base/tests/Input/src/com/android/server/input/
DInputShellCommandTest.java20 import static android.view.InputDevice.SOURCE_ROTARY_ENCODER;
95 assertSourceAndAction(event, SOURCE_ROTARY_ENCODER, ACTION_SCROLL); in testScroll_withNonPointerSource_noAxisOption()
104 assertSourceAndAction(event, SOURCE_ROTARY_ENCODER, ACTION_SCROLL); in testScroll_withNonPointerSource_withScrollAxisOptions()
114 assertSourceAndAction(event, SOURCE_ROTARY_ENCODER, ACTION_SCROLL); in testDefaultScrollSource()
/frameworks/base/core/tests/coretests/src/android/widget/
DMotionEventUtils.java20 import static android.view.InputDevice.SOURCE_ROTARY_ENCODER;
36 return createGenericMotionEvent(SOURCE_ROTARY_ENCODER, ACTION_SCROLL, coords); in createRotaryEvent()
/frameworks/base/core/java/android/view/
DViewConfiguration.java1227 if (source == InputDevice.SOURCE_ROTARY_ENCODER) return mMinimumRotaryEncoderFlingVelocity; in getScaledMinimumFlingVelocity()
1245 if (source == InputDevice.SOURCE_ROTARY_ENCODER) return mMaximumRotaryEncoderFlingVelocity; in getScaledMaximumFlingVelocity()
1284 if (source == InputDevice.SOURCE_ROTARY_ENCODER && axis == MotionEvent.AXIS_SCROLL) { in isHapticScrollFeedbackEnabled()
1334 if (source == InputDevice.SOURCE_ROTARY_ENCODER && axis == MotionEvent.AXIS_SCROLL) { in getHapticScrollFeedbackTickInterval()
DHapticScrollFeedbackProvider.java139 && (source == InputDevice.SOURCE_ROTARY_ENCODER) in maybeUpdateCurrentConfig()
DInputDevice.java333 public static final int SOURCE_ROTARY_ENCODER = 0x00400000 | SOURCE_CLASS_NONE; field in InputDevice
378 SOURCE_ROTARY_ENCODER,
DView.java16568 final boolean isRotaryEncoderEvent = event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER); in dispatchGenericMotionEventInternal()
18534 rotaryEvent.getDeviceId(), InputDevice.SOURCE_ROTARY_ENCODER, in doRotaryProgressForScrollHaptics()
18541 rotaryEvent.getDeviceId(), InputDevice.SOURCE_ROTARY_ENCODER, in doRotaryLimitForScrollHaptics()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DWindowWakeUpPolicyTests.java25 import static android.view.InputDevice.SOURCE_ROTARY_ENCODER;
147 assertThat(mPolicy.wakeUpFromMotion(300, SOURCE_ROTARY_ENCODER, false)).isTrue(); in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake()
148 verify(mInputWakeUpDelegate).wakeUpFromMotion(300, SOURCE_ROTARY_ENCODER, false); in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake()
/frameworks/base/tests/Input/src/com/android/server/input/debug/
DFocusEventDebugViewTest.java107 /* source */ InputDevice.SOURCE_ROTARY_ENCODER, in createRotaryMotionEvent()
/frameworks/base/apct-tests/perftests/core/src/android/input/
DVelocityTrackerBenchmarkTest.kt90 InputDevice.SOURCE_ROTARY_ENCODER, in createMotionEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java123 map.put("rotaryencoder", InputDevice.SOURCE_ROTARY_ENCODER);
545 inputSource = getSource(inputSource, InputDevice.SOURCE_ROTARY_ENCODER); in runScroll()
/frameworks/base/services/core/java/com/android/server/input/debug/
DFocusEventDebugView.java239 if (event.getSource() != InputDevice.SOURCE_ROTARY_ENCODER) { in reportMotionEvent()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java633 InputDevice.SOURCE_ROTARY_ENCODER,
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java874 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DScrollView.java976 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
DAbsListView.java4502 } else if (event.isFromSource(InputDevice.SOURCE_ROTARY_ENCODER)) { in onGenericMotionEvent()
/frameworks/base/core/api/
Dcurrent.txt51066 field public static final int SOURCE_ROTARY_ENCODER = 4194304; // 0x400000