Searched refs:SingleKeyRule (Results 1 – 4 of 4) sorted by relevance
49 private final ArrayList<SingleKeyRule> mRules = new ArrayList();50 private SingleKeyRule mActiveRule = null;78 abstract static class SingleKeyRule { class in SingleKeyGestureDetector81 SingleKeyRule(int keyCode) { in SingleKeyRule() method in SingleKeyGestureDetector.SingleKeyRule172 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 …]
2595 private final class PowerKeyRule extends SingleKeyGestureDetector.SingleKeyRule {2666 private final class BackKeyRule extends SingleKeyGestureDetector.SingleKeyRule {2695 private final class StemPrimaryKeyRule extends SingleKeyGestureDetector.SingleKeyRule {
95 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()
21132 PLcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;-><init>(I)V21133 PLcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;->equals(Ljava/lang/Object;)Z21136 …leKeyGestureDetector;->addRule(Lcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;)V