HomeSort by relevance Sort by last modified time
    Searched refs:titleRes (Results 1 - 25 of 44) sorted by null

1 2

  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DataKind.java 45 public int titleRes;
91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) {
93 this.titleRes = titleRes;
101 return (titleRes == -1 || titleRes == 0) ? "" : context.getString(titleRes);
110 sb.append(" titleRes=").append(titleRes);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactsSource.java 61 public int titleRes;
120 if (this.titleRes != -1 && this.summaryResPackageName != null) {
122 return pm.getText(this.summaryResPackageName, this.titleRes, null);
123 } else if (this.titleRes != -1) {
124 return context.getText(this.titleRes);
131 if (this.titleRes != -1 && this.summaryResPackageName != null) {
134 } else if (this.titleRes != -1) {
192 public int titleRes;
227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) {
229 this.titleRes = titleRes
    [all...]
  /frameworks/base/core/java/android/view/
Menu.java 148 * @param titleRes Resource identifier of title string.
151 public MenuItem add(int titleRes);
182 * @param titleRes Resource identifier of title string.
185 public MenuItem add(int groupId, int itemId, int order, int titleRes);
202 * @param titleRes Resource identifier of title string.
205 SubMenu addSubMenu(final int titleRes);
239 * @param titleRes Resource identifier of title string.
242 SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes);
ContextMenu.java 41 * 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);
SubMenu.java 35 * 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);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestMenu.java 32 public MenuItem add(int titleRes) {
33 return add(0, 0, 0, titleRes);
46 public MenuItem add(int groupId, int itemId, int order, int titleRes) {
47 return add(groupId, itemId, order, context.getResources().getString(titleRes));
61 public SubMenu addSubMenu(int titleRes) {
65 menuItem.setTitle(titleRes);
82 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) {
87 menuItem.setTitle(titleRes);
TestSubMenu.java 11 public SubMenu setHeaderTitle(int titleRes) {
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
MenuWrapperICS.java 39 public MenuItem add(int titleRes) {
40 return getMenuItemWrapper(mWrappedObject.add(titleRes));
49 public MenuItem add(int groupId, int itemId, int order, int titleRes) {
50 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes));
59 public SubMenu addSubMenu(int titleRes) {
60 return getSubMenuWrapper(mWrappedObject.addSubMenu(titleRes));
69 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) {
71 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes));
SubMenuWrapperICS.java 36 public SubMenu setHeaderTitle(int titleRes) {
37 ((android.view.SubMenu) mWrappedObject).setHeaderTitle(titleRes);
SubMenuBuilder.java 112 public SubMenu setHeaderTitle(int titleRes) {
113 super.setHeaderTitleInt(getContext().getResources().getString(titleRes));
MenuBuilder.java 422 public MenuItem add(int titleRes) {
423 return addInternal(0, 0, 0, mResources.getString(titleRes));
442 public SubMenu addSubMenu(int titleRes) {
443 return addSubMenu(0, 0, 0, mResources.getString(titleRes));
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountType.java 84 public int titleRes;
212 return getResourceText(context, syncAdapterPackageName, titleRes, accountType);
290 if (this.titleRes != -1 && this.syncAdapterPackageName != null) {
293 } else if (this.titleRes != -1) {
443 public int titleRes;
450 public EditField(String column, int titleRes) {
452 this.titleRes = titleRes;
455 public EditField(String column, int titleRes, int inputType) {
456 this(column, titleRes);
    [all...]
FallbackAccountType.java 32 this.titleRes = R.string.account_phone;
  /development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
SimpleMenu.java 61 public MenuItem add(int titleRes) {
62 return addInternal(0, 0, mResources.getString(titleRes));
69 public MenuItem add(int groupId, int itemId, int order, int titleRes) {
70 return addInternal(itemId, order, mResources.getString(titleRes));
147 public SubMenu addSubMenu(int titleRes) {
155 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) {
SimpleMenuItem.java 65 public MenuItem setTitle(int titleRes) {
66 return setTitle(mMenu.getContext().getString(titleRes));
  /frameworks/base/core/java/com/android/internal/view/menu/
ContextMenuBuilder.java 58 public ContextMenu setHeaderTitle(int titleRes) {
59 return (ContextMenu) super.setHeaderTitleInt(titleRes);
SubMenuBuilder.java 107 public SubMenu setHeaderTitle(int titleRes) {
108 return (SubMenu) super.setHeaderTitleInt(titleRes);
ActionMenu.java 55 public MenuItem add(int titleRes) {
56 return add(0, 0, 0, titleRes);
59 public MenuItem add(int groupId, int itemId, int order, int titleRes) {
60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes));
105 public SubMenu addSubMenu(int titleRes) {
116 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) {
MenuBuilder.java 413 public MenuItem add(int titleRes) {
414 return addInternal(0, 0, 0, mResources.getString(titleRes));
429 public SubMenu addSubMenu(int titleRes) {
430 return addSubMenu(0, 0, 0, mResources.getString(titleRes));
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DialogActivity.java 43 public void setHeading(int titleRes) {
44 mTitleView.setText(titleRes);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageItemPreference.java 33 public StorageItemPreference(Context context, int titleRes, int colorRes) {
34 this(context, context.getText(titleRes), colorRes, UserHandle.USER_NULL);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
MenuLoaderTest.java 67 public MenuItem add(int titleRes) {
78 public MenuItem add(int groupId, int itemId, int order, int titleRes) {
88 public SubMenu addSubMenu(int titleRes) {
100 int titleRes) {
  /packages/apps/Browser/src/com/android/browser/
BrowserPreferencesPage.java 96 int titleRes, int shortTitleRes) {
98 titleRes, shortTitleRes);
  /frameworks/base/core/java/android/preference/
PreferenceActivity.java 325 public int titleRes;
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;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
KindSectionView.java 142 mTitleString = (kind.titleRes == -1 || kind.titleRes == 0)
144 : getResources().getString(kind.titleRes);

Completed in 810 milliseconds

1 2