Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuWrapperICS.java39 public MenuItem add(int titleRes) { in add() argument
40 return getMenuItemWrapper(mWrappedObject.add(titleRes)); in add()
49 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument
50 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); in add()
59 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
60 return getSubMenuWrapper(mWrappedObject.addSubMenu(titleRes)); in addSubMenu()
69 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument
71 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes)); in addSubMenu()
DSubMenuWrapperICS.java36 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
37 ((android.view.SubMenu) mWrappedObject).setHeaderTitle(titleRes); in setHeaderTitle()
DSubMenuBuilder.java113 public SubMenu setHeaderTitle(int titleRes) { in setHeaderTitle() argument
114 super.setHeaderTitleInt(getContext().getResources().getString(titleRes)); in setHeaderTitle()
DMenuBuilder.java456 public MenuItem add(int titleRes) { in add() argument
457 return addInternal(0, 0, 0, mResources.getString(titleRes)); in add()
476 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
477 return addSubMenu(0, 0, 0, mResources.getString(titleRes)); in addSubMenu()
1173 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1184 if (titleRes > 0) { in setHeaderInternal()
1185 mHeaderTitle = r.getText(titleRes); in setHeaderInternal()
1223 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() argument
1224 setHeaderInternal(titleRes, null, 0, null, null); in setHeaderTitleInt()
/frameworks/base/core/java/android/view/
DMenu.java151 public MenuItem add(int titleRes); in add() argument
185 public MenuItem add(int groupId, int itemId, int order, int titleRes); in add() argument
205 SubMenu addSubMenu(final int titleRes); in addSubMenu() argument
242 SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes); in addSubMenu() argument
DContextMenu.java47 public ContextMenu setHeaderTitle(int titleRes); in setHeaderTitle() argument
DSubMenu.java41 public SubMenu setHeaderTitle(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()
1126 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1137 if (titleRes > 0) { in setHeaderInternal()
1138 mHeaderTitle = r.getText(titleRes); in setHeaderInternal()
1176 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() argument
1177 setHeaderInternal(titleRes, null, 0, null, null); in setHeaderTitleInt()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java340 public int titleRes; field in PreferenceActivity.Header
423 if (titleRes != 0) { in getTitle()
424 return res.getText(titleRes); in getTitle()
474 dest.writeInt(titleRes); in writeToParcel()
496 titleRes = in.readInt(); in readFromParcel()
841 header.titleRes = tv.resourceId; in loadHeadersFromResource()
1058 int titleRes = header.breadCrumbTitleRes; in onHeaderClick() local
1060 if (titleRes == 0) { in onHeaderClick()
1061 titleRes = header.titleRes; in onHeaderClick()
1065 titleRes, shortTitleRes); in onHeaderClick()
[all …]
/frameworks/base/docs/html/training/wearables/ui/
D2d-picker.jd78 int titleRes;
101 page.titleRes != 0 ? mContext.getString(page.titleRes) : null;
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java331 private void showNotification(int titleRes, int iconRes) { in showNotification() argument
335 .setContentTitle(mContext.getString(titleRes)) in showNotification()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java136 public final int titleRes; field in ResolverActivity.ActionTitle
139 ActionTitle(String action, int titleRes, int namedTitleRes) { in ActionTitle() argument
141 this.titleRes = titleRes; in ActionTitle()
340 getString(title.titleRes); in getTitleForAction()
/frameworks/base/api/
Dcurrent.txt22643 field public int titleRes;