Home
last modified time | relevance | path

Searched refs:KEYCODE_VOLUME_DOWN (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DKeyCombinationManagerTests.java23 import static android.view.KeyEvent.KEYCODE_VOLUME_DOWN;
71 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, in initKeyCombinationRules()
85 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, in initKeyCombinationRules()
163 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testTriggerRule()
166 pressKeys(eventTime, KEYCODE_VOLUME_UP, eventTime, KEYCODE_VOLUME_DOWN); in testTriggerRule()
179 pressKeys(eventTime, KEYCODE_BACK, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_NoRule()
192 pressKeys(earlyEventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_Interval()
204 pressKeys(eventTime, KEYCODE_VOLUME_UP, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_Condition()
235 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, in testAddRemove()
249 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testAddRemove()
[all …]
DCombinationKeyTests.java19 import static android.view.KeyEvent.KEYCODE_VOLUME_DOWN;
55 sendKeyCombination(new int[]{KEYCODE_POWER, KEYCODE_VOLUME_DOWN}, in testPowerVolumeDown()
81 sendKeyCombination(new int[]{KEYCODE_VOLUME_DOWN, KEYCODE_VOLUME_UP}, A11Y_KEY_HOLD_MILLIS); in testVolumeDownVolumeUp()
DShortcutLoggingTests.java131 {"VOLUME_DOWN key -> Decrease Volume", new int[]{KeyEvent.KEYCODE_VOLUME_DOWN}, in shortcutTestArguments()
132 KeyboardLogEvent.VOLUME_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN, 0}, in shortcutTestArguments()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteControllerDialog.java235 if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN in onKeyDown()
237 mRoute.requestUpdateVolume(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN ? -1 : 1); in onKeyDown()
245 if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN in onKeyUp()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java90 case KeyEvent.KEYCODE_VOLUME_DOWN: in onKeyDown()
217 case KeyEvent.KEYCODE_VOLUME_DOWN: in onKeyUp()
DPhoneWindow.java2023 case KeyEvent.KEYCODE_VOLUME_DOWN: in onKeyDown()
2123 case KeyEvent.KEYCODE_VOLUME_DOWN: { in onKeyUp()
/frameworks/base/services/core/java/com/android/server/media/
DMediaKeyDispatcher.java74 mOverriddenKeyEvents.put(KeyEvent.KEYCODE_VOLUME_DOWN, 0); in MediaKeyDispatcher()
DMediaSessionService.java2101 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_DOWN in dispatchVolumeKeyEvent()
2146 case KeyEvent.KEYCODE_VOLUME_DOWN: in dispatchVolumeKeyEventLocked()
2230 case KeyEvent.KEYCODE_VOLUME_DOWN: in dispatchVolumeKeyEventToSessionAsSystemService()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java84 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
120 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN); in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractor.kt52 KeyEvent.KEYCODE_VOLUME_DOWN, in dispatchKeyEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java150 if ((keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) || (keyCode == KeyEvent.KEYCODE_VOLUME_UP)) { in getEventDelay()
/frameworks/base/core/java/android/preference/
DVolumePreference.java100 case KeyEvent.KEYCODE_VOLUME_DOWN: in onKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessDialog.java199 if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN in onKeyDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DCsdWarningDialog.java181 if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN in onKeyUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractorTest.kt57 KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOLUME_DOWN)
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecKeycode.java313 new KeycodeEntry(KeyEvent.KEYCODE_VOLUME_DOWN, CEC_KEYCODE_VOLUME_DOWN),
DHdmiControlService.java4821 keyCode = KeyEvent.KEYCODE_VOLUME_DOWN; in onAudioDeviceVolumeAdjusted()
/frameworks/base/services/core/java/com/android/server/input/
DKeyboardMetricsCollector.java258 case KeyEvent.KEYCODE_VOLUME_DOWN: in getVolumeEvent()
/frameworks/base/core/java/android/widget/
DMediaController.java557 } else if (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN in dispatchKeyEvent()
DVideoView.java749 keyCode != KeyEvent.KEYCODE_VOLUME_DOWN && in onKeyDown()
/frameworks/base/core/java/android/view/
DKeyEvent.java163 public static final int KEYCODE_VOLUME_DOWN = 25; field in KeyEvent
2125 case KeyEvent.KEYCODE_VOLUME_DOWN: in isSystemKey()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDevicePlaybackTest.java1393 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_DOWN, true); in sendVolumeKeyEvent_down_volumeEnabled()
1394 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_DOWN, false); in sendVolumeKeyEvent_down_volumeEnabled()
1456 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_DOWN, true); in sendVolumeKeyEvent_down_volumeDisabled()
1457 mHdmiCecLocalDevicePlayback.sendVolumeKeyEvent(KeyEvent.KEYCODE_VOLUME_DOWN, false); in sendVolumeKeyEvent_down_volumeDisabled()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java988 case KeyEvent.KEYCODE_VOLUME_DOWN: in interceptMediaKey()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java50 import static android.view.KeyEvent.KEYCODE_VOLUME_DOWN;
2456 new TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, KEYCODE_POWER) {
2487 new TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, KEYCODE_VOLUME_UP) {
3647 case KeyEvent.KEYCODE_VOLUME_DOWN:
4757 case KeyEvent.KEYCODE_VOLUME_DOWN:
/frameworks/base/media/java/android/media/
DAudioManager.java983 if (keyCode != KeyEvent.KEYCODE_VOLUME_DOWN && keyCode != KeyEvent.KEYCODE_VOLUME_UP in preDispatchKeyEvent()

12