Home
last modified time | relevance | path

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

/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()
DFallbackSource.java62 this.titleRes = R.string.account_phone; in FallbackSource()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountType.java83 public int titleRes; field in AccountType
211 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); in getDisplayLabel()
289 if (this.titleRes != -1 && this.syncAdapterPackageName != null) { in getDisplayIcon()
292 } else if (this.titleRes != -1) { in getDisplayIcon()
443 public int titleRes; field in AccountType.EditField
450 public EditField(String column, int titleRes) { in EditField() argument
452 this.titleRes = titleRes; in EditField()
455 public EditField(String column, int titleRes, int inputType) { in EditField() argument
456 this(column, titleRes); in EditField()
489 + " titleRes=" + titleRes in toString()
DDataKind.java45 public int titleRes; field in DataKind
98 public DataKind(String mimeType, int titleRes, int weight, boolean editable, in DataKind() argument
101 this.titleRes = titleRes; in DataKind()
115 sb.append(" titleRes=").append(titleRes); in toString()
DFallbackAccountType.java31 this.titleRes = R.string.account_phone; in FallbackAccountType()
DExternalAccountType.java165 titleRes = resolveExternalResId(context, mAccountTypeLabelAttribute, in ExternalAccountType()
DBaseAccountType.java119 this.titleRes = R.string.account_phone; in BaseAccountType()
787 int titleRes, int weight, int editorLayoutResourceId, in newDataKind() argument
795 final DataKind kind = new DataKind(mimeType, titleRes, weight, true, in newDataKind()
DAccountTypeManager.java426 accountType.titleRes = auth.labelId; in loadAccountsInBackground()
/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/Contacts/src/com/android/contacts/editor/
DKindSectionView.java148 mTitleString = (kind.titleRes == -1 || kind.titleRes == 0) in setState()
150 : getResources().getString(kind.titleRes); in setState()
DTextFieldsEditorView.java203 if (field.titleRes > 0) { in setValues()
204 fieldView.setHint(field.titleRes); in setValues()
DGroupMembershipView.java177 kindTitle.setText(getResources().getString(kind.titleRes).toUpperCase()); in setKind()
/packages/apps/Settings/src/com/android/settings/
DSettings.java344 int titleRes, int shortTitleRes) { in onBuildStartFragmentIntent() argument
346 titleRes, shortTitleRes); in onBuildStartFragmentIntent()
722 int titleRes = pref.getTitleRes(); in onPreferenceStartFragment() local
724 titleRes = R.string.wallpaper_settings_fragment_title; in onPreferenceStartFragment()
726 startPreferencePanel(pref.getFragment(), pref.getExtras(), titleRes, pref.getTitle(), in onPreferenceStartFragment() local
DDataUsageSummary.java659 private TabSpec buildTabSpec(String tag, int titleRes) { in buildTabSpec() argument
660 return mTabHost.newTabSpec(tag).setIndicator(getText(titleRes)).setContent( in buildTabSpec()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettings.java249 int titleRes, int shortTitleRes) { in onBuildStartFragmentIntent() argument
251 fragmentName, args, titleRes, shortTitleRes); in onBuildStartFragmentIntent()
256 if ((titleRes == 0) && (title != null)) { in onBuildStartFragmentIntent()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java347 final Integer titleRes = getAsInteger(Groups.TITLE_RES); in getTitle() local
348 if (titleRes != null) { in getTitle()
350 return context.getPackageManager().getText(packageName, titleRes, null); in getTitle()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1269 entry.kind = (kind.titleRes == -1 || kind.titleRes == 0) ? "" in fromValues()
1270 : context.getString(kind.titleRes); in fromValues()