Home
last modified time | relevance | path

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

12345678

/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A 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()
H A DTextViewActivityTest.java416 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarMenuItemClickAfterSelectionChange() local
469 TextView textView = mActivity.findViewById(id); in addLinkifiedTextToTextView() local
528 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarAndSelectionHandle() local
555 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle() local
574 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle_multiLine() local
586 final TextView textView = mActivity.findViewById(R.id.textview); in enableFlagsForInsertionHandleGestures() local
604 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle_longPressToSelect() local
619 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle_longPressAndDragToSelect() local
634 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle_doubleTapToSelect() local
649 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle_doubleTapAndDragToSelect() local
[all …]
H A DSuggestionsPopupWindowTest.java81 final TextView textView = getActivity().findViewById(R.id.textview); in setSuggestionSpan() local
102 final TextView textView = getActivity().findViewById(R.id.textview); in testOnTextContextMenuItem() local
154 final TextView textView = getActivity().findViewById(R.id.textview); in showSuggestionsPopup() local
282 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in testTextAppearanceInSuggestionsPopup() local
364 final TextView textView = getActivity().findViewById(R.id.textview); in testCursorVisibility() local
389 final TextView textView = getActivity().findViewById(R.id.textview); in testCursorVisibilityWhenImeConsumesInput() local
419 final TextView textView, boolean imeConsumesInput, boolean expectedCursorVisibility) { in setImeConsumesInputWithExpect()
H A DAutoCompleteTextViewCallbacks.java39 AutoCompleteTextView textView = theActivity.getTextView(); in testPopupNoSelection() local
64 AutoCompleteTextView textView = theActivity.getTextView(); in testPopupEnterSelection() local
113 AutoCompleteTextView textView = theActivity.getTextView(); in testPopupLeaveSelection() local
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/widget/
H A DCarUiTextViewTest.java90 CarUiTextView textView = CarUiTextView.create(mActivity); in testTruncateToVariant_startAsViewGone() local
107 CarUiTextView textView = CarUiTextView.create(mActivity); in testSpanOverLastLine() local
126 CarUiTextView textView = CarUiTextView.create(mActivity); in testLineBreaks_lineBreakAtEnd() local
141 CarUiTextView textView = CarUiTextView.create(mActivity); in testSpan() local
158 CarUiTextView textView = CarUiTextView.create(mActivity); in testTextVariants_withCharLimit() local
179 CarUiTextView textView = CarUiTextView.create(mActivity); in testTextVariants_withCharLimitNoMaxLines() local
199 CarUiTextView textView = CarUiTextView.create(mActivity); in testTextVariants_noFit() local
221 CarUiTextView textView = CarUiTextView.create(mActivity); in testTextVariants() local
241 CarUiTextView textView = CarUiTextView.create(mActivity); in testTextTruncation_twoShortLines() local
258 CarUiTextView textView = CarUiTextView.create(mActivity); in testTextTruncation_oneLongOneShort_withMaxLines() local
[all …]
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DTextViewPrecomputedTextPerfTest.java91 final TextView textView = new TextView(getContext()); in testNewLayout_RandomText() local
110 final TextView textView = new TextView(getContext()); in testNewLayout_RandomText_Selectable() local
134 final TextView textView = new TextView(getContext()); in testNewLayout_PrecomputedText() local
156 final TextView textView = new TextView(getContext()); in testNewLayout_PrecomputedText_Selectable() local
175 final TextView textView = new TextView(getContext()); in testSetText_RandomText() local
192 final TextView textView = new TextView(getContext()); in testSetText_RandomText_Selectable() local
214 final TextView textView = new TextView(getContext()); in testSetText_PrecomputedText() local
234 final TextView textView = new TextView(getContext()); in testSetText_PrecomputedText_Selectable() local
252 final TestableTextView textView = new TestableTextView(getContext()); in testOnMeasure_RandomText() local
272 final TestableTextView textView = new TestableTextView(getContext()); in testOnMeasure_RandomText_Selectable() local
[all …]
H A DTextViewOnMeasurePerfTest.java107 final TextView textView = new TextView(context); in testMeasure_AtMost() local
124 final TextView textView = new TextView(context); in testMeasure_Exactly() local
141 final TextView textView = new TextView(context); in testMeasure_Unspecified() local
/aosp12/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
H A DRichTextViewTest.java55 RichTextView textView = new RichTextView(application); in testLinkAnnotation() local
80 RichTextView textView = new RichTextView(application); in testOnLinkClickListener() local
104 RichTextView textView = new RichTextView(context); in testLegacyContextOnClickListener() local
120 RichTextView textView = new RichTextView(application); in onTouchEvent_clickOnLinks_shouldReturnTrue() local
138 RichTextView textView = new RichTextView(application); in onTouchEvent_clickOutsideLinks_shouldReturnFalse() local
156 RichTextView textView = new RichTextView(application); in testTextStyle() local
185 RichTextView textView = new RichTextView(application); in testTextContainingNoLinksAreNotFocusable() local
196 RichTextView textView = new RichTextView(application); in testRichTextViewFocusChangesWithTextChange() local
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DActionDisabledByAdminDialogHelperTest.java87 final TextView textView = createAdminSupportDialogTitleTextView(view, mActivity); in testSetAdminSupportTitle() local
126 final TextView textView = createAdminSupportDialogTitleTextView(view, mActivity); in testSetAdminSupportTitleForFinancedDevice() local
146 final TextView textView = createAdminSupportTextView(view, mActivity); in testSetAdminSupportDetails() local
167 final TextView textView = createAdminSupportTextView(view, mActivity); in testSetAdminSupportDetails_shortSupportMessageIsNull() local
189 final TextView textView = createAdminSupportTextView(view, mActivity); in testSetAdminSupportDetailsNotAdmin() local
223 final TextView textView = new TextView(activity); in createAdminSupportDialogTitleTextView() local
231 final TextView textView = new TextView(activity); in createAdminSupportTextView() local
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DPhoneNumberFormatter.java40 String countryCode, TextView textView, boolean formatAfterWatcherSet) { in TextWatcherLoadAsyncTask()
71 TextView textView) { in setPhoneNumberFormattingTextWatcher()
84 Context context, TextView textView, boolean formatAfterWatcherSet) { in setPhoneNumberFormattingTextWatcher()
86 textView, formatAfterWatcherSet) in setPhoneNumberFormattingTextWatcher() local
/aosp12/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
H A DLinkSpanTest.java39 final TextView textView = new TextView(context); in onClick_shouldCallListenerOnContext() local
51 final TextView textView = new TextView(application); in onClick_contextDoesNotImplementOnClickListener_shouldBeNoOp() local
64 final TextView textView = new TextView(wrapperContext); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener() local
76 final TextView textView = new TextView(context); in onClick_shouldClearSelection() local
/aosp12/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDisplayUtils.java193 public static void setDisplayName(Context context, Contact contactData, TextView textView) { in setDisplayName()
197 setDataOrHideIfNone(getDisplayName(context, contactData), textView); in setDisplayName() local
204 public static void setCompanyName(Context context, Contact contactData, TextView textView) { in setCompanyName()
208 setDataOrHideIfNone(getCompany(context, contactData), textView); in setCompanyName() local
215 public static void setPhoneticName(Context context, Contact contactData, TextView textView) { in setPhoneticName()
219 setDataOrHideIfNone(getPhoneticName(context, contactData), textView); in setPhoneticName() local
226 public static void setAttribution(Context context, Contact contactData, TextView textView) { in setAttribution()
230 setDataOrHideIfNone(getAttribution(context, contactData), textView); in setAttribution() local
237 private static void setDataOrHideIfNone(CharSequence textToDisplay, TextView textView) { in setDataOrHideIfNone()
/aosp12/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java72 TextView textView; in onCreate() local
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()
473 public DiffusionParam(EnvironmentalReverb reverb, SeekBar seekBar, TextView textView) { in DiffusionParam()
[all …]
H A 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java214 public static ViewAction longPressAndDragHandle(TextView textView, Handle handleType, in longPressAndDragHandle()
235 public static ViewAction longPressHandle(TextView textView) { in longPressHandle()
254 public static ViewAction doubleTapAndDragHandle(TextView textView, Handle handleType, in doubleTapAndDragHandle()
275 public static ViewAction doubleTapHandle(TextView textView) { in doubleTapHandle()
410 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex) { in dragHandle()
429 public static ViewAction dragHandle(TextView textView, Handle handleType, int endIndex, in dragHandle()
470 public CurrentHandleCoordinates(TextView textView) { in CurrentHandleCoordinates()
525 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates()
641 private float[] locateTextAtIndex(TextView textView, int index, boolean primary) { in locateTextAtIndex()
660 public static float[] convertToScreenCoordinates(TextView textView, float x, float y) { in convertToScreenCoordinates()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DAccessibilityContextMenuMaker.java55 public void registerWithActivity(TextView textView) { in registerWithActivity()
86 public void populateMenuContent(ContextMenu menu, TextView textView) { in populateMenuContent()
117 private @Nullable Spanned getText(TextView textView) { in getText()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
H A DAddAppNetworksFragmentTest.java297 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withOneNetworkSave_shouldShowOneNetworkSaving() local
313 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withTwoNetworksSave_shouldShowMultipleNetworksSaving() local
329 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withOneNetworkSaved_shouldShowOneNetworkSaved() local
345 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withTwoNetworksSaved_shouldShowMultipleNetworksSaved() local
360 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withOneNetworkSaveFailed_shouldShowOneNetworkFailed() local
376 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withTwoNetworksSaveFailed_shouldShowMultipleNetworksFailed() local
/aosp12/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorAccountsChangedActivity.java133 final TextView textView = (TextView) view.findViewById(R.id.text); in updateDisplayedAccounts() local
151 final TextView textView = (TextView) view.findViewById(R.id.text); in updateDisplayedAccounts() local
179 final TextView textView = (TextView) view.findViewById(R.id.text); in updateDisplayedAccounts() local
/aosp12/packages/apps/Dialer/java/com/android/dialer/about/
H A DLicenseActivity.java43 TextView textView = (TextView) findViewById(R.id.license_activity_textview); in onCreate() local
56 TextView textView = (TextView) findViewById(R.id.license_activity_textview); in onSaveInstanceState() local
/aosp12/packages/apps/Dialer/java/com/android/incallui/audioroute/
H A DAudioRouteSelectorDialogFragment.java109 TextView textView = createBluetoothItem(device, selected); in onCreateView() local
114 TextView textView = in onCreateView() local
179 TextView textView = in createBluetoothItem() local
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
H A DValidatedEditTextPreferenceTest.java124 final TextView textView = spy(new TextView(RuntimeEnvironment.application)); in bindViewHolder_isPassword_shouldSetInputType() local
137 final TextView textView = spy(new TextView(RuntimeEnvironment.application)); in bindViewHolder_isNotPassword_shouldNotAutoCorrectText() local
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationInfoTest.java190 final TextView textView = mNotificationInfo.findViewById(R.id.pkg_name); in testBindNotification_SetsTextApplicationName() local
343 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_SetsTextChannelName() local
365 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_DefaultChannelDoesNotUseChannelName() local
391 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist() local
413 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_UnblockablePackageUsesChannelName() local
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DTextViewSetTextMeasurePerfTest.java95 final TextView textView = new TextView(InstrumentationRegistry.getTargetContext()); in timeCreate() local
124 final TextView textView = new TextView(InstrumentationRegistry.getTargetContext()); in timeDraw() local
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DMoreContactUtils.java198 final TextView textView = (TextView) View.inflate(context, R.layout.list_separator, null); in createHeaderView() local
207 public static void setHeaderViewBottomPadding(Context context, TextView textView, in setHeaderViewBottomPadding()
/aosp12/build/bazel/examples/android_app/java/com/app/
H A DMainActivity.java33 final TextView textView = findViewById(R.id.text); in onCreate() local

12345678