Searched refs:MultiTapStatus (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | EditorTouchState.java | 47 @IntDef({MultiTapStatus.NONE, MultiTapStatus.FIRST_TAP, MultiTapStatus.DOUBLE_TAP, 48 MultiTapStatus.TRIPLE_CLICK}) 51 public @interface MultiTapStatus { annotation in EditorTouchState 57 @MultiTapStatus 58 private int mMultiTapStatus = MultiTapStatus.NONE; 81 return mMultiTapStatus == MultiTapStatus.DOUBLE_TAP; in isDoubleTap() 85 return mMultiTapStatus == MultiTapStatus.TRIPLE_CLICK; in isTripleClick() 89 return mMultiTapStatus == MultiTapStatus.DOUBLE_TAP in isMultiTap() 90 || mMultiTapStatus == MultiTapStatus.TRIPLE_CLICK; in isMultiTap() 147 && (mMultiTapStatus == MultiTapStatus.FIRST_TAP in update() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 29 import android.widget.EditorTouchState.MultiTapStatus; 100 MultiTapStatus.DOUBLE_TAP, true); in testUpdate_doubleTap_sameArea() 122 MultiTapStatus.DOUBLE_TAP, false); in testUpdate_doubleTap_notSameArea() 129 MultiTapStatus.DOUBLE_TAP, false); in testUpdate_doubleTap_notSameArea() 208 MultiTapStatus.DOUBLE_TAP, true); in testUpdate_tripleClick_mouse() 216 MultiTapStatus.DOUBLE_TAP, true); in testUpdate_tripleClick_mouse() 224 MultiTapStatus.TRIPLE_CLICK, true); in testUpdate_tripleClick_mouse() 246 MultiTapStatus.DOUBLE_TAP, true); in testUpdate_tripleClick_touch() 253 MultiTapStatus.DOUBLE_TAP, true); in testUpdate_tripleClick_touch() 405 MultiTapStatus.DOUBLE_TAP, true); in testUpdate_cancelAfterMultitap() [all …]
|