Home
last modified time | relevance | path

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

12

/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java88 public int titleRes; field in AccountType
184 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); in getDisplayLabel()
277 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
280 public static Drawable getDisplayIcon(Context context, int titleRes, int iconRes, in getDisplayIcon() argument
282 if (titleRes != -1 && syncAdapterPackageName != null) { in getDisplayIcon()
285 } else if (titleRes != -1) { in getDisplayIcon()
327 titleRes = authenticator.labelId; in initializeFieldsFromAuthenticator()
441 public int titleRes; field in AccountType.EditField
449 public EditField(String column, int titleRes) { in EditField() argument
451 this.titleRes = titleRes; in EditField()
[all …]
DFallbackAccountType.java36 this.titleRes = R.string.account_phone; in FallbackAccountType()
DSimAccountType.java41 this.titleRes = R.string.account_sim; in SimAccountType()
DExternalAccountType.java174 titleRes = resolveExternalResId(context, mAccountTypeLabelAttribute, in ExternalAccountType()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java83 public int titleRes; field in AccountType
112 Context context, int titleRes, int iconRes, String syncAdapterPackageName) { in getDisplayIcon() argument
113 if (titleRes != -1 && syncAdapterPackageName != null) { in getDisplayIcon()
116 } else if (titleRes != -1) { in getDisplayIcon()
212 return getResourceText(context, syncAdapterPackageName, titleRes, accountType); in getDisplayLabel()
262 return getDisplayIcon(context, titleRes, iconRes, syncAdapterPackageName); in getDisplayIcon()
416 public int titleRes; field in AccountType.EditField
423 public EditField(String column, int titleRes) { in EditField() argument
425 this.titleRes = titleRes; in EditField()
428 public EditField(String column, int titleRes, int inputType) { in EditField() argument
[all …]
DFallbackAccountType.java31 this.titleRes = R.string.account_phone; in FallbackAccountType()
DExternalAccountType.java176 titleRes = in ExternalAccountType()
/packages/apps/Contacts/src/com/android/contacts/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/java/com/android/contacts/common/model/dataitem/
DDataKind.java42 public int titleRes; field in DataKind
83 public DataKind(String mimeType, int titleRes, int weight, boolean editable) { in DataKind() argument
85 this.titleRes = titleRes; in DataKind()
105 return (titleRes == -1 || titleRes == 0) ? "" : context.getString(titleRes); in getKindString()
114 sb.append(" titleRes=").append(titleRes); in toString()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DDialerSettingsActivity.java98 displayOptionsHeader.titleRes = R.string.display_options_title; in onBuildHeaders()
104 soundSettingsHeader.titleRes = R.string.sounds_and_vibration_title; in onBuildHeaders()
111 quickResponseSettingsHeader.titleRes = R.string.respond_via_sms_setting_title; in onBuildHeaders()
126 callSettingsHeader.titleRes = R.string.call_settings_label; in onBuildHeaders()
134 phoneAccountSettingsHeader.titleRes = R.string.phone_account_settings_label; in onBuildHeaders()
140 blockedCallsHeader.titleRes = R.string.manage_blocked_numbers_label; in onBuildHeaders()
154 accessibilitySettingsHeader.titleRes = R.string.accessibility_settings_title; in onBuildHeaders()
168 assistedDialingSettingsHeader.titleRes = in onBuildHeaders()
177 aboutPhoneHeader.titleRes = R.string.about_phone_label; in onBuildHeaders()
202 voicemailSettings.titleRes = R.string.voicemail_settings_label; in addVoicemailSettings()
DPhoneAccountSelectionFragment.java63 private int titleRes; field in PhoneAccountSelectionFragment
72 titleRes = getArguments().getInt(PARAM_TARGET_TITLE_RES, 0); in onCreate()
100 preferenceActivity.startWithFragment(targetFragment, arguments, null, 0, titleRes, 0); in onClick()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java304 getContext().getString(mKind.titleRes))); in rebuildLabel()
306 if (mType != null && mType.labelRes > 0 && mKind.titleRes > 0) { in rebuildLabel()
311 getContext().getString(mKind.titleRes))); in rebuildLabel()
312 } else if (mKind.titleRes > 0) { in rebuildLabel()
315 getContext().getString(mKind.titleRes))); in rebuildLabel()
423 if (mKind.titleRes > 0) { in setValues()
424 mLabel.setContentDescription(getContext().getResources().getString(mKind.titleRes)); in setValues()
DKindSectionView.java292 mIcon.setContentDescription(dataKind.titleRes == -1 || dataKind.titleRes == 0 in setState()
293 ? "" : getResources().getString(dataKind.titleRes)); in setState()
DTextFieldsEditorView.java283 if (field.titleRes > 0) { in setValues()
284 fieldView.setHint(field.titleRes); in setValues()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipData.java29 public SearchChipData(int chipType, int titleRes, String[] mimeTypes) { in SearchChipData() argument
31 mTitleRes = titleRes; in SearchChipData()
/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/notification/zen/
DZenModeBehaviorFooterPreferenceController.java36 int titleRes) { in ZenModeBehaviorFooterPreferenceController() argument
38 mTitleRes = titleRes; in ZenModeBehaviorFooterPreferenceController()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivity.java74 private void initializeUi(int headerRes, int titleRes, int mainTextRes) { in initializeUi() argument
78 setTitle(titleRes); in initializeUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollFindSensorTest.java85 final int titleRes = R.string.setup_fingerprint_enroll_skip_title; in fingerprintEnroll_showsAlert_whenClickingSkip() local
86 assertThat(application.getString(titleRes)).isEqualTo(shadowAlertDialog.getTitle()); in fingerprintEnroll_showsAlert_whenClickingSkip()
/packages/apps/Settings/tests/robotests/src/com/android/settings/suggestions/
DSettingsSuggestionsTest.java92 private void assertSuggestionEquals(String activityName, @StringRes int titleRes, in assertSuggestionEquals() argument
106 assertThat(titleResourceId).isEqualTo(titleRes); in assertSuggestionEquals()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java191 private Preference buildAction(int titleRes) { in buildAction() argument
193 pref.setTitle(titleRes); in buildAction()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java222 public static void startAppInfoFragment(Class<?> fragment, int titleRes, in startAppInfoFragment() argument
231 .setTitleRes(titleRes) in startAppInfoFragment()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java447 final int titleRes = bse.getBreadCrumbTitleRes(); in setTitleFromBackStackEntry() local
448 if (titleRes > 0) { in setTitleFromBackStackEntry()
449 title = getText(titleRes); in setTitleFromBackStackEntry()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java348 final Integer titleRes = getAsInteger(Groups.TITLE_RES);
349 if (titleRes != null && titleRes != 0) {
352 return context.getPackageManager().getText(packageName, titleRes, null);
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java1034 int titleRes, int messageRes, String unlockMethodToSet) { in newInstance() argument
1038 args.putInt(ARG_TITLE_RES, titleRes); in newInstance()

12