Searched refs:SingleKeyGestureDetector (Results 1 – 5 of 5) sorted by relevance
55 private SingleKeyGestureDetector mDetector;84 mDetector = SingleKeyGestureDetector.get(mContext, Looper.myLooper()); in setUp()88 mWaitTimeout = SingleKeyGestureDetector.MULTI_PRESS_TIMEOUT + 50; in setUp()89 mLongPressTime = SingleKeyGestureDetector.sDefaultLongPressTimeout + 50; in setUp()90 mVeryLongPressTime = SingleKeyGestureDetector.sDefaultVeryLongPressTimeout + 50; in setUp()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()
128 = SingleKeyGestureDetector.MULTI_PRESS_TIMEOUT + 1000L * HW_TIMEOUT_MULTIPLIER;
36 public final class SingleKeyGestureDetector { class189 static SingleKeyGestureDetector get(Context context, Looper looper) { in get()190 SingleKeyGestureDetector detector = new SingleKeyGestureDetector(looper); in get()198 private SingleKeyGestureDetector(Looper looper) { in SingleKeyGestureDetector() method in SingleKeyGestureDetector
708 private SingleKeyGestureDetector mSingleKeyGestureDetector;2595 private final class PowerKeyRule extends SingleKeyGestureDetector.SingleKeyRule {2666 private final class BackKeyRule extends SingleKeyGestureDetector.SingleKeyRule {2695 private final class StemPrimaryKeyRule extends SingleKeyGestureDetector.SingleKeyRule {2825 mSingleKeyGestureDetector = SingleKeyGestureDetector.get(mContext, looper);
21131 PLcom/android/server/policy/SingleKeyGestureDetector$KeyHandler;-><init>(Lcom/android/server/policy…21132 PLcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;-><init>(I)V21133 PLcom/android/server/policy/SingleKeyGestureDetector$SingleKeyRule;->equals(Ljava/lang/Object;)Z21134 PLcom/android/server/policy/SingleKeyGestureDetector;-><clinit>()V21135 PLcom/android/server/policy/SingleKeyGestureDetector;-><init>(Landroid/os/Looper;)V21136 PLcom/android/server/policy/SingleKeyGestureDetector;->addRule(Lcom/android/server/policy/SingleKey…21137 …erver/policy/SingleKeyGestureDetector;->get(Landroid/content/Context;Landroid/os/Looper;)Lcom/andr…