Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java49 private final ArrayList<SingleKeyRule> mRules = new ArrayList();
50 private SingleKeyRule mActiveRule = null;
78 abstract static class SingleKeyRule { class in SingleKeyGestureDetector
81 SingleKeyRule(int keyCode) { in SingleKeyRule() method in SingleKeyGestureDetector.SingleKeyRule
172 if (o instanceof SingleKeyRule) { in equals()
173 SingleKeyRule that = (SingleKeyRule) o; in equals()
185 private record MessageObject(SingleKeyRule activeRule, int keyCode, int pressCount, in MessageObject()
202 void addRule(SingleKeyRule rule) { in addRule()
209 void removeRule(SingleKeyRule rule) { in removeRule()
261 final SingleKeyRule rule = mRules.get(index); in interceptKeyDown()
[all …]
DPhoneWindowManager.java2595 private final class PowerKeyRule extends SingleKeyGestureDetector.SingleKeyRule {
2666 private final class BackKeyRule extends SingleKeyGestureDetector.SingleKeyRule {
2695 private final class StemPrimaryKeyRule extends SingleKeyGestureDetector.SingleKeyRule {
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DSingleKeyGestureTests.java95 new SingleKeyGestureDetector.SingleKeyRule(KEYCODE_POWER) { in initSingleKeyGestureRules()
150 new SingleKeyGestureDetector.SingleKeyRule(KEYCODE_BACK) { in initSingleKeyGestureRules()
398 final SingleKeyGestureDetector.SingleKeyRule rule = in testAddRemove()
399 new SingleKeyGestureDetector.SingleKeyRule(KEYCODE_POWER) { in testAddRemove()
/frameworks/base/services/
Dart-wear-profile21132 PLcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;-><init>(I)V
21133 PLcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;->equals(Ljava/lang/Object;)Z
21136 …leKeyGestureDetector;->addRule(Lcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;)V