/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EnterpriseContactsCursorWrapperTest.java | 188 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 189 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 190 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 191 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 192 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 193 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 194 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 195 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 196 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() 197 assertEquals(null, rewritten.getString(column++)); in testWrappedResults() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/units/ |
D | UnitsSettingsFragment.java | 73 context.getString(R.string.pk_units_speed), 74 context.getString(R.string.units_speed_title), 75 context.getString(R.string.units_settings))); 80 context.getString(R.string.pk_units_distance), 81 context.getString(R.string.units_distance_title), 82 context.getString(R.string.units_settings))); 87 context.getString(R.string.pk_units_fuel_consumption), 88 context.getString(R.string.units_fuel_consumption_title), 89 context.getString(R.string.units_settings))); 91 context.getString(R.string.pk_units_volume), [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | ToggleSubscriptionDialogActivity.java | 161 getString(R.string.privileged_action_disable_sub_dialog_progress)); in onConfirm() 182 getString(R.string.sim_action_enabling_sim_without_carrier_name)); in onConfirm() 199 getString( in onConfirm() 207 getString(R.string.sim_action_enabling_sim_without_carrier_name)); in onConfirm() 236 getString(R.string.privileged_action_disable_fail_title), in handleSwitchToEuiccSubscriptionSidecarStateChange() 237 getString(R.string.privileged_action_disable_fail_text)); in handleSwitchToEuiccSubscriptionSidecarStateChange() 256 getString(R.string.sim_action_enable_sim_fail_title), in handleSwitchToRemovableSlotSidecarStateChange() 257 getString(R.string.sim_action_enable_sim_fail_text)); in handleSwitchToRemovableSlotSidecarStateChange() 274 getString(R.string.dsds_activation_failure_title), in handleEnableMultiSimSidecarStateChange() 275 getString(R.string.dsds_activation_failure_body_msg2)); in handleEnableMultiSimSidecarStateChange() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSettings.java | 136 mContext.getString(R.string.zen_mode_other_sounds_summary), in getOtherSoundCategoriesSummary() 158 return mContext.getString(R.string.zen_mode_none_calls); in getCallsSettingSummary() 160 return mContext.getString(R.string.zen_mode_calls_summary_one, in getCallsSettingSummary() 163 return mContext.getString(R.string.zen_mode_calls_summary_two, in getCallsSettingSummary() 174 return mContext.getString(R.string.zen_mode_none_messages); in getMessagesSettingSummary() 188 return mContext.getString(R.string.zen_mode_sound_summary_on); in getSoundSummary() 190 return mContext.getString(R.string.zen_mode_sound_summary_on_with_info, in getSoundSummary() 195 mContext.getString(R.string.zen_mode_sound_summary_off), in getSoundSummary() 205 return mContext.getResources().getString( in getBlockedEffectsSummary() 208 return mContext.getResources().getString( in getBlockedEffectsSummary() [all …]
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/ |
D | CarUiListItemActivity.java | 66 CarUiHeaderListItem header = new CarUiHeaderListItem(getString(R.string.first_header)); in generateSampleData() 70 item.setTitle(getString(R.string.test_title)); in generateSampleData() 71 item.setBody(getString(R.string.test_body)); in generateSampleData() 75 item.setTitle(getString(R.string.test_title_no_body)); in generateSampleData() 78 header = new CarUiHeaderListItem(getString(R.string.random_header), in generateSampleData() 79 getString(R.string.header_with_body)); in generateSampleData() 83 item.setBody(getString(R.string.test_body_no_title)); in generateSampleData() 87 item.setTitle(getString(R.string.test_title)); in generateSampleData() 92 item.setTitle(getString(R.string.test_title)); in generateSampleData() 93 item.setBody(getString(R.string.test_body)); in generateSampleData() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | OmtpVoicemailMessageCreator.java | 67 context.getString(R.string.voicemail_error_activating_title), in create() 68 context.getString(R.string.voicemail_error_activating_message), in create() 78 context.getString(R.string.voicemail_error_activation_failed_title), in create() 79 context.getString(R.string.voicemail_error_activation_failed_message), in create() 86 context.getString(R.string.voicemail_error_no_data_title), in create() 87 context.getString(R.string.voicemail_error_no_data_message), in create() 94 context.getString(R.string.voicemail_error_no_data_title), in create() 95 context.getString(R.string.voicemail_error_no_data_cellular_required_message), in create() 102 context.getString(R.string.voicemail_error_bad_config_title), in create() 103 context.getString(R.string.voicemail_error_bad_config_message), in create() [all …]
|
D | Vvm3VoicemailMessageCreator.java | 88 context.getString(R.string.vvm3_error_vms_dns_failure_title), in create() 96 context.getString(R.string.vvm3_error_vmg_dns_failure_title), in create() 104 context.getString(R.string.vvm3_error_spg_dns_failure_title), in create() 112 context.getString(R.string.vvm3_error_vms_no_cellular_title), in create() 120 context.getString(R.string.vvm3_error_vmg_no_cellular_title), in create() 128 context.getString(R.string.vvm3_error_spg_no_cellular_title), in create() 136 context.getString(R.string.vvm3_error_vms_timeout_title), in create() 144 context.getString(R.string.vvm3_error_vmg_timeout_title), in create() 152 context.getString(R.string.vvm3_error_status_sms_timeout_title), in create() 160 context.getString(R.string.vvm3_error_subscriber_blocked_title), in create() [all …]
|
D | VoicemailTosMessageCreator.java | 134 context.getString(R.string.dialer_terms_and_conditions_existing_user_decline), 160 context.getString(R.string.dialer_terms_and_conditions_existing_user_ack), 418 String policyUrl = context.getString(R.string.verizon_terms_and_conditions_policy_url); 420 ? context.getString(R.string.verizon_terms_and_conditions_1_1_spanish, policyUrl) 421 : context.getString(R.string.verizon_terms_and_conditions_1_1_english, policyUrl); 425 return context.getString(R.string.dialer_terms_and_conditions_for_verizon_1_0); 433 String learnMoreText = context.getString(R.string.dialer_terms_and_conditions_learn_more); 434 return context.getString(R.string.dialer_terms_and_conditions_1_0, learnMoreText); 442 String learnMoreText = context.getString(R.string.dialer_terms_and_conditions_learn_more); 443 return context.getString(R.string.dialer_terms_and_conditions_existing_user, learnMoreText); [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DetailsHelper.java | 105 return context.getString(R.string.title); in getDetailsName() 107 return context.getString(R.string.description); in getDetailsName() 109 return context.getString(R.string.time); in getDetailsName() 111 return context.getString(R.string.location); in getDetailsName() 113 return context.getString(R.string.path); in getDetailsName() 115 return context.getString(R.string.width); in getDetailsName() 117 return context.getString(R.string.height); in getDetailsName() 119 return context.getString(R.string.orientation); in getDetailsName() 121 return context.getString(R.string.duration); in getDetailsName() 123 return context.getString(R.string.mimetype); in getDetailsName() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | DetailsDialog.java | 103 ? context.getString(R.string.manual) 104 : context.getString(R.string.auto); 113 value = context.getString(R.string.flash_on); 115 value = context.getString(R.string.flash_off); 139 value = context.getString(R.string.unknown); 148 value = context.getString(R.string.unknown); 189 context, key), value, context.getString(details.getUnit(key))); 294 return context.getString(R.string.title); 296 return context.getString(R.string.description); 298 return context.getString(R.string.time); [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 108 if (TextUtils.equals(targetDocId, cursor.getString( in assertRowExist() 127 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument() 129 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument() 135 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument() 137 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument() 143 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); in testQueryChildDocument() 145 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))); in testQueryChildDocument() 156 childCursor.getString(childCursor.getColumnIndexOrThrow( in testQueryChildDocument() 159 childCursor.getString(childCursor.getColumnIndexOrThrow( in testQueryChildDocument() 162 childCursor.getString(childCursor.getColumnIndexOrThrow( in testQueryChildDocument() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeHelper.java | 61 incomingName = resources.getString(R.string.type_incoming); in CallTypeHelper() 62 incomingPulledName = resources.getString(R.string.type_incoming_pulled); in CallTypeHelper() 63 outgoingName = resources.getString(R.string.type_outgoing); in CallTypeHelper() 64 outgoingPulledName = resources.getString(R.string.type_outgoing_pulled); in CallTypeHelper() 65 missedName = resources.getString(R.string.type_missed); in CallTypeHelper() 66 incomingVideoName = resources.getString(R.string.type_incoming_video); in CallTypeHelper() 67 incomingVideoPulledName = resources.getString(R.string.type_incoming_video_pulled); in CallTypeHelper() 68 outgoingVideoName = resources.getString(R.string.type_outgoing_video); in CallTypeHelper() 69 outgoingVideoPulledName = resources.getString(R.string.type_outgoing_video_pulled); in CallTypeHelper() 70 missedVideoName = resources.getString(R.string.type_missed_video); in CallTypeHelper() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupSkipDialogTest.java | 55 assertThat(mActivity.getString(R.string.lock_screen_intro_skip_title)).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported() 57 assertThat(mActivity.getString(R.string.lock_screen_intro_skip_dialog_text)).isEqualTo( in frpMessages_areShownCorrectly_whenNotSupported() 70 assertThat(mActivity.getString(R.string.lock_screen_intro_skip_title)).isEqualTo( in frpMessages_areShownCorrectly_whenSupported() 72 assertThat(mActivity.getString(R.string.lock_screen_intro_skip_dialog_text_frp)).isEqualTo( in frpMessages_areShownCorrectly_whenSupported() 86 mActivity.getString(R.string.lock_screen_pin_skip_biometrics_title)); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 88 mActivity.getString(R.string.lock_screen_pin_skip_biometrics_message)); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 101 mActivity.getString(R.string.lock_screen_password_skip_face_title)); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 103 mActivity.getString(R.string.lock_screen_password_skip_face_message)); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 116 mActivity.getString(R.string.lock_screen_pattern_skip_face_title)); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() 118 mActivity.getString(R.string.lock_screen_pattern_skip_face_message)); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 96 label = context.getString(R.string.incall_video_call_operation_failed); in getInfo() 98 label = context.getString(R.string.incall_transferring); in getInfo() 105 label = context.getString(R.string.incall_remotely_held); in getInfo() 152 return context.getString(R.string.contact_grid_incoming_work_call); in getLabelForIncoming() 154 return context.getString(R.string.contact_grid_incoming_voice_call); in getLabelForIncoming() 161 context.getString(R.string.contact_grid_incoming_via_template, state.connectionLabel()); in getColoredConnectionLabel() 178 return context.getString(R.string.contact_grid_incoming_wifi_video_call); in getLabelForIncomingVideo() 180 return context.getString(R.string.contact_grid_incoming_video_call); in getLabelForIncomingVideo() 184 return context.getString(R.string.contact_grid_incoming_wifi_video_call); in getLabelForIncomingVideo() 186 return context.getString(R.string.contact_grid_incoming_video_call); in getLabelForIncomingVideo() [all …]
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 78 private static String getString(Cursor cursor, String columnName) { in getString() method in MtpDatabaseTest 79 return cursor.getString(cursor.getColumnIndex(columnName)); in getString() 101 DocumentsContract.Document.MIME_TYPE_DIR, getString(cursor, COLUMN_MIME_TYPE)); in testPutSingleStorageDocuments() 102 assertEquals("Storage", getString(cursor, COLUMN_DISPLAY_NAME)); in testPutSingleStorageDocuments() 134 assertEquals("Device Storage", getString(cursor, Root.COLUMN_TITLE)); in testPutSingleStorageDocuments() 163 … assertEquals(DocumentsContract.Document.MIME_TYPE_DIR, getString(cursor, COLUMN_MIME_TYPE)); in testPutStorageDocuments() 164 assertEquals("Storage", getString(cursor, COLUMN_DISPLAY_NAME)); in testPutStorageDocuments() 175 assertEquals("Storage", getString(cursor, COLUMN_DISPLAY_NAME)); in testPutStorageDocuments() 179 assertEquals("/@#%&<>Storage", getString(cursor, COLUMN_DISPLAY_NAME)); in testPutStorageDocuments() 213 assertEquals("text/plain", getString(cursor, COLUMN_MIME_TYPE)); in testPutChildDocuments() [all …]
|
D | MtpDocumentsProviderTest.java | 156 assertEquals("Device A", cursor.getString(0)); in testOpenDeviceOnDemand() 214 assertEquals("1", cursor.getString(0)); in testQueryRoots() 221 assertEquals("Device A Storage A", cursor.getString(3)); in testQueryRoots() 222 assertEquals("1", cursor.getString(4)); in testQueryRoots() 233 assertEquals("2", cursor.getString(0)); in testQueryRoots() 237 assertEquals("Device B Storage B", cursor.getString(3)); in testQueryRoots() 238 assertEquals("2", cursor.getString(4)); in testQueryRoots() 280 assertEquals("1", cursor.getString(0)); in testQueryRoots_error() 285 assertEquals("Device A", cursor.getString(3)); in testQueryRoots_error() 286 assertEquals("1", cursor.getString(4)); in testQueryRoots_error() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | QuickResponseUtils.java | 99 String cannedResponse1 = oldPrefs.getString(KEY_CANNED_RESPONSE_PREF_1, in maybeMigrateLegacyQuickResponses() 100 res.getString(R.string.respond_via_sms_canned_response_1)); in maybeMigrateLegacyQuickResponses() 101 String cannedResponse2 = oldPrefs.getString(KEY_CANNED_RESPONSE_PREF_2, in maybeMigrateLegacyQuickResponses() 102 res.getString(R.string.respond_via_sms_canned_response_2)); in maybeMigrateLegacyQuickResponses() 103 String cannedResponse3 = oldPrefs.getString(KEY_CANNED_RESPONSE_PREF_3, in maybeMigrateLegacyQuickResponses() 104 res.getString(R.string.respond_via_sms_canned_response_3)); in maybeMigrateLegacyQuickResponses() 105 String cannedResponse4 = oldPrefs.getString(KEY_CANNED_RESPONSE_PREF_4, in maybeMigrateLegacyQuickResponses() 106 res.getString(R.string.respond_via_sms_canned_response_4)); in maybeMigrateLegacyQuickResponses() 132 String defaultResponse1 = res.getString(R.string.respond_via_sms_canned_response_1); in maybeResetQuickResponses() 133 String currentValue1 = prefs.getString(QuickResponseUtils.KEY_CANNED_RESPONSE_PREF_1, ""); in maybeResetQuickResponses() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | StatusMessage.java | 81 provisioningStatus = unquote(getString(wrappedData, OmtpConstants.PROVISIONING_STATUS)); in StatusMessage() 82 statusReturnCode = getString(wrappedData, OmtpConstants.RETURN_CODE); in StatusMessage() 83 subscriptionUrl = getString(wrappedData, OmtpConstants.SUBSCRIPTION_URL); in StatusMessage() 84 serverAddress = getString(wrappedData, OmtpConstants.SERVER_ADDRESS); in StatusMessage() 85 tuiAccessNumber = getString(wrappedData, OmtpConstants.TUI_ACCESS_NUMBER); in StatusMessage() 87 getString(wrappedData, OmtpConstants.CLIENT_SMS_DESTINATION_NUMBER); in StatusMessage() 88 imapPort = getString(wrappedData, OmtpConstants.IMAP_PORT); in StatusMessage() 89 imapUserName = getString(wrappedData, OmtpConstants.IMAP_USER_NAME); in StatusMessage() 90 imapPassword = getString(wrappedData, OmtpConstants.IMAP_PASSWORD); in StatusMessage() 91 smtpPort = getString(wrappedData, OmtpConstants.SMTP_PORT); in StatusMessage() [all …]
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | Receiver.java | 90 context.getString(R.string.pref_key_tracing_on), false).commit(); in onReceive() 100 if (prefs.getBoolean(context.getString(R.string.pref_key_stop_on_bugreport), false) && in onReceive() 101 !prefs.getBoolean(context.getString( in onReceive() 104 … prefs.edit().putBoolean(context.getString(R.string.pref_key_tracing_on), false).commit(); in onReceive() 120 prefs.getBoolean(context.getString(R.string.pref_key_tracing_on), false); in updateTracing() 135 prefs.getString(context.getString(R.string.pref_key_buffer_size), in updateTracing() 136 context.getString(R.string.default_buffer_size))); in updateTracing() 138 … boolean appTracing = prefs.getBoolean(context.getString(R.string.pref_key_apps), true); in updateTracing() 139 … boolean longTrace = prefs.getBoolean(context.getString(R.string.pref_key_long_traces), true); in updateTracing() 142 prefs.getString(context.getString(R.string.pref_key_max_long_trace_size), in updateTracing() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferActivity.java | 219 mAlertBuilder.setTitle(getString(R.string.download_title)); in setUpDialog() 263 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent() 266 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent() 269 tmp = getString(R.string.download_line3, in customizeViewContent() 274 tmp = getString(R.string.download_line5); in customizeViewContent() 276 tmp = getString(R.string.download_succ_line5); in customizeViewContent() 282 tmp = getString(R.string.upload_line1, mTransInfo.mDeviceName); in customizeViewContent() 285 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent() 288 tmp = getString(R.string.upload_line3, mTransInfo.mFileType, in customizeViewContent() 293 tmp = getString(R.string.upload_line5); in customizeViewContent() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | DeviceAdminStringProviderImpl.java | 36 return mContext.getString(R.string.disabled_by_policy_title); in getDefaultDisabledByPolicyTitle() 41 return mContext.getString(R.string.disabled_by_policy_title_adjust_volume); in getDisallowAdjustVolumeTitle() 46 return mContext.getString(R.string.disabled_by_policy_title_outgoing_calls); in getDisallowOutgoingCallsTitle() 51 return mContext.getString(R.string.disabled_by_policy_title_sms); in getDisallowSmsTitle() 56 return mContext.getString(R.string.disabled_by_policy_title_camera); in getDisableCameraTitle() 61 return mContext.getString(R.string.disabled_by_policy_title_screen_capture); in getDisableScreenCaptureTitle() 66 return mContext.getString(R.string.disabled_by_policy_title_suspend_packages); in getSuspendPackagesTitle() 71 return mContext.getString(R.string.default_admin_support_msg); in getDefaultDisabledByPolicyContent() 76 return mContext.getString(R.string.help_url_action_disabled_by_it_admin); in getLearnMoreHelpPageUrl() 81 return mContext.getString(R.string.disabled_by_policy_title_financed_device); in getDisabledByPolicyTitleForFinancedDevice() [all …]
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | DeviceAdminStringProviderImpl.java | 35 return mContext.getString(R.string.disabled_by_policy_title); in getDefaultDisabledByPolicyTitle() 40 return mContext.getString(R.string.disabled_by_policy_title_adjust_volume); in getDisallowAdjustVolumeTitle() 45 return mContext.getString(R.string.disabled_by_policy_title_outgoing_calls); in getDisallowOutgoingCallsTitle() 50 return mContext.getString(R.string.disabled_by_policy_title_sms); in getDisallowSmsTitle() 55 return mContext.getString(R.string.disabled_by_policy_title_camera); in getDisableCameraTitle() 60 return mContext.getString(R.string.disabled_by_policy_title_screen_capture); in getDisableScreenCaptureTitle() 65 return mContext.getString(R.string.disabled_by_policy_title_suspend_packages); in getSuspendPackagesTitle() 70 return mContext.getString(R.string.default_admin_support_msg); in getDefaultDisabledByPolicyContent() 75 return mContext.getString(R.string.help_url_action_disabled_by_it_admin); in getLearnMoreHelpPageUrl() 80 return mContext.getString(R.string.disabled_by_policy_title_financed_device); in getDisabledByPolicyTitleForFinancedDevice() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | AllInOneTetherPreferenceController.java | 117 return mContext.getString(R.string.tether_settings_summary_off); in getSummary() 119 return mContext.getString(R.string.tether_settings_summary_hotspot_only); in getSummary() 121 return mContext.getString(R.string.tether_settings_summary_usb_tethering_only); in getSummary() 123 return mContext.getString( in getSummary() 126 return mContext.getString(R.string.tether_settings_summary_ethernet_tethering_only); in getSummary() 128 return mContext.getString(R.string.tether_settings_summary_hotspot_and_usb); in getSummary() 130 return mContext.getString(R.string.tether_settings_summary_hotspot_and_bluetooth); in getSummary() 132 return mContext.getString(R.string.tether_settings_summary_hotspot_and_ethernet); in getSummary() 134 return mContext.getString(R.string.tether_settings_summary_usb_and_bluetooth); in getSummary() 136 return mContext.getString(R.string.tether_settings_summary_usb_and_ethernet); in getSummary() [all …]
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 110 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_nav_button), v -> { in onCreate() 124 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_logo), v -> { in onCreate() 129 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_state), v -> { in onCreate() 139 mButtons.add(Pair.create(getString(R.string.toolbar_show_tabs_in_subpage), v -> in onCreate() 142 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_search_hint), v -> { in onCreate() 150 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_background), in onCreate() 153 mButtons.add(Pair.create(getString(R.string.toolbar_add_tab), v -> toolbar.addTab( in onCreate() 156 mButtons.add(Pair.create(getString(R.string.toolbar_add_tab_with_custom_text), v -> { in onCreate() 161 .setPositiveButton(getString(R.string.ok), (dialog, which) -> in onCreate() 169 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_search_icon), v -> { in onCreate() [all …]
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 107 .setTitle(getString(R.string.standard_alert_dialog)) in showDialog() 108 .setMessage(getString(R.string.my_message)) in showDialog() 109 .setNeutralButton(getString(R.string.neutral), (dialogInterface, which) -> { in showDialog() 111 .setPositiveButton(getString(R.string.ok), (dialogInterface, which) -> { in showDialog() 113 .setNegativeButton(getString(R.string.cancel), (dialogInterface, which) -> { in showDialog() 120 .setTitle(getString(R.string.alert_dialog_with_icon)) in showDialogWithIcon() 121 .setMessage(getString(R.string.my_message)) in showDialogWithIcon() 128 .setTitle(getString(R.string.standard_alert_dialog)) in showDialogWithNoButtonProvided() 140 .setPositiveButton(getString(R.string.ok), (dialogInterface, which) -> { in showDialogWithCheckbox() 142 .setNegativeButton(getString(R.string.cancel), (dialogInterface, which) -> { in showDialogWithCheckbox() [all …]
|