Home
last modified time | relevance | path

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

1234

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/text/ui/viewmodel/
DText.kt23 sealed class Text { class
26 ) : Text()
30 ) : Text()
45 first: Text?, in evaluationEquals()
46 second: Text?, in evaluationEquals()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/icon/ui/viewbinder/
DIconViewBinder.kt22 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
36 is Text.Resource -> in bind()
37 view.context.getString((viewModel.contentDescription as Text.Resource).res) in bind()
38 is Text.Loaded -> (viewModel.contentDescription as Text.Loaded).text in bind()
DContentDescriptionViewBinder.kt21 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
26 viewModel: Text, in bind()
30 is Text.Resource -> view.context.getString(viewModel.res) in bind()
31 is Text.Loaded -> viewModel.text in bind()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModelTest.kt37 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text in <lambda>()
281 .isEqualTo(Text.Resource(R.string.keyguard_affordance_enablement_dialog_headline)) in <lambda>()
282 assertThat(dialog()?.message).isEqualTo(Text.Loaded(enablementExplanation)) in <lambda>()
284 assertThat(dialog()?.buttons?.first()?.text).isEqualTo(Text.Resource(R.string.cancel)) in <lambda>()
285 assertThat(dialog()?.buttons?.get(1)?.text).isEqualTo(Text.Loaded(enablementActionText)) in <lambda>()
352 Text.Loaded( in <lambda>()
359 Text.Loaded("Left shortcut") in <lambda>()
364 Text.Loaded("Right shortcut") in <lambda>()
383 description = Text.Loaded(FakeCustomizationProviderClient.AFFORDANCE_1), in <lambda>()
387 Text.Loaded("Left shortcut") in <lambda>()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/test/highpriorityuifeature/
DHighPriorityUiFeature.kt23 import androidx.compose.material3.Text
134 Text(UI_STRING) in composeTop()
143 Text(DIALOG_STRING) in dialog()
145 Text("navigate to start") in dialog()
161 Text(START_STRING) in start()
164 Text("navigate to dialog") in start()
170 Text("navigate to simple ui") in start()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/text/ui/viewbinder/
DTextViewBinder.kt21 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
26 viewModel: Text, in bind()
29 is Text.Resource -> view.setText(viewModel.res) in bind()
30 is Text.Loaded -> view.text = viewModel.text in bind()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/icon/ui/viewmodel/
DIcon.kt22 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
25 open val contentDescription: Text?,
29 override val contentDescription: Text?,
37 override val contentDescription: Text?,
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java41 return new Text(outputText); in newInstance()
117 private static class Text extends ExpectedKeyOutput { class in ExpectedKeyOutput
120 Text(final String text) { mText = text; } in Text() method in ExpectedKeyOutput.Text
151 return (output instanceof Text) && mText == ((Text)output).mText; in hasSameKeyOutput()
159 private static class CasePreservedText extends Text {
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/dialog/ui/viewmodel/
DDialogViewModel.kt22 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
26 val headline: Text? = null,
27 val supportingText: Text? = null,
28 val message: Text? = null,
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/viewmodel/
DKeyguardQuickAffordancePickerViewModel.kt40 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text in <lambda>()
164 Text.Loaded(getSlotContentDescription(slot.id)), in <lambda>()
166 text = Text.Loaded(affordanceModel.name), in <lambda>()
247 text = Text.Loaded(affordance.name), in <lambda>()
374 headline = Text.Resource(R.string.keyguard_affordance_enablement_dialog_headline), in <lambda>()
375 message = Text.Loaded(explanation), in <lambda>()
381 Text.Resource( in <lambda>()
398 text = Text.Loaded(actionText), in <lambda>()
420 text = Text.Resource(res = R.string.keyguard_affordance_none), in <lambda>()
459 ): Text { in <lambda>()
[all …]
DKeyguardQuickAffordanceSummaryViewModel.kt21 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
24 val description: Text,
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/undo/ui/viewmodel/
DUndoViewModel.kt26 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
55 headline = Text.Resource(R.string.reset_confirmation_dialog_title), in onRevertButtonClicked()
56 message = Text.Resource(R.string.reset_confirmation_dialog_message), in onRevertButtonClicked()
60 text = Text.Resource(R.string.cancel), in onRevertButtonClicked()
64 text = Text.Resource(R.string.reset), in onRevertButtonClicked()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloader.kt34 import androidx.compose.material3.Text in <lambda>()
142 Text( in MediaPreloaderLoadingDialog()
150 Text( in MediaPreloaderLoadingDialog()
164 Text(stringResource(android.R.string.cancel)) in MediaPreloaderLoadingDialog()
195 Text( in MediaPreloaderErrorDialog()
200 Text( in MediaPreloaderErrorDialog()
209 Text(stringResource(android.R.string.ok)) in MediaPreloaderErrorDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearUnusedAppsScreen.kt23 import androidx.wear.compose.material.Text
55 Text(text = categoryTitleByPeriod(period)) in WearUnusedAppsScreen()
74 item { Text(text = stringResource(R.string.unused_apps_page_summary)) } in WearUnusedAppsScreen()
76 item { Text(text = stringResource(R.string.auto_revoked_apps_page_summary)) } in WearUnusedAppsScreen()
77 item { Text(text = stringResource(R.string.auto_revoke_open_app_message)) } in WearUnusedAppsScreen()
/packages/apps/ThemePicker/src/com/android/customization/picker/settings/ui/viewmodel/
DColorContrastSectionViewModel.kt24 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text in <lambda>()
40 Text.Resource(R.string.color_contrast_default_title), in <lambda>()
48 Text.Resource(R.string.color_contrast_medium_title), in <lambda>()
56 Text.Resource(R.string.color_contrast_high_title), in <lambda>()
DColorContrastSectionDataViewModel.kt20 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
23 val description: Text,
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DRetriableErrorDialog.kt30 import androidx.compose.material3.Text
71 Text( in RetriableErrorDialog()
76 Text( in RetriableErrorDialog()
85 Text( in RetriableErrorDialog()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/settings/ui/viewmodel/
DColorContrastSectionViewModelTest.kt23 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
66 Text.Resource(R.string.color_contrast_default_title), in <lambda>()
80 Text.Resource(R.string.color_contrast_medium_title), in <lambda>()
94 Text.Resource(R.string.color_contrast_high_title), in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/test/simpleuifeature/
DSimpleUiFeature.kt19 import androidx.compose.material3.Text
116 Text(UI_STRING) in composeTop()
123 Text(UI_STRING) in simpleRoute()
129 TextButton(onClick = {}) { Text(BUTTON_LABEL) } in selectionBarAction()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/info/
DInfoCard.kt23 import androidx.compose.material3.Text in <lambda>()
39 Text( in <lambda>()
45 Text( in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DWallpaperQuickSwitchViewModel.kt22 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text in <lambda>()
168 val actionText: Text = in <lambda>()
170 Text.Resource(R.string.more_wallpapers) in <lambda>()
172 Text.Resource(R.string.wallpaper_picker_entry_title) in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileUnavailableDialog.kt31 import androidx.compose.material3.Text
146 Text(dialogTitle, style = MaterialTheme.typography.titleLarge) in ProfileUnavailableDialog()
148 Text(dialogMessage, style = MaterialTheme.typography.bodyMedium) in ProfileUnavailableDialog()
154 Text(stringResource(android.R.string.ok)) in ProfileUnavailableDialog()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/bottombar/
DBottomActionBar.kt29 import androidx.compose.material3.Text
64 Text(text = stringResource(R.string.cancel)) in BottomActionBar()
77 Text(text = stringResource(R.string.done)) in BottomActionBar()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/button/ui/viewmodel/
DButtonViewModel.kt20 import com.android.wallpaper.picker.common.text.ui.viewmodel.Text
23 val text: Text,
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt40 import androidx.compose.material3.Text in <lambda>()
189 Text( in PreviewMedia()
276 Text( in Preview()
308 Text( in Preview()
350 Text( in PreviewSelectionButton()

1234