Home
last modified time | relevance | path

Searched refs:titleRes (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/view/
DMenu.java159 public MenuItem add(@StringRes int titleRes); in add() argument
193 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add() argument
213 SubMenu addSubMenu(@StringRes final int titleRes); in addSubMenu() argument
250 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu() argument
DContextMenu.java49 public ContextMenu setHeaderTitle(@StringRes int titleRes); in setHeaderTitle() argument
DSubMenu.java43 public SubMenu setHeaderTitle(@StringRes int titleRes); in setHeaderTitle() argument
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenu.java57 public MenuItem add(int titleRes) { in add() argument
58 return add(0, 0, 0, titleRes); in add()
61 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
62 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
107 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
118 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
DContextMenuBuilder.java60 public ContextMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
61 return (ContextMenu) super.setHeaderTitleInt(titleRes); in setHeaderTitle()
DSubMenuBuilder.java110 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
111 return (SubMenu) super.setHeaderTitleInt(titleRes); in setHeaderTitle()
DMenuBuilder.java449 public MenuItem add(int titleRes) { in add() argument
450 return addInternal(0, 0, 0, mResources.getString(titleRes)); in add()
465 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
466 return addSubMenu(0, 0, 0, mResources.getString(titleRes)); in addSubMenu()
1162 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1173 if (titleRes > 0) { in setHeaderInternal()
1174 mHeaderTitle = r.getText(titleRes); in setHeaderInternal()
1212 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() argument
1213 setHeaderInternal(titleRes, null, 0, null, null); in setHeaderTitleInt()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java341 public int titleRes; field in PreferenceActivity.Header
427 if (titleRes != 0) { in getTitle()
428 return res.getText(titleRes); in getTitle()
478 dest.writeInt(titleRes); in writeToParcel()
500 titleRes = in.readInt(); in readFromParcel()
868 header.titleRes = tv.resourceId; in loadHeadersFromResource()
1113 @StringRes int titleRes, int shortTitleRes) { in onBuildStartFragmentIntent() argument
1118 intent.putExtra(EXTRA_SHOW_FRAGMENT_TITLE, titleRes); in onBuildStartFragmentIntent()
1151 Fragment resultTo, int resultRequestCode, @StringRes int titleRes, in startWithFragment() argument
1153 Intent intent = onBuildStartFragmentIntent(fragmentName, args, titleRes, shortTitleRes); in startWithFragment()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java1052 int titleRes = 0; in updateUsbNotification() local
1057 titleRes = com.android.internal.R.string.usb_unsupported_audio_accessory_title; in updateUsbNotification()
1061 titleRes = com.android.internal.R.string.usb_mtp_notification_title; in updateUsbNotification()
1064 titleRes = com.android.internal.R.string.usb_ptp_notification_title; in updateUsbNotification()
1067 titleRes = com.android.internal.R.string.usb_midi_notification_title; in updateUsbNotification()
1070 titleRes = com.android.internal.R.string.usb_tether_notification_title; in updateUsbNotification()
1073 titleRes = com.android.internal.R.string.usb_accessory_notification_title; in updateUsbNotification()
1077 if (titleRes != 0) { in updateUsbNotification()
1081 titleRes = com.android.internal.R.string.usb_supplying_notification_title; in updateUsbNotification()
1084 } else if (titleRes == 0) { in updateUsbNotification()
[all …]
DUsbPortManager.java220 int titleRes = com.android.internal.R.string.usb_contaminant_detected_title; in updateContaminantNotification() local
221 CharSequence title = r.getText(titleRes); in updateContaminantNotification()
265 int titleRes = com.android.internal.R.string.usb_contaminant_not_detected_title; in updateContaminantNotification() local
266 CharSequence title = r.getText(titleRes); in updateContaminantNotification()
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntitiesHeaderController.java138 public AppEntitiesHeaderController setHeaderTitleRes(@StringRes int titleRes) { in setHeaderTitleRes() argument
139 mHeaderTitleRes = titleRes; in setHeaderTitleRes()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java261 private void showNotification(int titleRes, int iconRes) { in showNotification() argument
266 .setContentTitle(mContext.getString(titleRes)) in showNotification()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java214 public final int titleRes; field in ResolverActivity.ActionTitle
218 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
220 this.titleRes = titleRes; in ActionTitle()
594 : getString(title.titleRes);
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java763 final int titleRes = com.android.internal.R.string.adbwifi_active_notification_title; in showAdbConnectedNotification() local
770 CharSequence title = r.getText(titleRes); in showAdbConnectedNotification()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22714 field public int titleRes;
/frameworks/base/non-updatable-api/
Dcurrent.txt36233 field @Deprecated @StringRes public int titleRes;
/frameworks/base/api/
Dcurrent.txt36377 field @Deprecated @StringRes public int titleRes;