Searched defs:textView (Results 1 - 5 of 5) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
H A DBaseMovementMethodTest.java181 final TextView textView = new TextViewNoIme(mActivityRule.getActivity());
182 textView.setFocusable(true);
183 textView.setMovementMethod(mMovementMethod);
184 textView.setTextDirection(View.TEXT_DIRECTION_LTR);
185 return textView;
188 private void setContentView(@NonNull TextView textView, int textWidth) throws Throwable { argument
191 layout.addView(textView, new ViewGroup.LayoutParams(textWidth, WRAP_CONTENT));
196 textView.requestFocus();
199 assertTrue(textView.isFocused());
/cts/tests/fragment/src/android/fragment/cts/
H A DLoaderActivity.java33 public TextView textView; field in class:LoaderActivity
42 textView = (TextView) findViewById(R.id.textA);
44 ViewGroup container = (ViewGroup) textView.getParent();
64 textView.setText(data);
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
H A DAccessibilityTextActionTest.java79 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
80 makeTextViewVisibleAndSetText(textView, getString(R.string.a_b));
96 TextUtils.equals(getString(R.string.a_b), textView.getText()));
100 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
105 textView.setVisibility(View.VISIBLE);
106 textView.setText(getString(R.string.a_b), TextView.BufferType.EDITABLE);
128 TextUtils.equals(textToSet, textView.getText()));
157 final TextView textView = (TextView) getActivity().findViewById(R.id.text);
161 assertEquals("Clickable span called back on wrong View", textView, widget);
167 makeTextViewVisibleAndSetText(textView, textWithClickableSpa
433 makeTextViewVisibleAndSetText(final TextView textView, final CharSequence text) argument
[all...]
/cts/tests/tests/widget/src/android/widget/cts/util/
H A DTestUtils.java427 public static void verifyCompoundDrawables(@NonNull TextView textView, argument
430 final Context context = textView.getContext();
431 final Drawable[] compoundDrawables = textView.getCompoundDrawables();
458 public static void verifyCompoundDrawablesRelative(@NonNull TextView textView, argument
461 final Context context = textView.getContext();
462 final Drawable[] compoundDrawablesRelative = textView.getCompoundDrawablesRelative();
/cts/tests/tests/widget/src/android/widget/cts/
H A DTextViewTest.java441 private static void assertImeOptions(TextView textView, argument
444 final int actualAction = textView.getImeOptions() & EditorInfo.IME_MASK_ACTION;
445 final int actualFlags = textView.getImeOptions() & ~EditorInfo.IME_MASK_ACTION;
654 final TextView textView = (TextView) mActivity.findViewById(R.id.textview_text);
657 textView.setTextIsSelectable(true);
658 textView.setText("abcd", BufferType.EDITABLE);
659 textView.setHighlightColor(Color.BLUE);
663 assertTrue(textView.isTextSelectable());
664 assertEquals(Color.BLUE, textView.getHighlightColor());
669 CtsTouchUtils.emulateLongPressOnViewCenter(mInstrumentation, textView);
1793 initTextViewForSimulatedIme(TextView textView) argument
2344 hasSpansAtMiddleOfText(final TextView textView, final Class<?> type) argument
8138 layout(final TextView textView) argument
8246 getCenterPositionOfTextAt( TextView textView, int startIndex, int endIndex) argument
[all...]

Completed in 631 milliseconds