/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...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 84 public int titleRes; 202 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); 280 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); 283 public static Drawable getDisplayIcon(Context context, int titleRes, int iconRes, 285 if (titleRes != -1 && syncAdapterPackageName != null) { 288 } else if (titleRes != -1) { 438 public int titleRes; 445 public EditField(String column, int titleRes) { 447 this.titleRes = titleRes; [all...] |
FallbackAccountType.java | 32 this.titleRes = R.string.account_phone;
|
/external/robolectric/v1/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/view/menu/ |
MenuWrapperICS.java | 44 public MenuItem add(int titleRes) { 45 return getMenuItemWrapper(mWrappedObject.add(titleRes)); 54 public MenuItem add(int groupId, int itemId, int order, int titleRes) { 55 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes)); 64 public SubMenu addSubMenu(int titleRes) { 65 return getSubMenuWrapper(mWrappedObject.addSubMenu(titleRes)); 74 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { 76 mWrappedObject.addSubMenu(groupId, itemId, order, titleRes));
|
SubMenuWrapperICS.java | 42 public SubMenu setHeaderTitle(int titleRes) { 43 getWrappedObject().setHeaderTitle(titleRes);
|
SubMenuBuilder.java | 110 public SubMenu setHeaderTitle(int titleRes) { 111 return (SubMenu) super.setHeaderTitleInt(titleRes);
|
/frameworks/base/core/java/android/view/ |
Menu.java | 149 * @param titleRes Resource identifier of title string. 152 public MenuItem add(@StringRes int titleRes); 183 * @param titleRes Resource identifier of title string. 186 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); 203 * @param titleRes Resource identifier of title string. 206 SubMenu addSubMenu(@StringRes final int titleRes); 240 * @param titleRes Resource identifier of title string. 243 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes);
|
ContextMenu.java | 43 * Sets the context menu header's title to the title given in <var>titleRes</var> 46 * @param titleRes The string resource identifier used for the title. 49 public ContextMenu setHeaderTitle(@StringRes int titleRes);
|
SubMenu.java | 37 * Sets the submenu header's title to the title given in <var>titleRes</var> 40 * @param titleRes The string resource identifier used for the title. 43 public SubMenu setHeaderTitle(@StringRes int titleRes);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
Utils.java | 39 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, 41 return TestListItem.newTest(activity, titleRes, 44 .putExtra(IntentDrivenTestActivity.EXTRA_TITLE, titleRes) 50 static TestListItem createInteractiveTestItem(Activity activity, String id, int titleRes, 52 return createInteractiveTestItem(activity, id, titleRes, infoRes,
|
/packages/apps/Dialer/src/com/android/dialer/settings/ |
DialerSettingsActivity.java | 65 displayOptionsHeader.titleRes = R.string.display_options_title; 70 soundSettingsHeader.titleRes = R.string.sounds_and_vibration_title; 79 quickResponseSettingsHeader.titleRes = R.string.respond_via_sms_setting_title; 98 callSettingsHeader.titleRes = R.string.call_settings_label; 107 phoneAccountSettingsHeader.titleRes = R.string.phone_account_settings_label; 113 blockedCallsHeader.titleRes = R.string.manage_blocked_numbers_label; 124 accessibilitySettingsHeader.titleRes = R.string.accessibility_settings_title;
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettingsForSetupWizardActivity.java | 88 public void startPreferencePanel(String fragmentClass, Bundle args, int titleRes, 93 } else if (titleRes > 0) { 94 setTitle(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) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
DialogActivity.java | 43 public void setHeading(int titleRes) { 44 mTitleView.setText(titleRes);
|
/external/robolectric/v1/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/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/ |
EncryptDeviceActivity.java | 80 private void initializeUi(int headerRes, int titleRes, int mainTextRes) { 82 setTitle(titleRes);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppInfoBase.java | 210 public static void startAppInfoFragment(Class<?> fragment, int titleRes, 212 startAppInfoFragment(fragment, titleRes, pkg, uid, source.getActivity(), request); 215 public static void startAppInfoFragment(Class<?> fragment, int titleRes, 222 args, null, titleRes, null, false);
|
/frameworks/base/core/java/android/preference/ |
PreferenceActivity.java | 344 public int titleRes; 425 * Return the currently set title. If {@link #titleRes} is set, 430 if (titleRes != 0) { 431 return res.getText(titleRes); 481 dest.writeInt(titleRes); 503 titleRes = in.readInt(); [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
CompactPhotoSelectionFragment.java | 92 public int titleRes; 130 dest.writeInt(titleRes); 143 titleRes = source.readInt(); 246 mContext, photo.titleRes, photo.iconRes, photo.syncAdapterPackageName));
|
KindSectionView.java | 145 final String titleString = (kind.titleRes == -1 || kind.titleRes == 0) 147 : getResources().getString(kind.titleRes);
|