Home
last modified time | relevance | path

Searched refs:Text (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DBreakIteratorPerfTest.java41 public enum Text { enum in BreakIteratorPerfTest
150 Text(Locale locale, String text) { in Text() method in BreakIteratorPerfTest.Text
159 {Text.ACCENT}, {Text.BIDI}, {Text.EMOJI}, {Text.EMPTY}, {Text.GERMAN}, in getData()
160 {Text.LIPSUM}, {Text.LONGPARA}, {Text.NEWLINE}, {Text.SPACES}, {Text.TABS}, in getData()
161 {Text.THAI}, {Text.THAI2} in getData()
167 public void timeBreakIterator(Text text) { in timeBreakIterator()
181 public void timeIcuBreakIterator(Text text) { in timeIcuBreakIterator()
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DText.java35 public final class Text implements Parcelable { class
44 Text(Parcel in) { in Text() method in Text
50 private Text(@NonNull CharSequence text, TextUtils.TruncateAt truncateAtType, int maxLines) { in Text() method in Text
74 public static final Creator<Text> CREATOR = new Creator<Text>() {
76 public Text createFromParcel(Parcel in) {
77 return new Text(in);
81 public Text[] newArray(int size) {
82 return new Text[size];
94 if (!(o instanceof Text)) return false; in equals()
95 Text that = (Text) o; in equals()
[all …]
DHeadToHeadTemplateData.java44 private final Text mHeadToHeadTitle;
50 private final Text mHeadToHeadFirstCompetitorText;
52 private final Text mHeadToHeadSecondCompetitorText;
60 mHeadToHeadTitle = in.readTypedObject(Text.CREATOR); in HeadToHeadTemplateData()
63 mHeadToHeadFirstCompetitorText = in.readTypedObject(Text.CREATOR); in HeadToHeadTemplateData()
64 mHeadToHeadSecondCompetitorText = in.readTypedObject(Text.CREATOR); in HeadToHeadTemplateData()
75 @Nullable Text headToHeadTitle, in HeadToHeadTemplateData()
78 @Nullable Text headToHeadFirstCompetitorText, in HeadToHeadTemplateData()
79 @Nullable Text headToHeadSecondCompetitorText, in HeadToHeadTemplateData()
94 public Text getHeadToHeadTitle() { in getHeadToHeadTitle()
[all …]
DCarouselTemplateData.java198 private final Text mUpperText;
206 private final Text mLowerText;
216 mUpperText = in.readTypedObject(Text.CREATOR); in CarouselItem()
218 mLowerText = in.readTypedObject(Text.CREATOR); in CarouselItem()
222 private CarouselItem(@Nullable Text upperText, @Nullable Icon image, in CarouselItem()
223 @Nullable Text lowerText, @Nullable TapAction tapAction) { in CarouselItem()
231 public Text getUpperText() { in getUpperText()
241 public Text getLowerText() { in getLowerText()
314 private Text mUpperText;
316 private Text mLowerText;
[all …]
DSubCardTemplateData.java48 private final Text mSubCardText;
57 mSubCardText = in.readTypedObject(Text.CREATOR); in SubCardTemplateData()
69 @Nullable Text subCardText, in SubCardTemplateData()
87 public Text getSubCardText() { in getSubCardText()
161 private Text mSubCardText;
176 public Builder setSubCardText(@NonNull Text subCardText) { in setSubCardText()
DSubImageTemplateData.java45 private final List<Text> mSubImageTexts;
57 mSubImageTexts = in.createTypedArrayList(Text.CREATOR); in SubImageTemplateData()
69 @NonNull List<Text> subImageTexts, in SubImageTemplateData()
82 public List<Text> getSubImageTexts() { in getSubImageTexts()
164 private final List<Text> mSubImageTexts;
171 public Builder(@NonNull List<Text> subImageTexts, in Builder()
DSubListTemplateData.java48 private final List<Text> mSubListTexts;
57 mSubListTexts = in.createTypedArrayList(Text.CREATOR); in SubListTemplateData()
69 @NonNull List<Text> subListTexts, in SubListTemplateData()
87 public List<Text> getSubListTexts() { in getSubListTexts()
161 private final List<Text> mSubListTexts;
167 public Builder(@NonNull List<Text> subListTexts) { in Builder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinatorTest.kt40 import com.android.systemui.common.shared.model.Text
139 Text.Loaded("text"), in displayView_contentDescription_iconHasDescription()
154 Text.Loaded("text"), in displayView_contentDescription_iconHasNoDescription()
168 Text.Loaded("text"), in displayView_contentDescription_endIsLoading()
184 Text.Loaded("text"), in displayView_contentDescription_endNotLoading()
202 Text.Loaded("text"), in displayView_loadedIcon_correctlyRendered()
218 Text.Loaded("text"), in displayView_resourceIcon_correctlyRendered()
233 Text.Loaded("display view text here"), in displayView_loadedText_correctlyRendered()
246 Text.Resource(R.string.screenrecord_start_error), in displayView_resourceText_correctlyRendered()
260 Text.Loaded("text"), in displayView_endItemNull_correctlyRendered()
[all …]
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DTexts.kt21 import androidx.compose.material3.Text
38 Text( in HeadlineText()
52 Text( in BodyMediumText()
70 Text(
86 Text( in LargeTitleText()
104 Text(
120 Text( in SectionHeaderText()
133 Text( in SnackbarContentText()
146 Text( in SnackbarActionText()
159 Text( in LargeLabelTextOnSurfaceVariant()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/scaffold/
DRegularScaffoldTest.kt19 import androidx.compose.material3.Text
37 Text(text = "AAA") in regularScaffold_titleIsDisplayed()
38 Text(text = "BBB") in regularScaffold_titleIsDisplayed()
49 Text(text = "AAA") in regularScaffold_itemsAreDisplayed()
50 Text(text = "BBB") in regularScaffold_itemsAreDisplayed()
DHomeScaffoldTest.kt19 import androidx.compose.material3.Text
37 Text(text = "AAA") in title_isDisplayed()
38 Text(text = "BBB") in title_isDisplayed()
49 Text(text = "AAA") in items_areDisplayed()
50 Text(text = "BBB") in items_areDisplayed()
DSuwScaffoldTest.kt21 import androidx.compose.material3.Text
39 Text(text = "AAA") in suwScaffold_titleIsDisplayed()
40 Text(text = "BBB") in suwScaffold_titleIsDisplayed()
51 Text(text = "AAA") in suwScaffold_itemsAreDisplayed()
52 Text(text = "BBB") in suwScaffold_itemsAreDisplayed()
DSettingsScaffoldTest.kt21 import androidx.compose.material3.Text in <lambda>()
55 Text(text = "AAA") in <lambda>()
56 Text(text = "BBB") in <lambda>()
67 Text(text = "AAA") in <lambda>()
68 Text(text = "BBB") in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/shared/model/
DText.kt27 sealed class Text { class
30 ) : Text()
34 ) : Text()
43 fun Text?.loadText(context: Context): String? { in loadText() method
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/
DTextExt.kt22 import com.android.systemui.common.shared.model.Text
26 fun Text.load(): String? { in load() method
28 is Text.Loaded -> text in load()
29 is Text.Resource -> stringResource(res) in load()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/binder/
DTextViewBinder.kt21 import com.android.systemui.common.shared.model.Text
24 fun bind(view: TextView, viewModel: Text) { in bind()
27 is Text.Resource -> view.context.getString(viewModel.res) in bind()
28 is Text.Loaded -> viewModel.text in bind()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceUtils.java20 import android.app.smartspace.uitemplatedata.Text;
34 public static boolean isEmpty(@Nullable Text text) { in isEmpty()
39 public static boolean isEqual(@Nullable Text text1, @Nullable Text text2) { in isEqual()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/model/
DInternetTileModel.kt21 import com.android.systemui.common.shared.model.Text
26 val secondaryLabel: Text?
34 override val secondaryLabel: Text? = null,
43 override val secondaryLabel: Text? = null,
/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/theme/
DSystemUIThemeTest.kt19 import androidx.compose.material3.Text
35 composeRule.setContent { PlatformTheme { Text("foo") } } in testThemeShowsContent()
44 Text("foo", color = LocalAndroidColorScheme.current.deprecated.colorAccent) in testAndroidColorsAreAvailableInsideTheme()
55 Text("foo", color = LocalAndroidColorScheme.current.deprecated.colorAccent) in testAccessingAndroidColorsWithoutThemeThrows()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/components/
DTexts.kt21 import androidx.compose.material3.Text
33 Text( in WearTitleText()
44 Text( in WearDisplayNameText()
62 Text(
84 Text(
102 Text(
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/
DText.kt25 import androidx.compose.material3.Text
45 Text( in SettingsTitle()
56 Text( in SettingsTitleSmall()
65 Text( in SettingsDialogItem()
76 Text( in SettingsListItem()
94 Text( in SettingsBody()
113 Text( in PlaceholderTitle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/
DInternetTileModel.kt25 import com.android.systemui.common.shared.model.Text
26 import com.android.systemui.common.shared.model.Text.Companion.loadText
33 val secondaryLabel: Text?
66 override val secondaryLabel: Text? = null,
75 override val secondaryLabel: Text? = null,
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/data/repository/
DIconAndNameCustomRepositoryTest.kt30 import com.android.systemui.common.shared.model.Text
101 Text.Loaded(tileService1), in loadDataForCurrentServices()
102 Text.Loaded(appName1), in loadDataForCurrentServices()
108 Text.Loaded(tileService2), in loadDataForCurrentServices()
109 Text.Loaded(appName2), in loadDataForCurrentServices()
145 Text.Loaded(tileService1), in loadDataForCurrentServices_serviceInfoWithNullIcon_notInList()
146 Text.Loaded(appName1), in loadDataForCurrentServices_serviceInfoWithNullIcon_notInList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditTileViewModel.kt20 import com.android.systemui.common.shared.model.Text
32 val label: Text,
33 val appName: Text?,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/shared/model/
DEditTileData.kt20 import com.android.systemui.common.shared.model.Text
26 val label: Text,
27 val appName: Text?,

1234567