Searched refs:mDetector (Results 1 – 2 of 2) sorted by relevance
55 private SingleKeyGestureDetector mDetector; field in SingleKeyGestureTests84 mDetector = SingleKeyGestureDetector.get(mContext, Looper.myLooper()); in setUp()94 mDetector.addRule( in initSingleKeyGestureRules()113 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForPress) { in initSingleKeyGestureRules()121 if (mDetector.beganFromNonInteractive() in initSingleKeyGestureRules()135 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForPress) { in initSingleKeyGestureRules()149 mDetector.addRule( in initSingleKeyGestureRules()163 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForPress) { in initSingleKeyGestureRules()171 if (mDetector.beganFromNonInteractive() && !mAllowNonInteractiveForPress) { in initSingleKeyGestureRules()220 mDetector.interceptKey(keyDown, interactive, defaultDisplayOn); in pressKey()[all …]
70 private ScaleGestureDetector mDetector; field in TransformTestActivity.TransformView128 mDetector = new ScaleGestureDetector(context, new Listener()); in TransformView()147 mDetector.onTouchEvent(event); in onTouchEvent()150 if (!mDetector.isInProgress()) { in onTouchEvent()