Home
last modified time | relevance | path

Searched refs:titleRes (Results 1 – 25 of 43) 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 …]
/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 …]
/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()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensResolverActivity.java157 return getString(title.titleRes); in getTitleForAction()
345 public final int titleRes; field in LensResolverActivity.ActionTitle
351 ActionTitle(String action, int titleRes, int namedTitleRes, @StringRes int labelRes) { in ActionTitle() argument
353 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java296 private void addItem(PreferenceGroup group, int titleRes, CharSequence title, int userId) { in addItem() argument
297 if (titleRes == R.string.storage_detail_system) { in addItem()
318 item.setTitle(titleRes); in addItem()
319 item.setKey(Integer.toString(titleRes)); in addItem()
333 private Preference buildAction(int titleRes) { in buildAction() argument
335 pref.setTitle(titleRes); in buildAction()
336 pref.setKey(Integer.toString(titleRes)); in buildAction()
DPublicVolumeSettings.java197 private Preference buildAction(int titleRes) { in buildAction() argument
199 pref.setTitle(titleRes); in buildAction()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java296 private void addItem(PreferenceGroup group, int titleRes, CharSequence title, int userId) { in addItem() argument
297 if (titleRes == R.string.storage_detail_system) { in addItem()
318 item.setTitle(titleRes); in addItem()
319 item.setKey(Integer.toString(titleRes)); in addItem()
333 private Preference buildAction(int titleRes) { in buildAction() argument
335 pref.setTitle(titleRes); in buildAction()
336 pref.setKey(Integer.toString(titleRes)); in buildAction()
DPublicVolumeSettings.java197 private Preference buildAction(int titleRes) { in buildAction() argument
199 pref.setTitle(titleRes); in buildAction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleScreenMagnificationPreferenceFragment.java220 final int titleRes = arguments.getInt(AccessibilitySettings.EXTRA_TITLE_RES); in onProcessArguments() local
221 if (titleRes > 0) { in onProcessArguments()
222 getActivity().setTitle(titleRes); in onProcessArguments()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEducation.java69 int titleRes = isChecked ?
72 getLayout().setHeaderText(titleRes);
73 setTitle(titleRes);
/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/accessibility/
DToggleScreenMagnificationPreferenceFragment.java254 final int titleRes = arguments.getInt(AccessibilitySettings.EXTRA_TITLE_RES); in onProcessArguments() local
255 if (titleRes > 0) { in onProcessArguments()
256 getActivity().setTitle(titleRes); in onProcessArguments()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeBehaviorFooterPreferenceController.java36 int titleRes) { in ZenModeBehaviorFooterPreferenceController() argument
38 mTitleRes = titleRes; in ZenModeBehaviorFooterPreferenceController()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeBehaviorFooterPreferenceController.java36 int titleRes) { in ZenModeBehaviorFooterPreferenceController() argument
38 mTitleRes = titleRes; in ZenModeBehaviorFooterPreferenceController()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivity.java86 private void initializeUi(int headerRes, int titleRes, int mainTextRes) { in initializeUi() argument
90 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsActivity.java428 final int titleRes = bse.getBreadCrumbTitleRes(); in setTitleFromBackStackEntry() local
429 if (titleRes > 0) { in setTitleFromBackStackEntry()
430 title = getText(titleRes); in setTitleFromBackStackEntry()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppInfoBase.java222 public static void startAppInfoFragment(Class<?> fragment, int titleRes, in startAppInfoFragment() argument
231 .setTitleRes(titleRes) in startAppInfoFragment()

12