Home
last modified time | relevance | path

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

12345678910>>...58

/packages/apps/ExactCalculator/src/com/android/calculator2/
DKeyMaps.java45 return context.getString(R.string.const_pi); in toString()
47 return context.getString(R.string.const_e); in toString()
49 return context.getString(R.string.op_sqrt); in toString()
51 return context.getString(R.string.op_fact); in toString()
53 return context.getString(R.string.op_pct); in toString()
55 return context.getString(R.string.fun_sin) + context.getString(R.string.lparen); in toString()
57 return context.getString(R.string.fun_cos) + context.getString(R.string.lparen); in toString()
59 return context.getString(R.string.fun_tan) + context.getString(R.string.lparen); in toString()
61 return context.getString(R.string.fun_arcsin) + context.getString(R.string.lparen); in toString()
63 return context.getString(R.string.fun_arccos) + context.getString(R.string.lparen); in toString()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java214 mPara.mTitle = getString(R.string.download_title); in setUpDialog()
217 mPara.mPositiveButtonText = getString(R.string.download_ok); in setUpDialog()
219 mPara.mNegativeButtonText = getString(R.string.download_cancel); in setUpDialog()
222 mPara.mPositiveButtonText = getString(R.string.download_succ_ok); in setUpDialog()
226 mPara.mPositiveButtonText = getString(R.string.download_fail_ok); in setUpDialog()
229 mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); in setUpDialog()
233 mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); in setUpDialog()
235 mPara.mNegativeButtonText = getString(R.string.upload_fail_cancel); in setUpDialog()
267 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent()
270 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
[all …]
DBluetoothOppUtility.java85 info.mDestAddr = cursor.getString(cursor in queryRecord()
88 info.mFileName = cursor.getString(cursor in queryRecord()
91 info.mFileName = cursor.getString(cursor in queryRecord()
95 info.mFileName = context.getString(R.string.unknown_file); in queryRecord()
98 info.mFileUri = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare.URI)); in queryRecord()
108 info.mFileType = cursor.getString(cursor in queryRecord()
151 String fileName = metadataCursor.getString(0); in queryTransfersInBatch()
179 in.putExtra("title", context.getString(R.string.not_exist_file)); in openReceivedFile()
180 in.putExtra("content", context.getString(R.string.not_exist_file_desc)); in openReceivedFile()
226 in.putExtra("title", context.getString(R.string.unknown_file)); in openReceivedFile()
[all …]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java70 foldersUri = Uri.parse(cursor.getString(folderUriIndex)); in testGetFolders()
96 assertEquals(foldersCursor.getString(name), "Folder zero"); in testGetFolders()
97 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders()
100 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders()
105 assertEquals(foldersCursor.getString(name), "Folder one"); in testGetFolders()
107 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders()
109 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders()
113 assertEquals(foldersCursor.getString(name), "Folder two"); in testGetFolders()
115 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders()
117 convUri = Uri.parse(foldersCursor.getString(convColumnIndex)); in testGetFolders()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java103 ? 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/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java199 mInternalSummary.setSummary(getString(R.string.storage_volume_used_total, in refresh()
311 Toast.makeText(mContext, mContext.getString(R.string.storage_mount_success, in onPostExecute()
315 Toast.makeText(mContext, mContext.getString(R.string.storage_mount_failure, in onPostExecute()
347 Toast.makeText(mContext, mContext.getString(R.string.storage_unmount_success, in onPostExecute()
351 Toast.makeText(mContext, mContext.getString(R.string.storage_unmount_failure, in onPostExecute()
373 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateDialog()
411 final String diskId = getArguments().getString(DiskInfo.EXTRA_DISK_ID); in onCreateDialog()
442 data.title = context.getString(R.string.storage_settings);
443 data.screenTitle = context.getString(R.string.storage_settings);
447 data.title = context.getString(R.string.internal_storage);
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsHelper.java105 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/Settings/src/com/android/settings/
DRadioInfo.java444 getString(R.string.turn_off_radio) : in updatePowerState()
445 getString(R.string.turn_on_radio); in updatePowerState()
480 + r.getString(R.string.radioInfo_display_dbm) + " " in updateSignalStrength()
482 + r.getString(R.string.radioInfo_display_asu)); in updateSignalStrength()
491 mLocation.setText(r.getString(R.string.radioInfo_lac) + " = " in updateLocation()
494 + r.getString(R.string.radioInfo_cid) + " = " in updateLocation()
579 String display = r.getString(R.string.radioInfo_unknown); in updateServiceState()
583 display = r.getString(R.string.radioInfo_service_in); in updateServiceState()
587 display = r.getString(R.string.radioInfo_service_emergency); in updateServiceState()
590 display = r.getString(R.string.radioInfo_service_off); in updateServiceState()
[all …]
DIccLockSettings.java153 ? res.getString(R.string.sim_lock_on) in getSummary()
154 : res.getString(R.string.sim_lock_off); in getSummary()
177 mPin = savedInstanceState.getString(DIALOG_PIN); in onCreate()
178 mError = savedInstanceState.getString(DIALOG_ERROR); in onCreate()
184 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
188 mOldPin = savedInstanceState.getString(OLD_PINCODE); in onCreate()
189 mNewPin = savedInstanceState.getString(NEW_PINCODE); in onCreate()
220 ? context.getString(R.string.sim_editor_title, i + 1) in onCreate()
319 message = mRes.getString(R.string.sim_enter_pin); in setDialogValues()
321 ? mRes.getString(R.string.sim_enable_sim_lock) in setDialogValues()
[all …]
DApnEditor.java163 sNotSet = getResources().getString(R.string.apn_not_set); in onCreate()
267 mName.setText(mCursor.getString(NAME_INDEX)); in fillUi()
268 mApn.setText(mCursor.getString(APN_INDEX)); in fillUi()
269 mProxy.setText(mCursor.getString(PROXY_INDEX)); in fillUi()
270 mPort.setText(mCursor.getString(PORT_INDEX)); in fillUi()
271 mUser.setText(mCursor.getString(USER_INDEX)); in fillUi()
272 mServer.setText(mCursor.getString(SERVER_INDEX)); in fillUi()
273 mPassword.setText(mCursor.getString(PASSWORD_INDEX)); in fillUi()
274 mMmsProxy.setText(mCursor.getString(MMSPROXY_INDEX)); in fillUi()
275 mMmsPort.setText(mCursor.getString(MMSPORT_INDEX)); in fillUi()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityActivity.java73 .breadcrumb(getString(R.string.header_category_personal)) in onCreate()
74 .title(getString(R.string.system_security)) in onCreate()
94 .title(getString(R.string.settings_on)) in onActionClicked()
100 .title(getString(R.string.settings_off)) in onActionClicked()
106 .breadcrumb(getString(R.string.system_security)) in onActionClicked()
107 .title(getString(R.string.security_unknown_sources_title)) in onActionClicked()
108 .description(getString(R.string.security_unknown_sources_desc)) in onActionClicked()
124 .title(getString(R.string.settings_ok)) in onActionClicked()
128 .title(getString(R.string.settings_cancel)) in onActionClicked()
132 .breadcrumb(getString(R.string.system_security)) in onActionClicked()
[all …]
DDeveloperOptionsActivity.java188 return new Layout().breadcrumb(getString(R.string.header_category_preferences)) in createLayout()
204 final String onTitle = getString(R.string.action_on_description); in getGeneralHeader()
205 final String offTitle = getString(R.string.action_off_description); in getGeneralHeader()
226 .add(getString(R.string.system_hdcp_checking_always), null, in getGeneralHeader()
228 .add(getString(R.string.system_hdcp_checking_drm), null, in getGeneralHeader()
230 .add(getString(R.string.system_hdcp_checking_never), null, in getGeneralHeader()
241 .add(getString(R.string.system_hdmi_optimization_best_resolution), null, in getGeneralHeader()
243 .add(getString(R.string.system_hdmi_optimization_best_framerate), null, in getGeneralHeader()
263 final String onTitle = getString(R.string.action_on_description); in getDebuggingHeader()
264 final String offTitle = getString(R.string.action_off_description); in getDebuggingHeader()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleDeskClockApiCalls.java140 final String reason = getString(R.string.stopwatch_already_running); in handleStopwatchIntent()
145 … final String reason = getString(R.string.stopwatch_cant_be_reset_because_is_running); in handleStopwatchIntent()
154 final String reason = getString(R.string.stopwatch_isnt_running); in handleStopwatchIntent()
166 reason = getString(R.string.stopwatch_started); in handleStopwatchIntent()
170 reason = getString(R.string.stopwatch_stopped); in handleStopwatchIntent()
174 reason = getString(R.string.stopwatch_lapped); in handleStopwatchIntent()
178 reason = getString(R.string.stopwatch_reset); in handleStopwatchIntent()
236 final String reason = mContext.getString(R.string.no_timer_set); in doInBackground()
248 … final String reason = mContext.getString(R.string.multiple_timers_available); in doInBackground()
257 final String reason = mContext.getString(R.string.timer_deleted); in doInBackground()
[all …]
/packages/apps/Music/src/com/android/music/
DArtistAlbumBrowserActivity.java92 mCurrentAlbumId = icicle.getString("selectedalbum"); in onCreate()
93 mCurrentAlbumName = icicle.getString("selectedalbumname"); in onCreate()
94 mCurrentArtistId = icicle.getString("selectedartist"); in onCreate()
95 mCurrentArtistName = icicle.getString("selectedartistname"); in onCreate()
272 String album = c.getString(c.getColumnIndex(MediaStore.Audio.Albums.ALBUM)); in onChildClick()
276 …mCurrentArtistId = mArtistCursor.getString(mArtistCursor.getColumnIndex(MediaStore.Audio.Artists._… in onChildClick()
340 …mCurrentArtistId = mArtistCursor.getString(mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.Ar… in onCreateContextMenu()
341 …mCurrentArtistName = mArtistCursor.getString(mArtistCursor.getColumnIndexOrThrow(MediaStore.Audio.… in onCreateContextMenu()
347 menu.setHeaderTitle(getString(R.string.unknown_artist_name)); in onCreateContextMenu()
363 mCurrentAlbumName = c.getString(c.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM)); in onCreateContextMenu()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageDetailsDialog.java108 details.append(res.getString(R.string.message_type_label)); in getSmsMessageDetails()
109 details.append(res.getString(R.string.text_message)); in getSmsMessageDetails()
116 details.append(res.getString(R.string.from_label)); in getSmsMessageDetails()
123 details.append(res.getString(R.string.to_address_label)); in getSmsMessageDetails()
131 details.append(res.getString(R.string.sent_label)); in getSmsMessageDetails()
165 details.append(res.getString(R.string.message_type_label)); in getMmsMessageDetails()
166 details.append(res.getString(R.string.multimedia_message)); in getMmsMessageDetails()
171 details.append(res.getString(R.string.from_label)); in getMmsMessageDetails()
173 res.getString(R.string.hidden_sender_address)); in getMmsMessageDetails()
180 details.append(res.getString(R.string.to_address_label)); in getMmsMessageDetails()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAccount.java446 displayName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.NAME)); in Account()
447 senderName = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.SENDER_NAME)); in Account()
448 type = cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.TYPE)); in Account()
449 accountManagerName = cursor.getString( in Account()
451 accountId = cursor.getString( in Account()
453 accountFromAddresses = Strings.nullToEmpty(cursor.getString( in Account()
466 uri = Uri.parse(cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.URI))); in Account()
468 cursor.getString(cursor.getColumnIndex(UIProvider.AccountColumns.FOLDER_LIST_URI))); in Account()
469 fullFolderListUri = Utils.getValidUri(cursor.getString( in Account()
471 allFolderListUri = Utils.getValidUri(cursor.getString( in Account()
[all …]
DMessage.java365 serverId = cursor.getString(UIProvider.MESSAGE_SERVER_ID_COLUMN); in Message()
366 final String messageUriStr = cursor.getString(UIProvider.MESSAGE_URI_COLUMN); in Message()
368 final String convUriStr = cursor.getString(UIProvider.MESSAGE_CONVERSATION_URI_COLUMN); in Message()
370 subject = cursor.getString(UIProvider.MESSAGE_SUBJECT_COLUMN); in Message()
371 snippet = cursor.getString(UIProvider.MESSAGE_SNIPPET_COLUMN); in Message()
372 mFrom = cursor.getString(UIProvider.MESSAGE_FROM_COLUMN); in Message()
373 mTo = cursor.getString(UIProvider.MESSAGE_TO_COLUMN); in Message()
374 mCc = cursor.getString(UIProvider.MESSAGE_CC_COLUMN); in Message()
375 mBcc = cursor.getString(UIProvider.MESSAGE_BCC_COLUMN); in Message()
376 mReplyTo = cursor.getString(UIProvider.MESSAGE_REPLY_TO_COLUMN); in Message()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/widi/
DWifiDisplayActivity.java57 getString(R.string.accessories_wifi_display), null, null, in onCreate()
100 .title(getString(R.string.action_on_title)).checked(isOn).build()); in showWifiDisplay()
102 .title(getString(R.string.action_off_title)).checked(!isOn).build()); in showWifiDisplay()
104 getString(R.string.accessories_wifi_display_enable), in showWifiDisplay()
105 getString(R.string.accessories_wifi_display), null, R.drawable.ic_settings_widi, in showWifiDisplay()
117 .title(getString(R.string.action_on_title)).checked(false).build()); in showPinRequired()
119 .title(getString(R.string.action_off_title)).checked(true).build()); in showPinRequired()
121 getString(R.string.accessories_wifi_display_pin_required), in showPinRequired()
122 getString(R.string.accessories_wifi_display), null, R.drawable.ic_settings_widi, in showPinRequired()
136 .title(getString(R.string.accessories_wifi_display_rename_device)).build()); in getMainActions()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java502 String threadName = c.getString(fi.mMessageColThreadName); in setThreadName()
625 attachmentMimeTypes = c.getString(fi.mMessageColAttachmentMime); in setAttachment()
683 deliveryStatus = c.getString(fi.mMessageColDelivery); in setDeliveryStatus()
695 String subject = c.getString(fi.mSmsColSubject); in setSize()
801 toAddress = c.getString(fi.mMessageColToAddress); in getRecipientNameEmail()
802 ccAddress = c.getString(fi.mMessageColCcAddress); in getRecipientNameEmail()
803 bccAddress = c.getString(fi.mMessageColBccAddress); in getRecipientNameEmail()
868 toAddress = c.getString(fi.mMessageColToAddress); in getRecipientAddressingEmail()
869 ccAddress = c.getString(fi.mMessageColCcAddress); in getRecipientAddressingEmail()
870 bccAddress = c.getString(fi.mMessageColBccAddress); in getRecipientAddressingEmail()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeAutomationSettings.java187 if (rule == null || !rule.enabled) return getString(R.string.switch_off_text); in computeRuleSummary()
189 String summary = getString(R.string.switch_on_text); in computeRuleSummary()
197 return getString(R.string.zen_mode_rule_summary_combination, summary, mode); in computeRuleSummary()
204 final String time = getString(R.string.summary_range_verbal_combination, start, end); in computeScheduleRuleSummary()
205 return getString(R.string.zen_mode_rule_summary_combination, days, time); in computeScheduleRuleSummary()
209 final String calendar = getString(R.string.zen_mode_event_rule_summary_calendar_template, in computeEventRuleSummary()
211 final String reply = getString(R.string.zen_mode_event_rule_summary_reply_template, in computeEventRuleSummary()
212 getString(computeReply(event))); in computeEventRuleSummary()
213 return getString(R.string.zen_mode_rule_summary_combination, calendar, reply); in computeEventRuleSummary()
218 : getString(R.string.zen_mode_event_rule_summary_any_calendar); in computeCalendarName()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/privacy/
DPrivacyActivity.java163 getString(R.string.device_reset), in onFactoryResetConfirm()
164 getString(R.string.confirm_factory_reset_description), in onFactoryResetConfirm()
192 .title(getString(R.string.factory_reset_device)) in getFactoryResetActions()
197 .title(getString(R.string.settings_cancel)) in getFactoryResetActions()
207 .title(getString(R.string.confirm_factory_reset_device)) in getFactoryResetConfirmActions()
212 .title(getString(R.string.settings_cancel)) in getFactoryResetConfirmActions()
339 mBackupManager.isBackupEnabled() ? getString(R.string.settings_on) in getMainActions()
340 : getString(R.string.settings_off))); in getMainActions()
343 getResources(), configSummary == null ? getString( in getMainActions()
349 getResources(), isAutoRestoreEnabled() ? getString(R.string.settings_on) in getMainActions()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationListItemData.java78 mConversationId = cursor.getString(INDEX_ID); in bind()
79 mName = cursor.getString(INDEX_CONVERSATION_NAME); in bind()
80 mIcon = cursor.getString(INDEX_CONVERSATION_ICON); in bind()
81 mSnippetText = cursor.getString(INDEX_SNIPPET_TEXT); in bind()
84 final String previewUriString = cursor.getString(INDEX_PREVIEW_URI); in bind()
86 mPreviewContentType = cursor.getString(INDEX_PREVIEW_CONTENT_TYPE); in bind()
88 mParticipantLookupKey = cursor.getString(INDEX_PARTICIPANT_LOOKUP_KEY); in bind()
89 mOtherParticipantNormalizedDestination = cursor.getString( in bind()
91 mSelfId = cursor.getString(INDEX_SELF_ID); in bind()
94 mNotificationSoundUri = cursor.getString(INDEX_NOTIFICATION_SOUND_URI); in bind()
[all …]
DConversationMessageData.java87 mMessageId = cursor.getString(INDEX_MESSAGE_ID); in bind()
88 mConversationId = cursor.getString(INDEX_CONVERSATION_ID); in bind()
89 mParticipantId = cursor.getString(INDEX_PARTICIPANT_ID); in bind()
93 cursor.getString(INDEX_PARTS_IDS), in bind()
94 cursor.getString(INDEX_PARTS_CONTENT_TYPES), in bind()
95 cursor.getString(INDEX_PARTS_CONTENT_URIS), in bind()
96 cursor.getString(INDEX_PARTS_WIDTHS), in bind()
97 cursor.getString(INDEX_PARTS_HEIGHTS), in bind()
98 cursor.getString(INDEX_PARTS_TEXTS), in bind()
108 mSmsMessageUri = cursor.getString(INDEX_SMS_MESSAGE_URI); in bind()
[all …]
/packages/apps/Browser/src/com/android/browser/
DBrowserBookmarksPage.java106 String accountType = args.getString(ACCOUNT_TYPE); in onCreateLoader()
107 String accountName = args.getString(ACCOUNT_NAME); in onCreateLoader()
122 String accountName = cursor.getString(0); in onLoadFinished()
123 String accountType = cursor.getString(1); in onLoadFinished()
203 cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE), in handleContextItem()
204 cursor.getString(BookmarksLoader.COLUMN_INDEX_URL), in handleContextItem()
220 String name = cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE); in handleContextItem()
221 String url = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL); in handleContextItem()
308 item.setName(cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE)); in populateBookmarkItem()
317 String url = cursor.getString(BookmarksLoader.COLUMN_INDEX_URL); in populateBookmarkItem()
[all …]
DBrowserSettings.java223 sFactoryResetUrl = mContext.getResources().getString(R.string.homepage_base);
574 String textSize = mPrefs.getString(PREF_TEXT_SIZE, "NORMAL"); in getTextSize()
612 return mPrefs.getString(PREF_SEARCH_ENGINE, SearchEngine.GOOGLE); in getSearchEngineName()
629 String state = mPrefs.getString(PREF_PLUGIN_STATE, "ON"); in getPluginState()
635 String zoom = mPrefs.getString(PREF_DEFAULT_ZOOM, "MEDIUM"); in getDefaultZoom()
656 return mPrefs.getString(PREF_DEFAULT_TEXT_ENCODING, null); in getDefaultTextEncoding()
664 return mPrefs.getString(PREF_HOMEPAGE, getFactoryResetHomeUrl(mContext)); in getHomePage()
701 return Integer.parseInt(mPrefs.getString(PREF_USER_AGENT, "0")); in getUserAgent()
768 return mPrefs.getString(PREF_JS_ENGINE_FLAGS, ""); in getJsEngineFlags()
824 return context.getResources().getString(R.string.pref_data_preload_value_wifi_only); in getPreloadOnWifiOnlyPreferenceString()
[all …]

12345678910>>...58