Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java239 if (current == PRESSED) in adjust()
289 if (state == PRESSED) in press()
298 content.setSpan(what, 0, 0, PRESSED); in press()
306 content.setSpan(SELECTING, 0, 0, PRESSED); in startSelecting()
348 else if (current == PRESSED) in release()
579 private static final int PRESSED = field in MetaKeyKeyListener
/frameworks/base/core/java/android/view/
DView.java1600 private static final int PRESSED = 0x00004000; field in View
4886 mPrivateFlags |= PRESSED; in setPressed()
4888 mPrivateFlags &= ~PRESSED; in setPressed()
4916 return (mPrivateFlags & PRESSED) == PRESSED; in isPressed()
6380 if (event.getAction() == MotionEvent.ACTION_UP && (mPrivateFlags & PRESSED) != 0) {
6381 mPrivateFlags &= ~PRESSED;
6401 if ((mPrivateFlags & PRESSED) != 0 || prepressed) {
6414 mPrivateFlags |= PRESSED;
6471 mPrivateFlags |= PRESSED;
6478 mPrivateFlags &= ~PRESSED;
[all …]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java197 private static final int PRESSED = Spannable.SPAN_MARK_MARK | (1 << Spannable.SPAN_USER_SHIFT); field in EditStyledText
930 content.setSpan(SELECTING, 0, 0, PRESSED); in startSelecting()