Home
last modified time | relevance | path

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

/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.java407 public MenuItem add(int titleRes) { in add() argument
408 return addInternal(0, 0, 0, mResources.getString(titleRes)); in add()
423 public SubMenu addSubMenu(int titleRes) { in addSubMenu() argument
424 return addSubMenu(0, 0, 0, mResources.getString(titleRes)); in addSubMenu()
1088 private void setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, in setHeaderInternal() argument
1099 if (titleRes > 0) { in setHeaderInternal()
1100 mHeaderTitle = r.getText(titleRes); in setHeaderInternal()
1138 protected MenuBuilder setHeaderTitleInt(int titleRes) { in setHeaderTitleInt() argument
1139 setHeaderInternal(titleRes, null, 0, null, null); in setHeaderTitleInt()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java312 public int titleRes; field in PreferenceActivity.Header
395 if (titleRes != 0) { in getTitle()
396 return res.getText(titleRes); in getTitle()
446 dest.writeInt(titleRes); in writeToParcel()
468 titleRes = in.readInt(); in readFromParcel()
779 header.titleRes = tv.resourceId; in loadHeadersFromResource()
973 int titleRes = header.breadCrumbTitleRes; in onHeaderClick() local
975 if (titleRes == 0) { in onHeaderClick()
976 titleRes = header.titleRes; in onHeaderClick()
980 titleRes, shortTitleRes); in onHeaderClick()
[all …]
/frameworks/base/api/
Dcurrent.txt15492 field public int titleRes;
D14.txt15492 field public int titleRes;