Home
last modified time | relevance | path

Searched refs:mDetector (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DSingleKeyGestureTests.java55 private SingleKeyGestureDetector mDetector; field in SingleKeyGestureTests
84 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 …]
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java70 private ScaleGestureDetector mDetector; field in TransformTestActivity.TransformView
128 mDetector = new ScaleGestureDetector(context, new Listener()); in TransformView()
147 mDetector.onTouchEvent(event); in onTouchEvent()
150 if (!mDetector.isInProgress()) { in onTouchEvent()