Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuWrapperICS.java44 public MenuItem add(int titleRes) { in add() argument
45 return getMenuItemWrapper(mWrappedObject.add(titleRes)); in add()
54 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
55 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); in add()
64 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
65 return getSubMenuWrapper(mWrappedObject.addSubMenu(titleRes)); in addSubMenu()
74 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
76 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes)); in addSubMenu()
DSubMenuWrapperICS.java42 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
43 getWrappedObject().setHeaderTitle(titleRes); in setHeaderTitle()
DSubMenuBuilder.java110 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
111 return (SubMenu) super.setHeaderTitleInt(titleRes); in setHeaderTitle()
DMenuBuilder.java460 public MenuItem add(int titleRes) { in add() argument
461 return addInternal(0, 0, 0, mResources.getString(titleRes)); in add()
480 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
481 return addSubMenu(0, 0, 0, mResources.getString(titleRes)); in addSubMenu()
1183 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1194 if (titleRes > 0) { in setHeaderInternal()
1195 mHeaderTitle = r.getText(titleRes); in setHeaderInternal()
1233 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() argument
1234 setHeaderInternal(titleRes, null, 0, null, null); in setHeaderTitleInt()
/frameworks/base/core/java/android/view/
DMenu.java152 public MenuItem add(@StringRes int titleRes); in add() argument
186 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add() argument
206 SubMenu addSubMenu(@StringRes final int titleRes); in addSubMenu() argument
243 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.java55 public MenuItem add(int titleRes) { in add() argument
56 return add(0, 0, 0, titleRes); in add()
59 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add()
105 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
DContextMenuBuilder.java58 public ContextMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
59 return (ContextMenu) super.setHeaderTitleInt(titleRes); in setHeaderTitle()
DSubMenuBuilder.java107 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
108 return (SubMenu) super.setHeaderTitleInt(titleRes); in setHeaderTitle()
DMenuBuilder.java433 public MenuItem add(int titleRes) { in add() argument
434 return addInternal(0, 0, 0, mResources.getString(titleRes)); in add()
449 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
450 return addSubMenu(0, 0, 0, mResources.getString(titleRes)); in addSubMenu()
1128 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1139 if (titleRes > 0) { in setHeaderInternal()
1140 mHeaderTitle = r.getText(titleRes); in setHeaderInternal()
1178 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() argument
1179 setHeaderInternal(titleRes, null, 0, null, null); in setHeaderTitleInt()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java344 public int titleRes; field in PreferenceActivity.Header
430 if (titleRes != 0) { in getTitle()
431 return res.getText(titleRes); in getTitle()
481 dest.writeInt(titleRes); in writeToParcel()
503 titleRes = in.readInt(); in readFromParcel()
848 header.titleRes = tv.resourceId; in loadHeadersFromResource()
1065 int titleRes = header.breadCrumbTitleRes; in onHeaderClick() local
1067 if (titleRes == 0) { in onHeaderClick()
1068 titleRes = header.titleRes; in onHeaderClick()
1072 titleRes, shortTitleRes); in onHeaderClick()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java332 private void showNotification(int titleRes, int iconRes) { in showNotification() argument
336 .setContentTitle(mContext.getString(titleRes)) in showNotification()
/frameworks/base/docs/html/training/wearables/ui/
D2d-picker.jd86 int titleRes;
112 page.titleRes != 0 ? mContext.getString(page.titleRes) : null;
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java172 public final int titleRes; field in ResolverActivity.ActionTitle
176 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
178 this.titleRes = titleRes; in ActionTitle()
486 : getString(title.titleRes); in getTitleForAction()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22714 field public int titleRes;
/frameworks/base/api/
Dcurrent.txt29771 field public int titleRes;
Dtest-current.txt29841 field public int titleRes;
Dsystem-current.txt32318 field public int titleRes;