Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/android/widget/
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 …]
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()
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 …]
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()
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
/frameworks/base/apct-tests/perftests/core/src/android/widget/
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 …]
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
/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
/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
/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/base/core/tests/coretests/src/android/widget/espresso/
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()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DMainSwitchBarTest.java56 final TextView textView = ((TextView) mBar.findViewById(R.id.switch_text)); in setTitle_shouldUpdateTitle() local
100 final TextView textView = ((TextView) mBar.findViewById(R.id.switch_text)); in setTitle_shouldSetCorrectLineBreakStyle() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java191 final TextView textView = mNotificationInfo.findViewById(R.id.pkg_name); in testBindNotification_SetsTextApplicationName() local
344 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_SetsTextChannelName() local
366 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_DefaultChannelDoesNotUseChannelName() local
392 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist() local
414 final TextView textView = mNotificationInfo.findViewById(R.id.channel_name); in testBindNotification_UnblockablePackageUsesChannelName() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/
DModernShadeCarrierGroupMobileView.kt72 val textView = it.requireViewById<AutoMarqueeTextView>(R.id.mobile_carrier_text) in constructAndBind() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/
DActionButtonViewBinder.kt32 val textView = view.requireViewById<TextView>(R.id.overlay_action_chip_text) in bind() constant
/frameworks/base/apct-tests/perftests/core/src/android/text/
DTextViewSetTextMeasurePerfTest.java97 final TextView textView = new TextView(InstrumentationRegistry.getTargetContext()); in timeCreate() local
128 final TextView textView = new TextView(InstrumentationRegistry.getTargetContext()); in timeDraw() local
/frameworks/base/tests/UpdatableSystemFontTest/EmojiRenderingTestApp/src/com/android/emojirenderingtestapp/
DGetAvailableFontsTestActivity.java48 TextView textView = new TextView(this); in onCreate() local
/frameworks/base/core/java/com/android/internal/app/
DBilingualSuggestedLocaleAdapter.java84 TextView textView = (TextView) convertView; in getView() local
156 TextView textView, int languageStringResourceId, int regionStringResourceId) { in setHeaderText()
/frameworks/base/core/java/com/android/internal/widget/
DTextViewInputDisabler.java43 public TextViewInputDisabler(TextView textView) { in TextViewInputDisabler()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryStatsViewerActivity.java372 private void setProportionText(TextView textView, BatteryConsumerData.Entry entry) { in setProportionText()
379 private void setPowerText(TextView textView, double powerMah) { in setPowerText()
384 private void setDurationText(TextView textView, long durationMs) { in setDurationText()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DMainActivity.java19 View textView = findViewById(R.id.textView); in onCreate() local
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DDialogThemedActivity.java43 TextView textView = new TextView(this); in onCreate() local
/frameworks/base/core/tests/coretests/src/android/view/
DRunQueue.java38 TextView textView = new TextView(this); in onCreate() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java103 TextView textView = (TextView) child; in setText() local
136 TextView textView = getStyleableTextView(); in setStyle() local

1234