Home
last modified time | relevance | path

Searched defs:textView (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DAppCompatTextViewTest.java135 final AppCompatTextView textView = in testAppCompatAllCapsFalseOnButton() local
143 final TextView textView = mContainer.findViewById(R.id.view_text_color_hex); in testTextColorSetHex() local
149 final TextView textView = mContainer.findViewById(R.id.view_text_color_csl); in testTextColorSetColorStateList() local
162 final TextView textView = mContainer.findViewById(R.id.view_text_color_primary); in testTextColorSetThemeAttrHex() local
168 final TextView textView = mContainer.findViewById(R.id.view_text_color_secondary); in testTextColorSetThemeAttrColorStateList() local
179 private void verifyTextLinkColor(TextView textView) { in verifyTextLinkColor()
195 TextView textView = in testFontResources_setInStringFamilyName() local
212 TextView textView = mContainer.findViewById(R.id.textview_fontresource_fontfamily); in testFontResources_setInXmlFamilyName() local
220 TextView textView = mContainer.findViewById(R.id.textview_fontxmlresource_fontfamily); in testFontResourcesXml_setInXmlFamilyName() local
228 TextView textView = in testFontResourcesXml_setInXmlFamilyNameWithTextStyle() local
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DFindMethodTest.java32 TextView textView = mBinder.textView6; in testNoArg() local
37 TextView textView = mBinder.textView0; in testIntArg() local
42 TextView textView = mBinder.textView1; in testFloatArg() local
47 TextView textView = mBinder.textView2; in testStringArg() local
52 TextView textView = mBinder.textView3; in testBoxedArg() local
57 TextView textView = mBinder.textView4; in testInheritedMethod() local
62 TextView textView = mBinder.textView5; in testInheritedMethodInt() local
67 TextView textView = mBinder.textView7; in testStaticMethod() local
72 TextView textView = mBinder.textView8; in testStaticField() local
77 TextView textView = mBinder.textView9; in testImportStaticMethod() local
[all …]
DTextViewBindingAdapterTest.java275 private static String getDigits(TextView textView) { in getDigits()
288 TextView textView = mBinder.textPhoneNumber; in testPhoneNumber() local
300 TextView textView = mBinder.textInputMethod; in testInputMethod() local
308 TextView textView = mBinder.textWithTheme; in testTextWithTheme() local
314 TextView textView = mBinder.textWithColor; in testTextWithColor() local
DBindToFinalObservableFieldTest.java34 final TextView textView = (TextView) mBinder.getRoot().findViewById(R.id.text_view); in testSimple() local
DBindToFinalFieldTest.java34 final TextView textView = (TextView) mBinder.getRoot().findViewById(R.id.text_view); in testSimple() local
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java47 final AutoCompleteTextView textView = theActivity.getTextView(); in testPopupSetListSelection() local
79 final AutoCompleteTextView textView = theActivity.getTextView(); in testPopupGetListSelection() local
106 final AutoCompleteTextView textView = theActivity.getTextView(); in testPopupClearListSelection() local
139 final AutoCompleteTextView textView = theActivity.getTextView(); in testPopupNavigateNoAdapter() local
173 final AutoCompleteTextView textView = theActivity.getTextView(); in testPopupShow() local
224 private void waitAssertPopupShowState(String message, AutoCompleteTextView textView, in waitAssertPopupShowState()
235 private void waitAssertListSelection(AutoCompleteTextView textView, int expected) in waitAssertListSelection()
240 private void waitAssertListSelection(String message, AutoCompleteTextView textView, in waitAssertListSelection()
253 private void clearText(final AutoCompleteTextView textView) throws Throwable { in clearText()
DTextViewActivityTest.java302 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint() local
330 final TextView textView = mActivity.findViewById(R.id.nonselectable_textview); in testToolbarAppearsAfterLinkClickedNonselectable() local
359 final TextView textView = mActivity.findViewById(R.id.nonselectable_textview); in testSelectionRemovedWhenNonselectableTextLosesFocus() local
396 TextView textView = mActivity.findViewById(id); in addLinkifiedTextToTextView() local
455 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarAndSelectionHandle() local
482 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle() local
501 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle_multiLine() local
524 final TextView textView = mActivity.findViewById(R.id.textview); in testSelectionHandles() local
548 final TextView textView = mActivity.findViewById(R.id.textview); in testSelectionHandles_bidi() local
582 final TextView textView = mActivity.findViewById(R.id.textview); in testSelectionHandles_multiLine() local
[all …]
DAutoCompleteTextViewCallbacks.java38 AutoCompleteTextView textView = theActivity.getTextView(); in testPopupNoSelection() local
63 AutoCompleteTextView textView = theActivity.getTextView(); in testPopupEnterSelection() local
112 AutoCompleteTextView textView = theActivity.getTextView(); in testPopupLeaveSelection() local
DSuggestionsPopupWindowTest.java74 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in setSuggestionSpan() local
95 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in testOnTextContextMenuItem() local
147 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in showSuggestionsPopup() local
275 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in testTextAppearanceInSuggestionsPopup() local
/frameworks/support/compat/src/main/java/androidx/core/widget/
DTextViewCompat.java107 private static int retrieveIntFromField(Field field, TextView textView) { in retrieveIntFromField()
131 public static void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
158 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
190 public static void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
208 public static int getMaxLines(@NonNull TextView textView) { in getMaxLines()
234 public static int getMinLines(@NonNull TextView textView) { in getMinLines()
265 public static void setTextAppearance(@NonNull TextView textView, @StyleRes int resId) { in setTextAppearance()
277 public static Drawable[] getCompoundDrawablesRelative(@NonNull TextView textView) { in getCompoundDrawablesRelative()
307 public static void setAutoSizeTextTypeWithDefaults(@NonNull TextView textView, in setAutoSizeTextTypeWithDefaults()
338 public static void setAutoSizeTextTypeUniformWithConfiguration( in setAutoSizeTextTypeUniformWithConfiguration()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java107 final TextView textView = new TextView(getContext()); in testNewLayout_RandomText() local
126 final TextView textView = new TextView(getContext()); in testNewLayout_RandomText_Selectable() local
150 final TextView textView = new TextView(getContext()); in testNewLayout_PrecomputedText() local
172 final TextView textView = new TextView(getContext()); in testNewLayout_PrecomputedText_Selectable() local
191 final TextView textView = new TextView(getContext()); in testSetText_RandomText() local
208 final TextView textView = new TextView(getContext()); in testSetText_RandomText_Selectable() local
230 final TextView textView = new TextView(getContext()); in testSetText_PrecomputedText() local
250 final TextView textView = new TextView(getContext()); in testSetText_PrecomputedText_Selectable() local
268 final TestableTextView textView = new TestableTextView(getContext()); in testOnMeasure_RandomText() local
288 final TestableTextView textView = new TestableTextView(getContext()); in testOnMeasure_RandomText_Selectable() local
[all …]
DTextViewOnMeasurePerfTest.java111 final TextView textView = new TextView(context); in testMeasure_AtMost() local
128 final TextView textView = new TextView(context); in testMeasure_Exactly() local
145 final TextView textView = new TextView(context); in testMeasure_Unspecified() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java64 RichTextView textView = new RichTextView(application); in testLinkAnnotation() local
88 RichTextView textView = new RichTextView(application); in testOnLinkClickListener() local
111 RichTextView textView = new RichTextView(context); in testLegacyContextOnClickListener() local
127 RichTextView textView = new RichTextView(application); in onTouchEvent_clickOnLinks_shouldReturnTrue() local
146 RichTextView textView = new RichTextView(application); in onTouchEvent_clickOutsideLinks_shouldReturnFalse() local
165 RichTextView textView = new RichTextView(application); in testTextStyle() local
196 RichTextView textView = new RichTextView(application); in testTextContainingNoLinksAreNotFocusable() local
209 RichTextView textView = new RichTextView(application); in testRichTextViewFocusChangesWithTextChange() local
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
DCoordinatorSnackbarWithButtonTest.java127 final TextView textView = mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromLayoutAttribute() local
141 final TextView textView = mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromClassAnnotation() local
155 final TextView textView = mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromClassInterface() local
166 final TextView textView = mCoordinatorLayout.findViewById(R.id.text); in testBehaviorBasedSlidingFromRuntimeApiCall() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
DLinkSpanTest.java42 final TextView textView = new TextView(context); in onClick_shouldCallListenerOnContext() local
52 final TextView textView = new TextView(application); in onClick_contextDoesNotImplementOnClickListener_shouldBeNoOp() local
65 final TextView textView = new TextView(wrapperContext); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener() local
76 final TextView textView = new TextView(context); in onClick_shouldClearSelection() local
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java72 TextView textView; in onCreate() local
274 …aram(EnvironmentalReverb reverb, int min, int max, SeekBar seekBar, TextView textView, String unit… in EnvReverbParam()
297 public RoomLevelParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in RoomLevelParam()
319 public RoomHFLevelParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in RoomHFLevelParam()
341 public DecayTimeParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in DecayTimeParam()
363 public DecayHFRatioParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in DecayHFRatioParam()
385 … public ReflectionsLevelParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in ReflectionsLevelParam()
407 … public ReflectionsDelayParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in ReflectionsDelayParam()
429 public ReverbLevelParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in ReverbLevelParam()
451 public ReverbDelayParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in ReverbDelayParam()
[all …]
DEqualizerTest.java71 TextView textView; in onCreate() local
231 TextView textView = (TextView)findViewById(viewId); in displayFreq() local
239 …alizerParam(Equalizer equalizer, int min, int max, SeekBar seekBar, TextView textView, String unit… in EqualizerParam()
264 …velParam(Equalizer equalizer, int band, short min, short max, SeekBar seekBar, TextView textView) { in BandLevelParam()
290 …public PresetParam(Equalizer equalizer, short min, short max, SeekBar seekBar, TextView textView) { in PresetParam()
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
DEmojiInputFilter.java49 EmojiInputFilter(@NonNull final TextView textView) { in EmojiInputFilter()
102 InitCallbackImpl(TextView textView) { in InitCallbackImpl()
109 final TextView textView = mViewRef.get(); in onInitialized() local
DEmojiTextViewHelper.java72 public EmojiTextViewHelper(@NonNull TextView textView) { in EmojiTextViewHelper()
151 HelperInternal19(TextView textView) { in HelperInternal19()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java329 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex) { in dragHandle()
348 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex, in dragHandle()
368 public CurrentHandleCoordinates(TextView textView) { in CurrentHandleCoordinates()
423 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates()
539 private float[] locateTextAtIndex(TextView textView, int index, boolean primary) { in locateTextAtIndex()
558 public static float[] convertToScreenCoordinates(TextView textView, float x, float y) { in convertToScreenCoordinates()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextViewSetTextMeasurePerfTest.java94 final TextView textView = new TextView(InstrumentationRegistry.getTargetContext()); in timeCreate() local
121 final TextView textView = new TextView(InstrumentationRegistry.getTargetContext()); in timeDraw() local
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DAutoCompleteTextViewActivityLandscape.java53 AutoCompleteTextView textView = findViewById(R.id.edit); in onCreate() local
DAutoCompleteTextViewActivityPortrait.java48 AutoCompleteTextView textView = findViewById(R.id.edit); in onCreate() local
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DShadowOverlayContainerTest.java47 TextView textView = new TextView(mContext); in testWrapContent() local
/frameworks/base/core/java/com/android/internal/widget/
DTextViewInputDisabler.java41 public TextViewInputDisabler(TextView textView) { in TextViewInputDisabler()

12345