Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java50 private SingleKeyRule mActiveRule = null; field in SingleKeyGestureDetector
230 if (mActiveRule != null && (event.getFlags() & KeyEvent.FLAG_LONG_PRESS) != 0 in interceptKeyDown()
231 && mActiveRule.supportLongPress() && !mHandledByLongPress) { in interceptKeyDown()
238 MessageObject object = new MessageObject(mActiveRule, keyCode, /* pressCount= */ 1, in interceptKeyDown()
249 || (mActiveRule != null && !mActiveRule.shouldInterceptKey(keyCode))) { in interceptKeyDown()
258 if (mActiveRule == null) { in interceptKeyDown()
266 mActiveRule = rule; in interceptKeyDown()
272 if (mActiveRule == null) { in interceptKeyDown()
285 if (mActiveRule.supportLongPress()) { in interceptKeyDown()
286 MessageObject object = new MessageObject(mActiveRule, keyCode, mKeyPressCounter, in interceptKeyDown()
[all …]