Home
last modified time | relevance | path

Searched refs:getString (Results 1 – 25 of 848) sorted by relevance

12345678910>>...34

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsHelper.java93 return context.getString(R.string.title); in getDetailsName()
95 return context.getString(R.string.description); in getDetailsName()
97 return context.getString(R.string.time); in getDetailsName()
99 return context.getString(R.string.location); in getDetailsName()
101 return context.getString(R.string.path); in getDetailsName()
103 return context.getString(R.string.width); in getDetailsName()
105 return context.getString(R.string.height); in getDetailsName()
107 return context.getString(R.string.orientation); in getDetailsName()
109 return context.getString(R.string.duration); in getDetailsName()
111 return context.getString(R.string.mimetype); in getDetailsName()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java215 mPara.mTitle = getString(R.string.download_title); in setUpDialog()
218 mPara.mPositiveButtonText = getString(R.string.download_ok); in setUpDialog()
220 mPara.mNegativeButtonText = getString(R.string.download_cancel); in setUpDialog()
223 mPara.mPositiveButtonText = getString(R.string.download_succ_ok); in setUpDialog()
227 mPara.mPositiveButtonText = getString(R.string.download_fail_ok); in setUpDialog()
230 mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); in setUpDialog()
234 mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); in setUpDialog()
236 mPara.mNegativeButtonText = getString(R.string.upload_fail_cancel); in setUpDialog()
268 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent()
271 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
[all …]
DBluetoothOppUtility.java84 info.mDestAddr = cursor.getString(cursor in queryRecord()
87 info.mFileName = cursor.getString(cursor in queryRecord()
90 info.mFileName = cursor.getString(cursor in queryRecord()
94 info.mFileName = context.getString(R.string.unknown_file); in queryRecord()
97 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in queryRecord()
107 info.mFileType = cursor.getString(cursor in queryRecord()
150 String fileName = metadataCursor.getString(0); in queryTransfersInBatch()
178 in.putExtra("title", context.getString(R.string.not_exist_file)); in openReceivedFile()
179 in.putExtra("content", context.getString(R.string.not_exist_file_desc)); in openReceivedFile()
209 in.putExtra("title", context.getString(R.string.unknown_file)); in openReceivedFile()
[all …]
DBluetoothOppBtEnableActivity.java60 p.mTitle = getString(R.string.bt_enable_title); in onCreate()
62 p.mPositiveButtonText = getString(R.string.bt_enable_ok); in onCreate()
64 p.mNegativeButtonText = getString(R.string.bt_enable_cancel); in onCreate()
72 contentView.setText(getString(R.string.bt_enable_line1) + "\n\n" in createView()
73 + getString(R.string.bt_enable_line2) + "\n"); in createView()
85 Toast.makeText(this, getString(R.string.enabling_progress_content), in onClick()
/packages/apps/Email/src/com/android/email/activity/
DAttachmentInfoDialog.java47 String title = res.getString(R.string.attachment_info_dialog_default_title); in newInstance()
48 String bodyText = res.getString(R.string.attachment_info_unknown); in newInstance()
57 bodyText = res.getString(R.string.attachment_info_malware); in newInstance()
59 bodyText = res.getString(R.string.attachment_info_policy); in newInstance()
61 bodyText = res.getString(R.string.attachment_info_no_intent); in newInstance()
63 bodyText = res.getString(R.string.attachment_info_sideload_disabled); in newInstance()
64 actionText = res.getString(R.string.attachment_info_application_settings); in newInstance()
69 bodyText = res.getString(R.string.attachment_info_apk_install_disabled); in newInstance()
71 title = res.getString(R.string.attachment_info_dialog_wifi_title); in newInstance()
72 bodyText = res.getString(R.string.attachment_info_wifi_only); in newInstance()
[all …]
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapString.java46 @Override public String getString() {
88 return getString().length() == 0; in isEmpty()
91 public abstract String getString(); in getString() method in ImapString
103 mParsedInteger = Integer.parseInt(getString()); in isNumber()
132 mParsedDate = DATE_TIME_FORMAT.parse(getString()); in isDate()
135 Log.w(Logging.LOG_TAG, getString() + " can't be parsed as a date."); in isDate()
157 return getString().equalsIgnoreCase(s); in is()
168 final String me = this.getString(); in startsWith()
185 return getString().equals(thatString.getString()); in equalsForTest()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java135 ? res.getString(R.string.sim_lock_on) in getSummary()
136 : res.getString(R.string.sim_lock_off); in getSummary()
155 mPin = savedInstanceState.getString(DIALOG_PIN); in onCreate()
156 mError = savedInstanceState.getString(DIALOG_ERROR); in onCreate()
162 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
166 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
167 mNewPin = savedInstanceState.getString(NEW_PINCODE); in onCreate()
262 message = mRes.getString(R.string.sim_enter_pin); in setDialogValues()
264 ? mRes.getString(R.string.sim_enable_sim_lock) in setDialogValues()
265 : mRes.getString(R.string.sim_disable_sim_lock)); in setDialogValues()
[all …]
DBatteryInfo.java88 + getString(R.string.battery_info_voltage_units));
90 + getString(R.string.battery_info_temperature_units));
97 mPower.setText(getString(R.string.battery_info_power_unplugged));
100 mPower.setText(getString(R.string.battery_info_power_ac));
103 mPower.setText(getString(R.string.battery_info_power_usb));
106 mPower.setText(getString(R.string.battery_info_power_wireless));
109 mPower.setText(getString(R.string.battery_info_power_ac_usb));
112 mPower.setText(getString(R.string.battery_info_power_unknown));
119 healthString = getString(R.string.battery_info_health_good);
121 healthString = getString(R.string.battery_info_health_overheat);
[all …]
DApnEditor.java148 sNotSet = getResources().getString(R.string.apn_not_set); in onCreate()
237 mName.setText(mCursor.getString(NAME_INDEX)); in fillUi()
238 mApn.setText(mCursor.getString(APN_INDEX)); in fillUi()
239 mProxy.setText(mCursor.getString(PROXY_INDEX)); in fillUi()
240 mPort.setText(mCursor.getString(PORT_INDEX)); in fillUi()
241 mUser.setText(mCursor.getString(USER_INDEX)); in fillUi()
242 mServer.setText(mCursor.getString(SERVER_INDEX)); in fillUi()
243 mPassword.setText(mCursor.getString(PASSWORD_INDEX)); in fillUi()
244 mMmsProxy.setText(mCursor.getString(MMSPROXY_INDEX)); in fillUi()
245 mMmsPort.setText(mCursor.getString(MMSPORT_INDEX)); in fillUi()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DDeliveryReportActivity.java118 items.add(new DeliveryReportItem("", getString(R.string.status_none), null)); in initListAdapter()
154 msgType = icicle.getString("message_type"); in getMessageType()
193 deliveryDateString = getString(R.string.delivered_label) + in getSmsReportItems()
199 getString(R.string.recipient_label) + c.getString(COLUMN_RECIPIENT), in getSmsReportItems()
200 getString(R.string.status_label) + in getSmsReportItems()
215 return getString(R.string.status_pending); in getMmsReportStatusText()
224 return getString(R.string.status_pending); in getMmsReportStatusText()
231 return getString(R.string.status_read); in getMmsReportStatusText()
233 return getString(R.string.status_unread); in getMmsReportStatusText()
240 return getString(R.string.status_pending); in getMmsReportStatusText()
[all …]
DMessageUtils.java155 if ("mms".equals(cursor.getString(MessageListAdapter.COLUMN_MSG_TYPE))) { in getMessageDetails()
185 return context.getResources().getString(R.string.cannot_get_details); in getNotificationIndDetails()
189 details.append(res.getString(R.string.message_type_label)); in getNotificationIndDetails()
190 details.append(res.getString(R.string.multimedia_notification)); in getNotificationIndDetails()
195 details.append(res.getString(R.string.from_label)); in getNotificationIndDetails()
197 res.getString(R.string.hidden_sender_address)); in getNotificationIndDetails()
201 details.append(res.getString( in getNotificationIndDetails()
208 details.append(res.getString(R.string.subject_label)); in getNotificationIndDetails()
212 details.append(subject.getString()); in getNotificationIndDetails()
217 details.append(res.getString(R.string.message_class_label)); in getNotificationIndDetails()
[all …]
DAttachmentTypeSelectorAdapter.java54 addItem(data, context.getString(R.string.attach_image), in getData()
57 addItem(data, context.getString(R.string.attach_take_photo), in getData()
60 addItem(data, context.getString(R.string.attach_video), in getData()
63 addItem(data, context.getString(R.string.attach_record_video), in getData()
67 addItem(data, context.getString(R.string.attach_sound), in getData()
71 addItem(data, context.getString(R.string.attach_record_sound), in getData()
75 addItem(data, context.getString(R.string.attach_slideshow), in getData()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java101 return concise ? context.getString(R.string.wifi_security_short_eap) : in getSecurityString()
102 context.getString(R.string.wifi_security_eap); in getSecurityString()
106 return concise ? context.getString(R.string.wifi_security_short_wpa) : in getSecurityString()
107 context.getString(R.string.wifi_security_wpa); in getSecurityString()
109 return concise ? context.getString(R.string.wifi_security_short_wpa2) : in getSecurityString()
110 context.getString(R.string.wifi_security_wpa2); in getSecurityString()
112 return concise ? context.getString(R.string.wifi_security_short_wpa_wpa2) : in getSecurityString()
113 context.getString(R.string.wifi_security_wpa_wpa2); in getSecurityString()
116 return concise ? context.getString(R.string.wifi_security_short_psk_generic) in getSecurityString()
117 : context.getString(R.string.wifi_security_psk_generic); in getSecurityString()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/
DTransitionType.java57 context.getString(R.string.transitions_alpha_countour), in getTransitions()
60 context.getString(R.string.transitions_alpha_diagonal), in getTransitions()
63 context.getString(R.string.transitions_crossfade), in getTransitions()
66 context.getString(R.string.transitions_fade_black), in getTransitions()
69 context.getString(R.string.transitions_sliding_right_out_left_in), in getTransitions()
72 context.getString(R.string.transitions_sliding_left_out_right_in), in getTransitions()
75 context.getString(R.string.transitions_sliding_top_out_bottom_in), in getTransitions()
78 context.getString(R.string.transitions_sliding_bottom_out_top_in), in getTransitions()
DEffectType.java50 context.getString(R.string.effect_pan_zoom), EFFECT_KEN_BURNS); in getEffects()
52 context.getString(R.string.effect_gradient), EFFECT_COLOR_GRADIENT); in getEffects()
54 context.getString(R.string.effect_sepia), EFFECT_COLOR_SEPIA); in getEffects()
56 context.getString(R.string.effect_negative), EFFECT_COLOR_NEGATIVE); in getEffects()
63 context.getString(R.string.effect_gradient), EFFECT_COLOR_GRADIENT); in getEffects()
65 context.getString(R.string.effect_sepia), EFFECT_COLOR_SEPIA); in getEffects()
67 context.getString(R.string.effect_negative), EFFECT_COLOR_NEGATIVE); in getEffects()
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapResponseTest.java71 ).getResponseCodeOrEmpty().getString() in testGetResponseCodeOrEmpty()
79 ).getResponseCodeOrEmpty().getString() in testGetResponseCodeOrEmpty()
88 ).getResponseCodeOrEmpty().getString() in testGetResponseCodeOrEmpty()
99 ).getAlertTextOrEmpty().getString() in testGetAlertTextOrEmpty()
109 ).getAlertTextOrEmpty().getString() in testGetAlertTextOrEmpty()
120 ).getStatusResponseTextOrEmpty().getString() in testGetStatusResponseTextOrEmpty()
129 ).getStatusResponseTextOrEmpty().getString() in testGetStatusResponseTextOrEmpty()
139 ).getStatusResponseTextOrEmpty().getString() in testGetStatusResponseTextOrEmpty()
/packages/apps/Contacts/src/com/android/contacts/util/
DStreamItemEntry.java87 mText = getString(cursor, StreamItems.TEXT); in StreamItemEntry()
88 mComments = getString(cursor, StreamItems.COMMENTS); in StreamItemEntry()
90 mAccountType = getString(cursor, StreamItems.ACCOUNT_TYPE); in StreamItemEntry()
91 mAccountName = getString(cursor, StreamItems.ACCOUNT_NAME); in StreamItemEntry()
92 mDataSet = getString(cursor, StreamItems.DATA_SET); in StreamItemEntry()
93 mResPackage = getString(cursor, StreamItems.RES_PACKAGE); in StreamItemEntry()
94 mIconRes = getString(cursor, StreamItems.RES_ICON); in StreamItemEntry()
95 mLabelRes = getString(cursor, StreamItems.RES_LABEL); in StreamItemEntry()
186 private static String getString(Cursor cursor, String columnName) { in getString() method in StreamItemEntry
187 return cursor.getString(cursor.getColumnIndex(columnName)); in getString()
/packages/apps/Email/tests/src/com/android/email/
DFolderPropertiesTests.java48 context.getString(R.string.mailbox_name_display_inbox), in testGetDisplayName()
60 context.getString(R.string.mailbox_name_display_drafts), in testGetDisplayName()
64 context.getString(R.string.mailbox_name_display_outbox), in testGetDisplayName()
68 context.getString(R.string.mailbox_name_display_sent), in testGetDisplayName()
72 context.getString(R.string.mailbox_name_display_trash), in testGetDisplayName()
76 context.getString(R.string.mailbox_name_display_junk), in testGetDisplayName()
87 context.getString(R.string.account_folder_list_summary_inbox), in testGetDisplayName()
90 context.getString(R.string.account_folder_list_summary_starred), in testGetDisplayName()
93 context.getString(R.string.account_folder_list_summary_drafts), in testGetDisplayName()
96 context.getString(R.string.account_folder_list_summary_outbox), in testGetDisplayName()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DPanelController.java161 String t = mContext.getString(R.string.aspect1to1_effect); in setAspectButton()
168 String t = mContext.getString(R.string.aspect4to3_effect); in setAspectButton()
175 String t = mContext.getString(R.string.aspect3to4_effect); in setAspectButton()
182 String t = mContext.getString(R.string.aspect5to7_effect); in setAspectButton()
189 String t = mContext.getString(R.string.aspect7to5_effect); in setAspectButton()
196 String t = mContext.getString(R.string.aspectNone_effect); in setAspectButton()
203 String t = mContext.getString(R.string.aspectOriginal_effect); in setAspectButton()
249 String apply = mContext.getString(R.string.apply_effect); in updateText()
491 mCurrentImage.getContext().getString(R.string.curvesRGB))) { in ensureFilter()
495 mCurrentImage.getContext().getString(R.string.tinyplanet))) { in ensureFilter()
[all …]
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNotificationImportExportListener.java72 message = mContext.getString(R.string.vcard_import_will_start_message, displayName); in onImportProcessed()
74 displayName = mContext.getString(R.string.vcard_unknown_filename); in onImportProcessed()
75 message = mContext.getString( in onImportProcessed()
101 mContext.getString(R.string.progress_notifier_message, in onImportParsed()
105 final String description = mContext.getString(R.string.importing_vcard_description, in onImportParsed()
116 final String description = mContext.getString(R.string.importing_vcard_finished_title, in onImportFinished()
140 mContext.getString(R.string.vcard_import_request_rejected_message)).sendToTarget(); in onImportFailed()
145 final String description = mContext.getString(R.string.importing_vcard_canceled_title, in onImportCanceled()
156 final String message = mContext.getString(R.string.vcard_export_will_start_message, in onExportProcessed()
169 mContext.getString(R.string.vcard_export_request_rejected_message)).sendToTarget(); in onExportFailed()
[all …]
DExportProcessor.java115 mService.getString(R.string.fail_reason_could_not_open_file, in runInternal()
125 mService.getString(R.string.config_export_vcard_type)); in runInternal()
150 mService.getString(R.string.fail_reason_could_not_initialize_exporter, in runInternal()
159 mService.getString(R.string.fail_reason_no_exportable_contact); in runInternal()
178 mService.getString(R.string.fail_reason_error_occurred_during_export, in runInternal()
200 final String title = mService.getString(R.string.exporting_vcard_finished_title, in runInternal()
221 return resources.getString(R.string.composer_failed_to_get_database_infomation); in translateComposerError()
223 return resources.getString(R.string.composer_has_no_exportable_contact); in translateComposerError()
225 return resources.getString(R.string.composer_not_initialized); in translateComposerError()
234 mService.getString(R.string.exporting_contact_list_message, displayName); in doProgressNotification()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSettingsValues.java110 mWeakSpaceStrippers = res.getString(R.string.weak_space_stripping_symbols); in SettingsValues()
111 mWeakSpaceSwappers = res.getString(R.string.weak_space_swapping_symbols); in SettingsValues()
112 mPhantomSpacePromotingSymbols = res.getString(R.string.phantom_space_promoting_symbols); in SettingsValues()
123 res.getString(R.string.suggested_punctuations), null); in SettingsValues()
126 res.getString(R.string.symbols_excluded_from_word_separators); in SettingsValues()
144 final String voiceModeMain = res.getString(R.string.voice_mode_main); in SettingsValues()
145 final String voiceModeOff = res.getString(R.string.voice_mode_off); in SettingsValues()
146 mVoiceMode = prefs.getString(Settings.PREF_VOICE_MODE, voiceModeMain); in SettingsValues()
147 mAutoCorrectionThresholdRawValue = prefs.getString(Settings.PREF_AUTO_CORRECTION_THRESHOLD, in SettingsValues()
148 res.getString(R.string.auto_correction_threshold_mode_index_modest)); in SettingsValues()
[all …]
/packages/apps/Browser/src/com/android/browser/
DAutofillHandler.java103 String fullName = c.getString(c.getColumnIndex( in run()
105 String email = c.getString(c.getColumnIndex( in run()
107 String company = c.getString(c.getColumnIndex( in run()
109 String addressLine1 = c.getString(c.getColumnIndex( in run()
111 String addressLine2 = c.getString(c.getColumnIndex( in run()
113 String city = c.getString(c.getColumnIndex( in run()
115 String state = c.getString(c.getColumnIndex( in run()
117 String zip = c.getString(c.getColumnIndex( in run()
119 String country = c.getString(c.getColumnIndex( in run()
121 String phone = c.getString(c.getColumnIndex( in run()
[all …]
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
DInputModeSwitcher.java378 mToggleStateCn = Integer.parseInt(r.getString(R.string.toggle_cn)); in InputModeSwitcher()
380 .getString(R.string.toggle_cn_cand)); in InputModeSwitcher()
382 .getString(R.string.toggle_en_lower)); in InputModeSwitcher()
384 .getString(R.string.toggle_en_upper)); in InputModeSwitcher()
386 .getString(R.string.toggle_en_sym1)); in InputModeSwitcher()
388 .getString(R.string.toggle_en_sym2)); in InputModeSwitcher()
390 .getString(R.string.toggle_smiley)); in InputModeSwitcher()
392 .getString(R.string.toggle_phone_sym)); in InputModeSwitcher()
395 .parseInt(r.getString(R.string.toggle_enter_go)); in InputModeSwitcher()
397 .getString(R.string.toggle_enter_search)); in InputModeSwitcher()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DMovieTheme.java55 new MovieOverlay(null, 0, 1000, context.getString(R.string.theme_travel_title), in getTheme()
56 context.getString(R.string.theme_travel_subtitle), in getTheme()
69 context.getString(R.string.theme_surfing_title), in getTheme()
70 context.getString(R.string.theme_surfing_subtitle), in getTheme()
82 new MovieOverlay(null, 0, 1000, context.getString(R.string.theme_film_title), in getTheme()
83 context.getString(R.string.theme_film_subtitle), in getTheme()
96 new MovieOverlay(null, 0, 1000, context.getString( in getTheme()
98 context.getString(R.string.theme_rock_and_roll_subtitle), in getTheme()

12345678910>>...34