Home
last modified time | relevance | path

Searched refs:TwoKeysCombinationRule (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
DKeyCombinationManager.java42 private final ArrayList<TwoKeysCombinationRule> mRules = new ArrayList();
47 private final ArrayList<TwoKeysCombinationRule> mActiveRules = new ArrayList();
50 private TwoKeysCombinationRule mTriggeredRule;
68 abstract static class TwoKeysCombinationRule { class in KeyCombinationManager
72 TwoKeysCombinationRule(int keyCode1, int keyCode2) { in TwoKeysCombinationRule() method in KeyCombinationManager.TwoKeysCombinationRule
115 if (o instanceof TwoKeysCombinationRule) { in equals()
116 TwoKeysCombinationRule that = (TwoKeysCombinationRule) o; in equals()
135 void addRule(TwoKeysCombinationRule rule) { in addRule()
142 void removeRule(TwoKeysCombinationRule rule) { in removeRule()
216 final TwoKeysCombinationRule rule = mActiveRules.get(index); in interceptKeyLocked()
[all …]
DPhoneWindowManager.java233 import com.android.server.policy.KeyCombinationManager.TwoKeysCombinationRule;
2456 new TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, KEYCODE_POWER) {
2471 new TwoKeysCombinationRule(KEYCODE_POWER, KEYCODE_STEM_PRIMARY) {
2487 new TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, KEYCODE_VOLUME_UP) {
2507 new TwoKeysCombinationRule(KEYCODE_VOLUME_UP, KEYCODE_POWER) {
2551 new TwoKeysCombinationRule(KEYCODE_BACK, KEYCODE_DPAD_DOWN) {
2574 new TwoKeysCombinationRule(KEYCODE_DPAD_CENTER, KEYCODE_BACK) {
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DKeyCombinationManagerTests.java71 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, in initKeyCombinationRules()
85 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, in initKeyCombinationRules()
109 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_UP, KEYCODE_POWER) { in initKeyCombinationRules()
234 final KeyCombinationManager.TwoKeysCombinationRule rule = in testAddRemove()
235 new KeyCombinationManager.TwoKeysCombinationRule(KEYCODE_VOLUME_DOWN, in testAddRemove()
/frameworks/base/services/
Dart-wear-profile20940 PLcom/android/server/policy/KeyCombinationManager$TwoKeysCombinationRule;-><init>(II)V
20941 PLcom/android/server/policy/KeyCombinationManager$TwoKeysCombinationRule;->equals(Ljava/lang/Object…
20943 …inationManager;->addRule(Lcom/android/server/policy/KeyCombinationManager$TwoKeysCombinationRule;)V