Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityMouseTest.java86 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag()
87 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag()
91 onView(withId(R.id.textview)).perform( in testSelectTextByDrag()
94 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag()
101 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); in testSelectTextByDrag()
102 onView(withId(R.id.textview)).check(hasSelection("")); in testSelectTextByDrag()
110 onView(withId(R.id.textview)).perform(mouseClick()); in testSelectTextByDrag_reverse()
111 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testSelectTextByDrag_reverse()
112 onView(withId(R.id.textview)).perform( in testSelectTextByDrag_reverse()
115 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag_reverse()
[all …]
DTextViewActivityTest.java125 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testTypedTextIsOnScreen()
127 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen()
132 onView(withId(R.id.textview)).perform(replaceText(helloWorld)); in testPositionCursorAtTextAtIndex()
133 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(helloWorld.indexOf("world"))); in testPositionCursorAtTextAtIndex()
136 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex()
137 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex()
145 onView(withId(R.id.textview)).perform(replaceText(text)); in testPositionCursorAtTextAtIndex_arabic()
147 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic()
148 onView(withId(R.id.textview)).check(hasInsertionPointerAtIndex(0)); in testPositionCursorAtTextAtIndex_arabic()
149 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(1)); in testPositionCursorAtTextAtIndex_arabic()
[all …]
DSuggestionsPopupWindowTest.java79 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()
133 onView(withId(R.id.textview)).perform(click()); in testInsertionActionMode()
134 onView(withId(R.id.textview)).perform(replaceText(text)); in testInsertionActionMode()
140 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); in testInsertionActionMode()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGlyphCacheActivity.java55 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()
DViewPropertyAlphaActivity.java54 startAnim(R.id.textview); in onCreate()
72 findViewById(R.id.textview).invalidate(); in onCreate()
/frameworks/base/core/java/android/transition/
DChangeText.java130 TextView textview = (TextView) transitionValues.view; in captureValues() local
131 transitionValues.values.put(PROPNAME_TEXT, textview.getText()); in captureValues()
132 if (textview instanceof EditText) { in captureValues()
134 textview.getSelectionStart()); in captureValues()
136 textview.getSelectionEnd()); in captureValues()
139 transitionValues.values.put(PROPNAME_TEXT_COLOR, textview.getCurrentTextColor()); in captureValues()
/frameworks/base/core/java/com/android/internal/widget/
DEditableInputConnection.java44 public EditableInputConnection(TextView textview) { in EditableInputConnection() argument
45 super(textview, true); in EditableInputConnection()
46 mTextView = textview; in EditableInputConnection()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DCrossfadeMultiple.java57 mTextView = findViewById(R.id.textview); in onCreate()
60 mCrossfade.addTarget(R.id.button).addTarget(R.id.textview).addTarget(R.id.imageview); in onCreate()
DCrossFadeDemo.java50 crossfade.addTarget(R.id.textview).addTarget(R.id.textview1). in onCreate()
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/
DMainActivity.java28 com.android.aapt.namespace.libtwo.TextView tv = findViewById(R.id.textview); in onCreate()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6950 // FIELD: widget type, e.g: notification, textview
/frameworks/base/non-updatable-api/
Dcurrent.txt54989 field public static final String WIDGET_TYPE_TEXTVIEW = "textview";
54991 field public static final String WIDGET_TYPE_UNSELECTABLE_TEXTVIEW = "nosel-textview";
/frameworks/base/api/
Dcurrent.txt55133 field public static final String WIDGET_TYPE_TEXTVIEW = "textview";
55135 field public static final String WIDGET_TYPE_UNSELECTABLE_TEXTVIEW = "nosel-textview";