/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityMouseTest.java | 84 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag() 85 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag() 87 onView(withId(R.id.textview)).perform( in testSelectTextByDrag() 89 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag() 91 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag() 92 onView(withId(R.id.textview)).check(hasSelection("")); in testSelectTextByDrag() 98 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag_reverse() 99 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag_reverse() 100 onView(withId(R.id.textview)).perform( in testSelectTextByDrag_reverse() 103 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag_reverse() [all …]
|
D | TextViewActivityTest.java | 146 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen() 152 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex() 155 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex() 156 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex() 166 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic() 167 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic() 168 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_arabic() 169 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(anyOf(is(0), is(2)))); in testPositionCursorAtTextAtIndex_arabic() 170 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic() 171 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(2)); in testPositionCursorAtTextAtIndex_arabic() [all …]
|
D | EditorCursorDragTest.java | 101 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 102 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 106 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("llo"), text.indexOf("!"))); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 107 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(11)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 111 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("!"), text.indexOf("llo"))); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 112 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(2)); in testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() 119 onView(withId(R.id.textview)).perform(replaceText(text)); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() 120 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() 124 onView(withId(R.id.textview)).perform(dragOnText(text.indexOf("llo"), text.indexOf("!"))); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() 125 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(11)); in testCursorDrag_horizontal_whenTextViewContentsLargerThanScreen() [all …]
|
D | SuggestionsPopupWindowTest.java | 79 final TextView textView = getActivity().findViewById(R.id.textview); in setSuggestionSpan() 93 onView(withId(R.id.textview)).perform(click()); in testOnTextContextMenuItem() 94 onView(withId(R.id.textview)).perform(replaceText(text)); in testOnTextContextMenuItem() 100 final TextView textView = getActivity().findViewById(R.id.textview); in testOnTextContextMenuItem() 111 onView(withId(R.id.textview)).perform(click()); in testSelectionActionMode() 112 onView(withId(R.id.textview)).perform(replaceText(text)); in testSelectionActionMode() 118 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); in testSelectionActionMode() 129 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode() 130 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode() 137 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode() [all …]
|
D | PointerIconTest.java | 116 assertOnResolvePointerIconReturnNull(R.id.textview, /* enabled */ true, in textView_mouse_onResolvePointerIcon_returnsNull() 123 assertOnResolvePointerIconReturnNull(R.id.textview, /* enabled */ true, in textView_stylus_onResolvePointerIcon_returnsNull()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | GlyphCacheActivity.java | 55 TextView textview = new TextView(this); in createTextView() local 56 textview.setTextSize(6 + (int) (Math.random() * 5) * 10); in createTextView() 57 textview.setTextColor(0xff << 24 | (int) (Math.random() * 255) << 16 | in createTextView() 59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in createTextView() 63 textview.setText(createString(numChars)); in createTextView() 65 return textview; in createTextView()
|
D | ViewPropertyAlphaActivity.java | 54 startAnim(R.id.textview); in onCreate() 72 findViewById(R.id.textview).invalidate(); in onCreate()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeText.java | 132 TextView textview = (TextView) transitionValues.view; in captureValues() local 133 transitionValues.values.put(PROPNAME_TEXT, textview.getText()); in captureValues() 134 if (textview instanceof EditText) { in captureValues() 136 textview.getSelectionStart()); in captureValues() 138 textview.getSelectionEnd()); in captureValues() 141 transitionValues.values.put(PROPNAME_TEXT_COLOR, textview.getCurrentTextColor()); in captureValues()
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/ |
D | MainActivity.java | 28 com.android.aapt.namespace.libtwo.TextView tv = findViewById(R.id.textview); in onCreate()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | CrossfadeMultiple.java | 57 mTextView = findViewById(R.id.textview); in onCreate() 60 mCrossfade.addTarget(R.id.button).addTarget(R.id.textview).addTarget(R.id.imageview); in onCreate()
|
D | CrossFadeDemo.java | 50 crossfade.addTarget(R.id.textview).addTarget(R.id.textview1). in onCreate()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | EditableInputConnection.java | 75 public EditableInputConnection(TextView textview) { in EditableInputConnection() argument 76 super(textview, true); in EditableInputConnection() 77 mTextView = textview; in EditableInputConnection()
|
/frameworks/proto_logging/stats/enums/stats/textclassifier/ |
D | textclassifier_enums.proto | 75 // Not selectable textview
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6966 // FIELD: widget type, e.g: notification, textview
|
/frameworks/base/core/api/ |
D | current.txt | 57045 field public static final String WIDGET_TYPE_TEXTVIEW = "textview"; 57047 field public static final String WIDGET_TYPE_UNSELECTABLE_TEXTVIEW = "nosel-textview";
|