Home
last modified time | relevance | path

Searched refs:titleRes (Results 1 – 25 of 32) 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 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
283 public static Drawable getDisplayIcon(Context context, int titleRes, int iconRes, in getDisplayIcon() argument
285 if (titleRes != -1 && syncAdapterPackageName != null) { in getDisplayIcon()
288 } else if (titleRes != -1) { in getDisplayIcon()
438 public int titleRes; field in AccountType.EditField
445 public EditField(String column, int titleRes) { in EditField() argument
447 this.titleRes = titleRes; in EditField()
450 public EditField(String column, int titleRes, int inputType) { in EditField() argument
[all …]
DFallbackAccountType.java32 this.titleRes = R.string.account_phone; in FallbackAccountType()
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/Dialer/src/com/android/dialer/settings/
DDialerSettingsActivity.java65 displayOptionsHeader.titleRes = R.string.display_options_title; in onBuildHeaders()
70 soundSettingsHeader.titleRes = R.string.sounds_and_vibration_title; in onBuildHeaders()
79 quickResponseSettingsHeader.titleRes = R.string.respond_via_sms_setting_title; in onBuildHeaders()
98 callSettingsHeader.titleRes = R.string.call_settings_label; in onBuildHeaders()
107 phoneAccountSettingsHeader.titleRes = R.string.phone_account_settings_label; in onBuildHeaders()
113 blockedCallsHeader.titleRes = R.string.manage_blocked_numbers_label; in onBuildHeaders()
124 accessibilitySettingsHeader.titleRes = R.string.accessibility_settings_title; in onBuildHeaders()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivity.java123 public void startPreferencePanel(String fragmentClass, Bundle args, int titleRes, in startPreferencePanel() argument
128 } else if (titleRes > 0) { in startPreferencePanel()
129 setTitle(getString(titleRes)); in startPreferencePanel()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java210 public static void startAppInfoFragment(Class<?> fragment, int titleRes, in startAppInfoFragment() argument
212 startAppInfoFragment(fragment, titleRes, pkg, uid, source.getActivity(), request); in startAppInfoFragment()
215 public static void startAppInfoFragment(Class<?> fragment, int titleRes, in startAppInfoFragment() argument
222 args, null, titleRes, null, false); in startAppInfoFragment()
/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/Settings/src/com/android/settings/
DSettingsActivity.java760 final int titleRes = bse.getBreadCrumbTitleRes(); in setTitleFromBackStackEntry() local
761 if (titleRes > 0) { in setTitleFromBackStackEntry()
762 title = getText(titleRes); in setTitleFromBackStackEntry()
912 public void startPreferencePanel(String fragmentClass, Bundle args, int titleRes, in startPreferencePanel() argument
915 if (titleRes < 0) { in startPreferencePanel()
924 titleRes, title, mIsShortcut); in startPreferencePanel()
939 public void startPreferencePanelAsUser(String fragmentClass, Bundle args, int titleRes, in startPreferencePanelAsUser() argument
952 startPreferencePanel(fragmentClass, args, titleRes, titleText, null, 0); in startPreferencePanelAsUser()
955 if (titleRes < 0) { in startPreferencePanelAsUser()
964 titleRes, title, mIsShortcut, userHandle); in startPreferencePanelAsUser()
DDreamSettings.java164 int titleRes, int actionEnum, boolean isEnabled, final Runnable onClick) { in createMenuItem() argument
165 MenuItem item = menu.add(titleRes); in createMenuItem()
DSettingsPreferenceFragment.java726 public boolean startFragment(Fragment caller, String fragmentClass, int titleRes, in startFragment() argument
731 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment()
DChooseLockGeneric.java837 int titleRes, int messageRes, String unlockMethodToSet) { in newInstance() argument
841 args.putInt(ARG_TITLE_RES, titleRes); in newInstance()
/packages/apps/Contacts/src/com/android/contacts/editor/
DCompactPhotoSelectionFragment.java92 public int titleRes; field in CompactPhotoSelectionFragment.Photo
130 dest.writeInt(titleRes); in writeToParcel()
143 titleRes = source.readInt(); in readFromParcel()
246 mContext, photo.titleRes, photo.iconRes, photo.syncAdapterPackageName)); in getView()
DKindSectionView.java145 final String titleString = (kind.titleRes == -1 || kind.titleRes == 0) in setState()
147 : getResources().getString(kind.titleRes); in setState()
DLabeledEditorView.java301 getContext().getString(mKind.titleRes))); in rebuildLabel()
308 getContext().getString(mKind.titleRes))); in rebuildLabel()
312 getContext().getString(mKind.titleRes))); in rebuildLabel()
409 mLabel.setContentDescription(getContext().getResources().getString(mKind.titleRes)); in setValues()
DCompactKindSectionView.java303 mIcon.setContentDescription(dataKind.titleRes == -1 || dataKind.titleRes == 0 in setState()
304 ? "" : getResources().getString(dataKind.titleRes)); in setState()
DTextFieldsEditorView.java222 if (field.titleRes > 0) { in setValues()
223 fieldView.setHint(field.titleRes); in setValues()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DEncryptDeviceActivity.java65 private void initializeUi(int headerRes, int titleRes, int mainTextRes) { in initializeUi() argument
67 setTitle(titleRes); in initializeUi()
DPreProvisioningActivity.java200 public void initiateUi(int headerRes, int titleRes, int consentRes, int mdmInfoRes, in initiateUi() argument
217 setTitle(titleRes); in initiateUi()
DPreProvisioningController.java131 void initiateUi(int headerRes, int titleRes, int consentRes, int mdmInfoRes, in initiateUi() argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java276 private void addItem(PreferenceGroup group, int titleRes, CharSequence title, int userId) { in addItem() argument
288 item.setTitle(titleRes); in addItem()
289 item.setKey(Integer.toString(titleRes)); in addItem()
302 private Preference buildAction(int titleRes) { in buildAction() argument
304 pref.setTitle(titleRes); in buildAction()
305 pref.setKey(Integer.toString(titleRes)); in buildAction()
DPublicVolumeSettings.java189 private Preference buildAction(int titleRes) { in buildAction() argument
191 pref.setTitle(titleRes); in buildAction()
/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()

12