Searched defs:titleRes (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/view/
H A DContextMenu.java41 * Sets the context menu header's title to the title given in <var>titleRes</var>
44 * @param titleRes The string resource identifier used for the title.
47 public ContextMenu setHeaderTitle(int titleRes); argument
H A DSubMenu.java35 * Sets the submenu header's title to the title given in <var>titleRes</var>
38 * @param titleRes The string resource identifier used for the title.
41 public SubMenu setHeaderTitle(int titleRes); argument
H A DMenu.java148 * @param titleRes Resource identifier of title string.
151 public MenuItem add(int titleRes); argument
182 * @param titleRes Resource identifier of title string.
185 public MenuItem add(int groupId, int itemId, int order, int titleRes); argument
202 * @param titleRes Resource identifier of title string.
205 SubMenu addSubMenu(final int titleRes); argument
239 * @param titleRes Resource identifier of title string.
242 SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes); argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DContextMenuBuilder.java58 public ContextMenu setHeaderTitle(int titleRes) { argument
59 return (ContextMenu) super.setHeaderTitleInt(titleRes);
H A DSubMenuBuilder.java107 public SubMenu setHeaderTitle(int titleRes) { argument
108 return (SubMenu) super.setHeaderTitleInt(titleRes);
H A DActionMenu.java55 public MenuItem add(int titleRes) { argument
56 return add(0, 0, 0, titleRes);
59 public MenuItem add(int groupId, int itemId, int order, int titleRes) { argument
60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes));
105 public SubMenu addSubMenu(int titleRes) { argument
116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { argument
H A DMenuBuilder.java413 public MenuItem add(int titleRes) { argument
414 return addInternal(0, 0, 0, mResources.getString(titleRes));
429 public SubMenu addSubMenu(int titleRes) { argument
430 return addSubMenu(0, 0, 0, mResources.getString(titleRes));
1106 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, argument
1117 if (titleRes > 0) {
1118 mHeaderTitle = r.getText(titleRes);
1153 * @param titleRes The new title (as a resource ID).
1156 protected MenuBuilder setHeaderTitleInt(int titleRes) { argument
1157 setHeaderInternal(titleRes, nul
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DSubMenuWrapperICS.java36 public SubMenu setHeaderTitle(int titleRes) { argument
37 ((android.view.SubMenu) mWrappedObject).setHeaderTitle(titleRes);
H A DSubMenuBuilder.java112 public SubMenu setHeaderTitle(int titleRes) { argument
113 super.setHeaderTitleInt(getContext().getResources().getString(titleRes));
H A DMenuWrapperICS.java39 public MenuItem add(int titleRes) { argument
40 return getMenuItemWrapper(mWrappedObject.add(titleRes));
49 public MenuItem add(int groupId, int itemId, int order, int titleRes) { argument
50 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes));
59 public SubMenu addSubMenu(int titleRes) { argument
60 return getSubMenuWrapper(mWrappedObject.addSubMenu(titleRes));
69 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { argument
71 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes));
H A DMenuBuilder.java422 public MenuItem add(int titleRes) { argument
423 return addInternal(0, 0, 0, mResources.getString(titleRes));
442 public SubMenu addSubMenu(int titleRes) { argument
443 return addSubMenu(0, 0, 0, mResources.getString(titleRes));
1152 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, argument
1163 if (titleRes > 0) {
1164 mHeaderTitle = r.getText(titleRes);
1199 * @param titleRes The new title (as a resource ID).
1202 protected MenuBuilder setHeaderTitleInt(int titleRes) { argument
1203 setHeaderInternal(titleRes, nul
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DLockdownVpnTracker.java306 private void showNotification(int titleRes, int iconRes) { argument
310 builder.setContentTitle(mContext.getString(titleRes));
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java325 public int titleRes; field in class:PreferenceActivity.Header
403 * Return the currently set title. If {@link #titleRes} is set,
408 if (titleRes != 0) {
409 return res.getText(titleRes);
459 dest.writeInt(titleRes);
481 titleRes = in.readInt();
806 header.titleRes = tv.resourceId;
1023 int titleRes = header.breadCrumbTitleRes;
1025 if (titleRes == 0) {
1026 titleRes
1053 onBuildStartFragmentIntent(String fragmentName, Bundle args, int titleRes, int shortTitleRes) argument
1091 startWithFragment(String fragmentName, Bundle args, Fragment resultTo, int resultRequestCode, int titleRes, int shortTitleRes) argument
1307 startPreferencePanel(String fragmentClass, Bundle args, int titleRes, CharSequence titleText, Fragment resultTo, int resultRequestCode) argument
[all...]

Completed in 303 milliseconds