Home
last modified time | relevance | path

Searched refs:stringId (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsAdapter.java68 String stringId = getItem(position).stringId; in getItemId() local
71 if (sIdMap.containsKey(stringId)) { in getItemId()
72 id = sIdMap.get(stringId); in getItemId()
75 sIdMap.put(stringId, id); in getItemId()
DItem.java38 final String stringId; field in Item
40 public Item(@LayoutRes int layoutId, String title, String stringId) { in Item() argument
43 this.stringId = stringId; in Item()
DProfileItem.java47 + "id=" + stringId in toString()
DRootAndAppItem.java68 + "id=" + stringId in toString()
DAppItem.java113 + "id=" + stringId in toString()
DRootItem.java166 + "id=" + stringId in toString()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java412 int stringId; in updateViewContent() local
415 stringId = R.string.conversation_list_snippet_picture; in updateViewContent()
417 stringId = R.string.conversation_list_snippet_video; in updateViewContent()
419 stringId = R.string.conversation_list_snippet_audio_clip; in updateViewContent()
421 stringId = R.string.conversation_list_snippet_vcard; in updateViewContent()
423 stringId = 0; in updateViewContent()
425 if (stringId > 0) { in updateViewContent()
427 description.append(mContext.getString(stringId)); in updateViewContent()
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoItem.java137 int stringId = R.string.photo_date_content_description; in fillImageView() local
140 stringId = R.string.panorama_date_content_description; in fillImageView()
143 stringId = R.string.photosphere_date_content_description; in fillImageView()
145 stringId = R.string.refocus_date_content_description; in fillImageView()
149 stringId, in fillImageView()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java114 int stringId = WifiUtil.getStateDesc(state); in onWifiStateChanged() local
115 if (stringId != 0) { in onWifiStateChanged()
116 mText = mContext.getString(stringId); in onWifiStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkConfirmFragment.java151 String stringId = sharedPreferences.getString( in getNetworkSubscriptionId() local
153 if (TextUtils.isEmpty(stringId)) { in getNetworkSubscriptionId()
156 return Integer.parseInt(stringId); in getNetworkSubscriptionId()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModePreference.java63 final int stringId = active ? R.string.dark_ui_mode_disabled_summary_dark_theme_on in updateSummary() local
65 setSummary(getContext().getString(stringId)); in updateSummary()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java518 @StringRes int stringId; in getFooterString() local
521 stringId = R.string.unlock_footer_high_complexity_requested; in getFooterString()
524 stringId = R.string.unlock_footer_medium_complexity_requested; in getFooterString()
527 stringId = R.string.unlock_footer_low_complexity_requested; in getFooterString()
531 stringId = R.string.unlock_footer_none_complexity_requested; in getFooterString()
535 return getResources().getString(stringId, mCallerAppName); in getFooterString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java507 @StringRes int stringId; in getFooterString() local
510 stringId = R.string.unlock_footer_high_complexity_requested; in getFooterString()
513 stringId = R.string.unlock_footer_medium_complexity_requested; in getFooterString()
516 stringId = R.string.unlock_footer_low_complexity_requested; in getFooterString()
520 stringId = R.string.unlock_footer_none_complexity_requested; in getFooterString()
524 return getResources().getString(stringId, mCallerAppName); in getFooterString()
/packages/apps/Settings/src/com/android/settings/display/
DDarkUIPreferenceController.java113 int stringId = isChecked() in updateEnabledStateIfNeeded() local
116 mPreference.setSummary(mContext.getString(stringId)); in updateEnabledStateIfNeeded()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DMessageBuilder.java138 public String getQuantityString(@PluralsRes int stringId, int quantity) { in getQuantityString() argument
139 return Shared.getQuantityString(mContext, stringId, quantity); in getQuantityString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java488 int stringId = R.string.wifi_p2p_cancel_connect_message; in onCreateDialog() local
495 .setMessage(getActivity().getString(stringId, deviceName)) in onCreateDialog()
519 int stringId = R.string.wifi_p2p_delete_group_message; in onCreateDialog() local
522 .setMessage(getActivity().getString(stringId)) in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java485 int stringId = R.string.wifi_p2p_cancel_connect_message; in onCreateDialog() local
492 .setMessage(getActivity().getString(stringId, deviceName)) in onCreateDialog()
516 int stringId = R.string.wifi_p2p_delete_group_message; in onCreateDialog() local
519 .setMessage(getActivity().getString(stringId)) in onCreateDialog()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersUtil.java73 public static void showToastWithFormattedNumber(Context context, int stringId, String number) { in showToastWithFormattedNumber() argument
75 String message = context.getString(stringId, formattedNumber); in showToastWithFormattedNumber()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallIntentProcessor.java199 private static void showErrorDialogForRestrictedOutgoingCall(Context context, int stringId) { in showErrorDialogForRestrictedOutgoingCall() argument
202 intent.putExtra(ErrorDialogActivity.ERROR_MESSAGE_ID_EXTRA, stringId); in showErrorDialogForRestrictedOutgoingCall()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java242 Resources resources, int stringId, String number) { in getTtsSpannedPhoneNumber() argument
243 String msg = resources.getString(stringId, number); in getTtsSpannedPhoneNumber()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java197 int stringId, String number){ in getTtsSpannedPhoneNumber() argument
198 String msg = resources.getString(stringId, number); in getTtsSpannedPhoneNumber()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java148 private Notification.Action makeNotificationAction(String action, int iconId, int stringId) { in makeNotificationAction() argument
152 mContext.getString(stringId), intent) in makeNotificationAction()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java184 int stringId = isEditingName ? R.string.folder_tap_to_rename : R.string.folder_tap_to_close; in sendTapOutsideFolderAccessibilityEvent() local
186 this, AccessibilityEvent.TYPE_VIEW_FOCUSED, getContext().getString(stringId)); in sendTapOutsideFolderAccessibilityEvent()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java556 ImageListData(int type, int include, String bucketId, int stringId) { in ImageListData() argument
560 mStringId = stringId; in ImageListData()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java475 final int stringId = mSelectedAccessPoint.isEphemeral() ? in onCreateContextMenu() local
477 menu.add(Menu.NONE, MENU_ID_FORGET, 0 /* order */, stringId); in onCreateContextMenu()

12