Home
last modified time | relevance | path

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

12345678910>>...39

/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityTest.java320 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint() local
346 final TextView textView = mActivity.findViewById(R.id.nonselectable_textview); in testToolbarAppearsAfterLinkClickedNonselectable() local
372 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarAppearsAccessibilityLongClick() local
387 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarMenuItemClickAfterSelectionChange() local
410 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarMenuItemClickAfterSelectionChange() local
425 final TextView textView = mActivity.findViewById(R.id.textview); in testSelectionOnCreateActionModeReturnsFalse() local
460 final TextView textView = mActivity.findViewById(R.id.nonselectable_textview); in testSelectionRemovedWhenNonselectableTextLosesFocus() local
493 TextView textView = mActivity.findViewById(id); in addLinkifiedTextToTextView() local
550 final TextView textView = mActivity.findViewById(R.id.textview); in testToolbarAndSelectionHandle() local
575 final TextView textView = mActivity.findViewById(R.id.textview); in testInsertionHandle() local
[all …]
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 DTextViewPopulateCharacterBoundsTest.java78 final TextView textView = new TextView(mActivity); in createTextView() local
94 final TextView textView = createTextView(text, 10.0f, 200, 1000); in testPopulateCharacterBounds_LTR() local
123 final TextView textView = createTextView(text, 10.0f, 100, 1000); in testPopulateCharacterBounds_LTR_multiline() local
153 final TextView textView = createTextView(text, 10.0f, 100, 1000); in testPopulateCharacterBounds_LTR_newline() local
186 final TextView textView = createTextView(text, 10.0f, 200, 1000); in testPopulateCharacterBounds_RTL() local
215 final TextView textView = createTextView(text, 10.0f, 100, 1000); in testPopulateCharacterBounds_RTL_multiline() local
245 final TextView textView = createTextView(text, 10.0f, 100, 1000); in testPopulateCharacterBounds_RTL_newline() local
279 final TextView textView = createTextView(text, 10.0f, 200, 1000); in testPopulateCharacterBounds_BiDi() local
312 final TextView textView = createTextView(text, 10.0f, 100, 1000); in testPopulateCharacterBounds_BiDi_multiline() local
347 final TextView textView = createTextView(text, 10.0f, 100, 1000); in testPopulateCharacterBounds_charactersWithInvisibleRegion() local
[all …]
H A DSuggestionsPopupWindowTest.java79 final TextView textView = getActivity().findViewById(R.id.textview); in setSuggestionSpan() local
100 final TextView textView = getActivity().findViewById(R.id.textview); in testOnTextContextMenuItem() local
146 final TextView textView = getActivity().findViewById(R.id.textview); in showSuggestionsPopup() local
274 final TextView textView = (TextView) getActivity().findViewById(R.id.textview); in testTextAppearanceInSuggestionsPopup() local
356 final TextView textView = getActivity().findViewById(R.id.textview); in testCursorVisibility() local
381 final TextView textView = getActivity().findViewById(R.id.textview); in testCursorVisibilityWhenImeConsumesInput() local
411 final TextView textView, boolean imeConsumesInput, boolean expectedCursorVisibility) { in setImeConsumesInputWithExpect()
/aosp_15_r20/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 …]
/aosp_15_r20/cts/tests/tests/widget/src/android/widget/cts/
H A DTextViewMinimumFontMetrics.kt48 val textView = TextView(context) in testMinimumFontHeight_NullByDefault() constant
54 val textView = TextView(context) in testMinimumFontHeight_SetAndGet() constant
64 val textView = TextView(context) in testMinimumFontHeight_SetToLayout() constant
80 val textView = TextView(context) in testIsUseLocalePreferredLineHeightForMinimum_SetGet() constant
92 val textView = EditText(context).apply { in testIsUseLocalePreferredLineHeightForMinimum_ForLocale_EmptyLine() constant
112 val textView = EditText(context).apply { in testIsUseLocalePreferredLineHeightForMinimum_ForLocale() constant
H A DTextViewFontScalingTest.kt76 val textView = TextView(activity) in <lambda>() constant
94 val textView = TextView(activity) in <lambda>() constant
115 val textView = findTextView(activity, R.id.textview_lineheight2x) in <lambda>() constant
133 val textView = findTextView(activity, R.id.textview_lineheight2x) in <lambda>() constant
148 val textView = findTextView(activity, R.id.textview_lineheight2x) in <lambda>() constant
165 val textView = findTextView(activity, R.id.textview_lineheight_dimen3x) in <lambda>() constant
180 val textView = findTextView(activity, R.id.textview_lineheight_style3x) in <lambda>() constant
195 val textView = findTextView(activity, R.id.textview_lineheight_dimen3x) in <lambda>() constant
H A DTextViewSearchResultHighlightTest.java73 private Canvas prepareMockCanvas(TextView textView) { in prepareMockCanvas()
106 TextView textView = new TextView(mContext); in setAndGetNull() local
113 TextView textView = new TextView(mContext); in setAndGet() local
121 TextView textView = new TextView(mContext); in setAndGetColor() local
128 TextView textView = new TextView(mContext); in setAndGetFocusedColor() local
135 TextView textView = new TextView(mContext); in setAndGetFocusedIndex() local
158 TextView textView = new TextView(mContext); in invalidArg_OOB_FocusedIndex() local
165 TextView textView = new TextView(mContext); in drawRect() local
193 TextView textView = new TextView(mContext); in drawWithHighlight() local
229 TextView textView = new TextView(mContext); in drawWithFocused() local
H A DRemoteViewsTest.java270 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextViewText() local
288 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextViewTextSize() local
1102 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetCharSequence() local
1198 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextColor() local
1214 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextCompoundDrawables() local
1555 View textView = mResult.findViewById(R.id.remoteView_text); in testSetAccessibilityTraversalAfter() local
1568 View textView = mResult.findViewById(R.id.remoteView_text); in testSetAccessibilityTraversalBefore() local
1581 View textView = mResult.findViewById(R.id.remoteView_text); in testSetViewPadding() local
1600 View textView = mResult.findViewById(R.id.remoteView_text); in testSetViewLayoutMargin() local
1656 View textView = mResult.findViewById(R.id.remoteView_text); in testSetViewLayoutMarginDimen() local
[all …]
H A DTextViewHighlightTest.java74 private Canvas prepareMockCanvas(TextView textView) { in prepareMockCanvas()
107 TextView textView = new TextView(mContext); in setAndGetNull() local
114 TextView textView = new TextView(mContext); in setAndGet() local
125 TextView textView = new TextView(mContext); in drawRect() local
154 TextView textView = new TextView(mContext); in drawRectMultiple() local
191 TextView textView = new TextView(mContext); in drawRectCollapsed() local
222 EditText textView = new EditText(mContext); in drawRect_EditText() local
251 EditText textView = new EditText(mContext); in drawRectMultiple_EditText() local
288 TextView textView = new TextView(mContext); in drawRect_afterTextChange() local
H A DTextViewTest.java625 private static void assertImeOptions(TextView textView, in assertImeOptions()
838 final TextView textView = (TextView) mActivity.findViewById(R.id.textview_text); in testAccessHighlightColor() local
1951 private InputConnection initTextViewForSimulatedIme(TextView textView) { in initTextViewForSimulatedIme()
2583 private static boolean hasSpansAtMiddleOfText(final TextView textView, final Class<?> type) { in hasSpansAtMiddleOfText()
4112 final TextView textView = new TextView(mActivity); in testIsTextSelectable_returnsFalseByDefault() local
4120 final TextView textView = new TextView(mActivity); in testIsTextSelectable_returnsTrueIfSetTextIsSelectableCalledWithTrue() local
4129 final TextView textView = new TextView(mActivity); in testSetIsTextSelectable() local
5446 MockTextView textView = new MockTextView(mActivity); in testGetDefaultMovementMethod() local
5455 MockTextView textView = new MockTextView(mActivity); in testSetFrame() local
5559 final TextView textView = new TextView(mActivity); in testGetMarqueeRepeatLimit() local
[all …]
H A DArrayAdapterTest.java155 final TextView textView = new TextView(mContext); in testAccessView() local
181 final TextView textView = new TextView(mContext); in testGetViewOutOfBoundsLow() local
188 final TextView textView = new TextView(mContext); in testDropDownGetViewOutOfBoundsLow() local
195 final TextView textView = new TextView(mContext); in testGetViewOutOfBoundsHigh() local
196 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null); in testGetViewOutOfBoundsHigh() local
202 final TextView textView = new TextView(mContext); in testDropDownGetViewOutOfBoundsHigh() local
203 mArrayAdapter.getDropDownView(mArrayAdapter.getCount(), textView, null); in testDropDownGetViewOutOfBoundsHigh() local
/aosp_15_r20/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A 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 …]
/aosp_15_r20/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DDatagram.java179 TextView textView = findViewById(R.id.text_id); in startTransmissionUpdatesApp() local
217 TextView textView = findViewById(R.id.text_id); in stopTransmissionUpdatesApp() local
237 TextView textView = findViewById(R.id.text_id); in pollPendingDatagramsApp() local
279 TextView textView = findViewById(R.id.text_id); in sendDatagramApp() local
304 TextView textView = findViewById(R.id.text_id); in registerForIncomingDatagramApp() local
315 TextView textView = findViewById(R.id.text_id); in unregisterForIncomingDatagramApp() local
320 TextView textView = findViewById(R.id.text_id); in showDatagramSendStateTransitionApp() local
326 TextView textView = findViewById(R.id.text_id); in showDatagramReceiveStateTransitionApp() local
334 TextView textView = findViewById(R.id.text_id); in registerForModemStateChangedApp() local
345 TextView textView = findViewById(R.id.text_id); in unregisterForModemStateChangedApp() local
[all …]
DSatelliteControl.java115 TextView textView = findViewById(R.id.text_id); in enableSatelliteApp() local
141 TextView textView = findViewById(R.id.text_id); in disableSatelliteApp() local
320 TextView textView = findViewById(R.id.text_id); in removeUserRestrictReasonApp() local
349 TextView textView = findViewById(R.id.text_id); in addUserRestrictReasonApp() local
378 TextView textView = findViewById(R.id.text_id); in getSatellitePlmnApp() local
384 TextView textView = findViewById(R.id.text_id); in getAllSatellitePlmnApp() local
390 TextView textView = findViewById(R.id.text_id); in isSatelliteEnabledForCarrierApp() local
396 TextView textView = findViewById(R.id.text_id); in isRequestIsSatelliteEnabledForCarrierApp() local
403 TextView textView = findViewById(R.id.text_id); in getIsEmergencyApp() local
DProvisioning.java96 TextView textView = findViewById(R.id.text_id); in provisionServiceApp() local
119 TextView textView = findViewById(R.id.text_id); in deprovisionServiceApp() local
165 TextView textView = findViewById(R.id.text_id); in registerForProvisionStateChangedApp() local
172 TextView textView = findViewById(R.id.text_id); in unregisterForProvisionStateChangedApp() local
177 TextView textView = findViewById(R.id.text_id); in showCurrentSatelliteProvisionStateApp() local
/aosp_15_r20/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
H A DAccessibilityTextActionTest.java139 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testNotEditableTextView_shouldNotExposeOrRespondToSetTextAction() local
161 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testEditableTextView_shouldExposeAndRespondToSetTextAction() local
220 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testClickableSpan_shouldWorkFromAccessibilityService() local
241 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testUrlSpan_shouldWorkFromAccessibilityService() local
264 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testImageSpan_accessibilityServiceShouldSeeContentDescription() local
294 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testTextViewProvidesLocationsWhenRequested() local
396 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady() local
454 final TextView textView = (TextView) mActivity.findViewById(R.id.text); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout() local
512 final TextView textView = mActivity.findViewById(R.id.text); in textTextLocationBoundaryShouldBeLimitedLength() local
529 final TextView textView = (TextView) mActivity.findViewById(R.id.editText); in testEditableTextView_shouldExposeAndRespondToImeEnterAction() local
[all …]
/aosp_15_r20/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
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
/aosp_15_r20/packages/apps/Contacts/src/com/android/contacts/detail/
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()
/aosp_15_r20/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()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java89 final TextView textView = createAdminSupportDialogTitleTextView(view, mActivity); in testSetAdminSupportTitle() local
128 final TextView textView = createAdminSupportDialogTitleTextView(view, mActivity); in testSetAdminSupportTitleForFinancedDevice() local
148 final TextView textView = createAdminSupportTextView(view, mActivity); in testSetAdminSupportDetails() local
169 final TextView textView = createAdminSupportTextView(view, mActivity); in testSetAdminSupportDetails_shortSupportMessageIsNull() local
191 final TextView textView = createAdminSupportTextView(view, mActivity); in testSetAdminSupportDetailsNotAdmin() local
226 final TextView textView = new TextView(activity); in createAdminSupportDialogTitleTextView() local
234 final TextView textView = new TextView(activity); in createAdminSupportTextView() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java310 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withOneNetworkSave_shouldShowOneNetworkSaving() local
327 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withTwoNetworksSave_shouldShowMultipleNetworksSaving() local
344 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withOneNetworkSaved_shouldShowOneNetworkSaved() local
361 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withTwoNetworksSaved_shouldShowMultipleNetworksSaved() local
377 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withOneNetworkSaveFailed_shouldShowOneNetworkFailed() local
394 final TextView textView = (TextView) mAddAppNetworksFragment.mLayoutView.findViewById( in status_withTwoNetworksSaveFailed_shouldShowMultipleNetworksFailed() local
/aosp_15_r20/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/view/
H A DFlexClockView.kt68 val bottomLocation: (textView: SimpleDigitalClockTextView) -> Int = { textView -> in <lambda>() method
76 digitalClockTextViewMap.forEach { (_, textView) -> in <lambda>() method
101 digitalClockTextViewMap.forEach { (_, textView) -> textView.refreshText() } in <lambda>() method
106 digitalClockTextViewMap.forEach { (id, textView) -> in <lambda>() method
131 digitalClockTextViewMap.forEach { (id, textView) -> in <lambda>() method
157 digitalClockTextViewMap.forEach { (id, textView) -> in <lambda>() method
/aosp_15_r20/packages/apps/Contacts/src/com/android/contacts/util/
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
/aosp_15_r20/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
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

12345678910>>...39