Home
last modified time | relevance | path

Searched refs:stringResource (Results 1 – 25 of 104) sorted by relevance

12345

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearGrantPermissionsScreen.kt24 import androidx.compose.ui.res.stringResource
75 label = stringResource(R.string.app_permission_location_accuracy), in WearGrantPermissionsScreen()
121 ALLOW_BUTTON -> stringResource(R.string.grant_dialog_button_allow) in labelsByButton()
122 ALLOW_ALWAYS_BUTTON -> stringResource(R.string.grant_dialog_button_allow_always) in labelsByButton()
123 ALLOW_FOREGROUND_BUTTON -> stringResource(R.string.grant_dialog_button_allow_foreground) in labelsByButton()
124 DENY_BUTTON -> stringResource(R.string.grant_dialog_button_deny) in labelsByButton()
125 DENY_AND_DONT_ASK_AGAIN_BUTTON -> stringResource(R.string.grant_dialog_button_deny) in labelsByButton()
126 ALLOW_ONE_TIME_BUTTON -> stringResource(R.string.grant_dialog_button_allow_one_time) in labelsByButton()
127 NO_UPGRADE_BUTTON -> stringResource(R.string.grant_dialog_button_no_upgrade) in labelsByButton()
129 stringResource(R.string.grant_dialog_button_no_upgrade) in labelsByButton()
[all …]
DWearAppPermissionScreen.kt26 import androidx.compose.ui.res.stringResource in <lambda>()
110 label = stringResource(R.string.app_permission_location_accuracy), in WearAppPermissionContent()
139 description = stringResource(detailResIds.first), in WearAppPermissionContent()
167 ButtonType.ALLOW -> stringResource(R.string.app_permission_button_allow) in labelsByButton()
168 ButtonType.ALLOW_ALWAYS -> stringResource(R.string.app_permission_button_allow_always) in labelsByButton()
170 stringResource(R.string.app_permission_button_allow_foreground) in labelsByButton()
171 ButtonType.ASK_ONCE -> stringResource(R.string.app_permission_button_ask) in labelsByButton()
172 ButtonType.ASK -> stringResource(R.string.app_permission_button_ask) in labelsByButton()
173 ButtonType.DENY -> stringResource(R.string.app_permission_button_deny) in labelsByButton()
174 ButtonType.DENY_FOREGROUND -> stringResource(R.string.app_permission_button_deny) in labelsByButton()
[all …]
DWearUnusedAppsScreen.kt22 import androidx.compose.ui.res.stringResource
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()
86 stringResource(R.string.unused_apps_page_title) in getScreenTitle()
88 stringResource(R.string.permission_removed_page_title)
94 stringResource(R.string.no_unused_apps) in getSubTitle()
110 stringResource(R.string.last_opened_category_title),
DWearPermissionUsageDetailsScreen.kt32 import androidx.compose.ui.res.stringResource in <lambda>()
53 val title = stringResource(R.string.permission_history_title) in <lambda>()
55 stringResource( in <lambda>()
120 item { Chip(label = stringResource(R.string.no_apps), onClick = {}) } in WearPermissionUsageDetailsContent()
141 stringResource(R.string.menu_hide_system) in WearPermissionUsageDetailsContent()
143 stringResource(R.string.menu_show_system) in WearPermissionUsageDetailsContent()
153 label = stringResource(R.string.manage_permission), in WearPermissionUsageDetailsContent()
DWearManageStandardPermissionScreen.kt27 import androidx.compose.ui.res.stringResource in <lambda>()
88 stringResource(summary, uiInfo.nonSystemGranted, uiInfo.nonSystemTotal) in getPermGroupChipParams()
106 title = stringResource(R.string.app_permission_manager), in WearManageStandardPermissionContent()
125 label = stringResource(R.string.additional_permissions), in WearManageStandardPermissionContent()
143 label = stringResource(R.string.auto_revoke_permission_notification_title), in WearManageStandardPermissionContent()
146 secondaryLabel = stringResource(R.string.auto_revoke_setting_subtitle), in WearManageStandardPermissionContent()
DWearAppPermissionGroupsScreen.kt26 import androidx.compose.ui.res.stringResource
67 ScrollableScreen(title = stringResource(R.string.app_permissions), isLoading = isLoading) { in WearAppPermissionGroupsContent()
69 item { Chip(label = stringResource(R.string.no_permissions), onClick = {}) } in WearAppPermissionGroupsContent()
98 label = stringResource(it.labelRes), in WearAppPermissionGroupsContent()
115 message = stringResource(it.messageId), in RevokeDialog()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditPageProvider.kt40 import androidx.compose.ui.res.stringResource in <lambda>()
118 …title = if (apnDataInit.newApn) stringResource(id = R.string.apn_add) else stringResource(id = R.s… in ApnPage()
130 }) { Text(text = stringResource(id = R.string.save)) } in ApnPage()
137 text = { Text(stringResource(R.string.menu_delete)) }, in ApnPage()
161 label = stringResource(R.string.apn_name), in ApnPage()
167 label = stringResource(R.string.apn_apn), in ApnPage()
173 label = stringResource(R.string.apn_http_proxy), in ApnPage()
178 label = stringResource(R.string.apn_http_port), in ApnPage()
183 label = stringResource(R.string.apn_user), in ApnPage()
188 label = stringResource(R.string.apn_password), in ApnPage()
[all …]
/packages/apps/Settings/src/com/android/settings/spa/network/
DSimOnboardingLabelSim.kt32 import androidx.compose.ui.res.stringResource
56 title = stringResource(R.string.sim_onboarding_label_sim_title), in SimOnboardingLabelSimImpl()
58 text = stringResource(R.string.sim_onboarding_next), in SimOnboardingLabelSimImpl()
62 text = stringResource(R.string.cancel), in SimOnboardingLabelSimImpl()
72 SimOnboardingMessage(stringResource(R.string.sim_onboarding_label_sim_msg)) in LabelSimBody()
91 stringResource(R.string.mobile_network_sim_name_rename), in LabelSimPreference()
99 stringResource(R.string.cancel), in LabelSimPreference()
103 title = stringResource(R.string.sim_onboarding_label_sim_dialog_title), in LabelSimPreference()
111 label = stringResource(R.string.sim_onboarding_label_sim_dialog_label), in LabelSimPreference()
DSimOnboardingSelectSim.kt26 import androidx.compose.ui.res.stringResource in <lambda>()
47 title = stringResource(id = R.string.sim_onboarding_select_sim_title), in <lambda>()
49 text = stringResource(id = R.string.sim_onboarding_next), in <lambda>()
54 text = stringResource(id = R.string.cancel), in <lambda>()
67 SimOnboardingMessage(stringResource(id = R.string.sim_onboarding_select_sim_msg)) in SelectSimBody()
/packages/apps/Settings/src/com/android/settings/network/
DSimOnboardingActivity.kt51 import androidx.compose.ui.res.stringResource in <lambda>()
258 stringResource( in <lambda>()
266 stringResource(R.string.sim_action_enabling_sim_without_carrier_name) in <lambda>()
274 stringResource(R.string.sim_action_reboot) in <lambda>()
279 stringResource( in <lambda>()
285 title = stringResource(R.string.sim_action_restart_dialog_title), in <lambda>()
287 Text(stringResource(R.string.sim_action_restart_dialog_msg)) in <lambda>()
333 stringResource(android.R.string.ok) in <lambda>()
337 title = stringResource(R.string.privileged_action_disable_fail_title), in <lambda>()
339 Text(stringResource(R.string.privileged_action_disable_fail_text)) in <lambda>()
[all …]
DBluetoothWiFiResetPreferenceController.kt29 import androidx.compose.ui.res.stringResource
60 text = stringResource(R.string.reset_bluetooth_wifi_button_text), in getAvailabilityStatus()
62 dismissButton = AlertDialogButton(text = stringResource(R.string.cancel)), in getAvailabilityStatus()
63 title = stringResource(R.string.reset_bluetooth_wifi_title), in getAvailabilityStatus()
65 Text(stringResource(R.string.reset_bluetooth_wifi_desc)) in getAvailabilityStatus()
70 override val title = stringResource(R.string.reset_bluetooth_wifi_title) in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/spa/app/
DResetAppPreferences.kt25 import androidx.compose.ui.res.stringResource
40 text = stringResource(R.string.reset_app_preferences), in MoreOptionsScope()
55 text = stringResource(R.string.reset_app_preferences_button), in rememberResetAppDialogPresenter()
60 dismissButton = AlertDialogButton(stringResource(R.string.cancel)), in rememberResetAppDialogPresenter()
61 title = stringResource(R.string.reset_app_preferences_title), in rememberResetAppDialogPresenter()
62 text = { Text(stringResource(R.string.reset_app_preferences_desc)) }, in rememberResetAppDialogPresenter()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppForceStopButton.kt28 import androidx.compose.ui.res.stringResource in <lambda>()
52 text = stringResource(R.string.force_stop), in <lambda>()
85 text = stringResource(R.string.okay), in <lambda>()
88 dismissButton = AlertDialogButton(stringResource(R.string.cancel)), in <lambda>()
89 title = stringResource(R.string.force_stop_dlg_title), in <lambda>()
90 text = { Text(stringResource(R.string.force_stop_dlg_text)) }, in <lambda>()
DAppClearButton.kt24 import androidx.compose.ui.res.stringResource
55 text = stringResource(R.string.clear_instant_app_data), in confirmDialogPresenter()
58 dismissButton = AlertDialogButton(stringResource(R.string.cancel)), in confirmDialogPresenter()
59 title = stringResource(R.string.clear_instant_app_data), in confirmDialogPresenter()
60 text = { Text(stringResource(R.string.clear_instant_app_confirmation)) }, in confirmDialogPresenter()
/packages/apps/Settings/src/com/android/settings/spa/about/
DDeviceName.kt24 import androidx.compose.ui.res.stringResource
41 stringResource(R.string.okay), onClick = DeviceNamePreference::confirmChange in EntryItem()
43 dismissButton = AlertDialogButton(stringResource(R.string.cancel)), in EntryItem()
44 title = stringResource(R.string.my_device_info_device_name_preference_title), in EntryItem()
49 stringResource(R.string.my_device_info_device_name_preference_title) in EntryItem()
/packages/apps/Settings/src/com/android/settings/spa/system/
DAppLanguages.kt24 import androidx.compose.ui.res.stringResource
41 title = stringResource(R.string.app_locales_picker_menu_title), in Page()
46 SettingsBody(stringResource(R.string.desc_app_locale_selection_supported)) in Page()
54 val summary = stringResource(R.string.app_locale_picker_summary) in EntryItem()
56 override val title = stringResource(R.string.app_locales_picker_menu_title) in EntryItem()
DLanguageAndInputPageProvider.kt23 import androidx.compose.ui.res.stringResource
44 val summary = stringResource(R.string.language_settings) in EntryItem()
46 override val title = stringResource(R.string.language_settings) in EntryItem()
59 RegularScaffold(title = stringResource(R.string.language_settings)) { in LanguageAndInput()
/packages/apps/Settings/src/com/android/settings/wifi/
DWepNetworksPreferenceController.kt29 import androidx.compose.ui.res.stringResource in <lambda>()
61 override val title = stringResource(R.string.wifi_allow_wep_networks) in <lambda>()
79 stringResource(R.string.sim_action_yes) in <lambda>()
87 stringResource(R.string.wifi_cancel) in <lambda>()
89 title = stringResource(R.string.wifi_settings_wep_networks_disconnect_title), in <lambda>()
92 stringResource(R.string.wifi_settings_wep_networks_disconnect_summary), in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloader.kt42 import androidx.compose.ui.res.stringResource in <lambda>()
143 stringResource(R.string.photopicker_preloading_dialog_title), in MediaPreloaderLoadingDialog()
151 stringResource( in MediaPreloaderLoadingDialog()
164 Text(stringResource(android.R.string.cancel)) in MediaPreloaderLoadingDialog()
196 stringResource(R.string.photopicker_preloading_dialog_error_title), in MediaPreloaderErrorDialog()
201 stringResource(R.string.photopicker_preloading_dialog_error_message), in MediaPreloaderErrorDialog()
209 Text(stringResource(android.R.string.ok)) in MediaPreloaderErrorDialog()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileUnavailableDialog.kt38 import androidx.compose.ui.res.stringResource
116 stringResource(R.string.photopicker_profile_blocked_by_admin_dialog_title), in getDialogContentForReason()
117 stringResource(R.string.photopicker_profile_blocked_by_admin_dialog_message) in getDialogContentForReason()
121 stringResource(R.string.photopicker_profile_unavailable_dialog_title, profileLabel), in getDialogContentForReason()
122 stringResource( in getDialogContentForReason()
154 Text(stringResource(android.R.string.ok)) in ProfileUnavailableDialog()
DProfileSelector.kt44 import androidx.compose.ui.res.stringResource
85 stringResource(R.string.photopicker_profile_switch_button_description) in ProfileSelector()
93 stringResource(R.string.photopicker_profile_switch_button_description) in ProfileSelector()
185 stringResource(R.string.photopicker_profile_primary_label) in getLabelForProfile()
187 stringResource(R.string.photopicker_profile_managed_label) in getLabelForProfile()
189 stringResource(R.string.photopicker_profile_unknown_label) in getLabelForProfile()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt52 import androidx.compose.ui.res.stringResource in <lambda>()
169 stringResource( in PreviewMedia()
191 stringResource(R.string.photopicker_deselect_button_label) in PreviewMedia()
192 else stringResource(R.string.photopicker_select_button_label) in PreviewMedia()
255 stringResource( in Preview()
279 stringResource(R.string.photopicker_deselect_button_label) in Preview()
281 else stringResource(R.string.photopicker_select_button_label), in Preview()
309 stringResource( in Preview()
351 stringResource(R.string.photopicker_preview_button_label), in PreviewSelectionButton()
/packages/apps/Settings/src/com/android/settings/spa/notification/
DAppListNotifications.kt21 import androidx.compose.ui.res.stringResource
36 title = stringResource(R.string.app_notifications_title), in Page()
43 val summary = stringResource(R.string.app_notification_field_summary) in EntryItem()
45 override val title = stringResource(R.string.app_notifications_title) in EntryItem()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DCertificateDetailsPreferenceController.kt33 import androidx.compose.ui.res.stringResource in <lambda>()
72 stringResource(R.string.wifi_certificate_summary_system) in <lambda>()
76 if (aliasesSize == 1) stringResource(R.string.one_cacrt) in <lambda>()
79 stringResource(R.string.wifi_certificate_summary_Certificates), in <lambda>()
84 else -> stringResource(R.string.wifi_certificate_summary_pinning) in <lambda>()
88 override val title = stringResource(com.android.internal.R.string.ssl_certificate) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DAlertDialog.kt26 import androidx.compose.ui.res.stringResource
61 okButtonContentDescription: String = stringResource(android.R.string.ok), in AlertDialog()
62 cancelButtonContentDescription: String = stringResource(android.R.string.cancel) in AlertDialog()
97 buttonContentDescription: String = stringResource(android.R.string.ok) in SingleButtonAlertDialog()
122 okButtonContentDescription: String = stringResource(android.R.string.ok), in AlertContent()
123 cancelButtonContentDescription: String = stringResource(android.R.string.cancel), in AlertContent()

12345