Home
last modified time | relevance | path

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

12

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java61 public int titleRes; field in ContactsSource
120 if (this.titleRes != -1 && this.summaryResPackageName != null) { in getDisplayLabel()
122 return pm.getText(this.summaryResPackageName, this.titleRes, null); in getDisplayLabel()
123 } else if (this.titleRes != -1) { in getDisplayLabel()
124 return context.getText(this.titleRes); in getDisplayLabel()
131 if (this.titleRes != -1 && this.summaryResPackageName != null) { in getDisplayIcon()
134 } else if (this.titleRes != -1) { in getDisplayIcon()
192 public int titleRes; field in ContactsSource.DataKind
227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) { in DataKind() argument
229 this.titleRes = titleRes; in DataKind()
[all …]
DSources.java221 source.titleRes = auth.labelId; in queryAccounts()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java84 public int titleRes; field in AccountType
202 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); in getDisplayLabel()
280 if (this.titleRes != -1 && this.syncAdapterPackageName != null) { in getDisplayIcon()
283 } else if (this.titleRes != -1) { in getDisplayIcon()
433 public int titleRes; field in AccountType.EditField
440 public EditField(String column, int titleRes) { in EditField() argument
442 this.titleRes = titleRes; in EditField()
445 public EditField(String column, int titleRes, int inputType) { in EditField() argument
446 this(column, titleRes); in EditField()
479 + " titleRes=" + titleRes in toString()
DFallbackAccountType.java32 this.titleRes = R.string.account_phone; in FallbackAccountType()
DBaseAccountType.java121 this.titleRes = R.string.account_phone; in BaseAccountType()
760 int titleRes, int weight, StringInflater actionHeader, StringInflater actionBody) in newDataKind() argument
767 final DataKind kind = new DataKind(mimeType, titleRes, weight, true); in newDataKind()
DExternalAccountType.java170 titleRes = resolveExternalResId(context, mAccountTypeLabelAttribute, in ExternalAccountType()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataKind.java45 public int titleRes; field in DataKind
91 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind() argument
93 this.titleRes = titleRes; in DataKind()
101 return (titleRes == -1 || titleRes == 0) ? "" : context.getString(titleRes); in getKindString()
110 sb.append(" titleRes=").append(titleRes); in toString()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java392 int titleRes = pref.getTitleRes(); in onPreferenceStartFragment() local
394 titleRes = R.string.wallpaper_settings_fragment_title; in onPreferenceStartFragment()
398 titleRes = R.string.profile_info_settings_title; in onPreferenceStartFragment()
400 titleRes = R.string.user_info_settings_title; in onPreferenceStartFragment()
403 startPreferencePanel(pref.getFragment(), pref.getExtras(), titleRes, pref.getTitle(), in onPreferenceStartFragment() local
715 final int titleRes = bse.getBreadCrumbTitleRes(); in setTitleFromBackStackEntry() local
716 if (titleRes > 0) { in setTitleFromBackStackEntry()
717 title = getText(titleRes); in setTitleFromBackStackEntry()
868 public void startPreferencePanel(String fragmentClass, Bundle args, int titleRes, in startPreferencePanel() argument
871 if (titleRes < 0) { in startPreferencePanel()
[all …]
DSettingsPreferenceFragment.java497 public boolean startFragment(Fragment caller, String fragmentClass, int titleRes, in startFragment() argument
502 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment()
506 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment()
DDreamSettings.java166 int titleRes, int actionEnum, boolean isEnabled, final Runnable onClick) { in createMenuItem() argument
167 MenuItem item = menu.add(titleRes); in createMenuItem()
DDataUsageSummary.java722 private TabSpec buildTabSpec(String tag, int titleRes) { in buildTabSpec() argument
723 return mTabHost.newTabSpec(tag).setIndicator(getText(titleRes)).setContent( in buildTabSpec()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardCategory.java48 public int titleRes; field in DashboardCategory
95 if (titleRes != 0) { in getTitle()
96 return res.getText(titleRes); in getTitle()
108 dest.writeInt(titleRes); in writeToParcel()
121 titleRes = in.readInt(); in readFromParcel()
DDashboardTile.java49 public int titleRes; field in DashboardTile
108 if (titleRes != 0) { in getTitle()
109 return res.getText(titleRes); in getTitle()
134 dest.writeInt(titleRes); in writeToParcel()
152 titleRes = in.readInt(); in readFromParcel()
DDashboardTileView.java94 mTile.titleRes, mTile.getTitle(getResources())); in onClick()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageVolumePreferenceCategory.java135 private StorageItemPreference buildItem(int titleRes, int colorRes) { in buildItem() argument
136 return new StorageItemPreference(getContext(), titleRes, colorRes); in buildItem()
454 public PreferenceHeader(Context context, int titleRes) { in PreferenceHeader() argument
456 setTitle(titleRes); in PreferenceHeader()
DStorageItemPreference.java33 public StorageItemPreference(Context context, int titleRes, int colorRes) { in StorageItemPreference() argument
34 this(context, context.getText(titleRes), colorRes, UserHandle.USER_NULL); in StorageItemPreference()
/packages/apps/Dialer/src/com/android/dialer/settings/
DDialerSettingsActivity.java46 generalSettingsHeader.titleRes = R.string.general_settings_label; in onBuildHeaders()
60 callSettingsHeader.titleRes = R.string.call_settings_label; in onBuildHeaders()
69 phoneAccountSettingsHeader.titleRes = R.string.phone_account_settings_label; in onBuildHeaders()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java138 final String titleString = (kind.titleRes == -1 || kind.titleRes == 0) in setState()
140 : getResources().getString(kind.titleRes); in setState()
DTextFieldsEditorView.java243 if (field.titleRes > 0) { in setValues()
244 fieldView.setHint(field.titleRes); in setValues()
DGroupMembershipView.java182 imageView.setContentDescription(getResources().getString(kind.titleRes)); in setKind()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DDialogActivity.java43 public void setHeading(int titleRes) { in setHeading() argument
44 mTitleView.setText(titleRes); in setHeading()
/packages/apps/Browser/src/com/android/browser/
DBrowserPreferencesPage.java93 int titleRes, int shortTitleRes) { in onBuildStartFragmentIntent() argument
95 titleRes, shortTitleRes); in onBuildStartFragmentIntent()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java349 final Integer titleRes = getAsInteger(Groups.TITLE_RES); in getTitle() local
350 if (titleRes != null) { in getTitle()
352 return context.getPackageManager().getText(packageName, titleRes, null); in getTitle()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java118 dummy.titleRes = R.string.mailbox_name_display_inbox; in onBuildHeaders()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java437 accountType.titleRes = auth.labelId; in loadAccountsInBackground()

12