Home
last modified time | relevance | path

Searched refs:titleRes (Results 1 – 25 of 41) 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()
/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()
/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/modules/IntentResolver/java/src/com/android/intentresolver/ui/
DActionTitle.java69 public final int titleRes; field in ActionTitle
73 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
75 this.titleRes = titleRes; in ActionTitle()
/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/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/dialog/
DProgressDialogFragment.kt49 class ProgressDialogFragment(@StringRes private val titleRes: Int = R.string.loading) : constant in com.android.healthconnect.controller.shared.dialog.ProgressDialogFragment
55 title.setText(titleRes) in onCreateDialog()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java306 getContext().getString(mKind.titleRes))); in rebuildLabel()
308 if (mType != null && mType.labelRes > 0 && mKind.titleRes > 0) { in rebuildLabel()
313 getContext().getString(mKind.titleRes))); in rebuildLabel()
314 } else if (mKind.titleRes > 0) { in rebuildLabel()
317 getContext().getString(mKind.titleRes))); in rebuildLabel()
429 if (mKind.titleRes > 0) { in setValues()
430 mLabel.setContentDescription(getContext().getResources().getString(mKind.titleRes)); in setValues()
DKindSectionView.java317 mIcon.setContentDescription(dataKind.titleRes == -1 || dataKind.titleRes == 0 in setState()
318 ? "" : getResources().getString(dataKind.titleRes)); in setState()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DDialogActivity.kt40 fun setHeading(titleRes: Int) { in setHeading()
41 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.java76 private void initializeUi(int headerRes, String titleRes, String mainTextRes) { in initializeUi() argument
78 setTitle(titleRes); in initializeUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/suggestions/
DSettingsSuggestionsTest.java92 private void assertSuggestionEquals(String activityName, @StringRes int titleRes, in assertSuggestionEquals() argument
107 assertThat(titleResourceId).isEqualTo(titleRes); in assertSuggestionEquals()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollFindSensorTest.java86 final int titleRes = R.string.setup_fingerprint_enroll_skip_title; in fingerprintEnroll_showsAlert_whenClickingSkip() local
88 assertThat(ApplicationProvider.getApplicationContext().getString(titleRes)).isEqualTo( in fingerprintEnroll_showsAlert_whenClickingSkip()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesHelper.java62 public final int titleRes; field in EnergyModesHelper.EnergyMode
99 boolean enableLowPowerStandby, @BoolRes int enabledRes, @StringRes int titleRes, in EnergyMode() argument
109 this.titleRes = titleRes; in EnergyMode()
DEnergyModesFragment.java99 radioPreference.setTitle(mode.titleRes); in createEnergyModeRadioPreference()
179 infoTitle.setText(mode.titleRes); in onCreateView()
DEnergyModeConfirmationActivity.java106 getString(energyMode.titleRes)), in onCreateGuidance()
152 context.getString(energyMode.titleRes))) in newInstance()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogFactory.java83 public AudioSharingDialogFactory.DialogBuilder setTitle(@StringRes int titleRes) { in setTitle() argument
85 title.setText(titleRes); in setTitle()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java203 private Preference buildAction(int titleRes) { in buildAction() argument
205 pref.setTitle(titleRes); in buildAction()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ecm/
DEnhancedConfirmationDialogActivity.kt134 title = settingType.titleRes?.let { context.getString(it, label) }, in <lambda>()
142 private enum class SettingType(val titleRes: Int?, val messageRes: Int?) { in <lambda>() constant in com.android.permissioncontroller.ecm.EnhancedConfirmationDialogActivity.SettingType
/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);

12