Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputsFragment.java198 String customLabel; in refresh() local
200 customLabel = getString(R.string.inputs_hide); in refresh()
202 customLabel = mCustomLabels.get(inputInfo.getId()); in refresh()
203 if (TextUtils.isEmpty(customLabel)) { in refresh()
204 customLabel = inputInfo.loadLabel(getContext()).toString(); in refresh()
207 setSummary(customLabel); in refresh()
DInputOptionsFragment.java99 final CharSequence customLabel = mCustomLabels.get(mInputInfo.getId()); in refresh() local
109 final boolean nameMatch = TextUtils.equals(namePref.getTitle(), customLabel); in refresh()
116 final boolean nameIsDefault = TextUtils.isEmpty(customLabel); in refresh()
120 nameIsDefault ? defaultLabel : customLabel); in refresh()
124 mNameCustomPref.setSummary(customLabel); in refresh()
/packages/apps/TV/src/com/android/tv/ui/
DInputBannerView.java78 CharSequence customLabel = input.loadCustomLabel(getContext()); in updateLabel() local
80 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { in updateLabel()
84 mInputLabelTextView.setText(customLabel); in updateLabel()
DSelectInputView.java285 CharSequence customLabel = input.loadCustomLabel(getContext()); in setItemViewText() local
287 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { in setItemViewText()
291 inputLabelView.setText(customLabel); in setItemViewText()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java367 String customLabel = mTvInputCustomLabels.get(info.getId()); in loadCustomLabel() local
368 if (customLabel == null) { in loadCustomLabel()
371 customLabel = customLabelCharSequence.toString(); in loadCustomLabel()
372 mTvInputCustomLabels.put(info.getId(), customLabel); in loadCustomLabel() local
375 return customLabel; in loadCustomLabel()
DUtils.java663 CharSequence customLabel = inputManager.loadCustomLabel(input); in loadLabel() local
664 String label = (customLabel == null) ? null : customLabel.toString(); in loadLabel()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java437 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); in searchInputs() local
438 if (TextUtils.equals(query, label) || TextUtils.equals(query, customLabel)) { in searchInputs()
457 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); in searchInputs() local
459 (customLabel != null && customLabel.contains(query))) { in searchInputs()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java63 Integer type, CharSequence customLabel, int interactionType, @NonNull Context context) { in getLabelForCallOrSms() argument
67 return (customLabel == null) ? "" : customLabel; in getLabelForCallOrSms()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactDisplayUtils.java68 public static CharSequence getLabelForCallOrSms(Integer type, CharSequence customLabel, in getLabelForCallOrSms() argument
73 return (customLabel == null) ? "" : customLabel; in getLabelForCallOrSms()
/packages/apps/Contacts/src/com/android/contacts/list/
DLegacyPostalAddressListAdapter.java104 final String customLabel = cursor.getString(POSTAL_LABEL_COLUMN_INDEX); in bindPostalAddress() local
107 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel); in bindPostalAddress()
DLegacyPhoneNumberListAdapter.java103 final String customLabel = cursor.getString(PHONE_LABEL_COLUMN_INDEX); in bindPhoneNumber() local
106 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); in bindPhoneNumber()
DPostalAddressListAdapter.java137 final String customLabel = cursor.getString(PostalQuery.POSTAL_LABEL); in bindPostalAddress() local
140 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel); in bindPostalAddress()
DEmailAddressListAdapter.java146 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); in bindEmailAddress() local
149 label = Email.getTypeLabel(getContext().getResources(), type, customLabel); in bindEmailAddress()
DMultiSelectEmailAddressesListAdapter.java179 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); in bindEmailAddress() local
182 label = Email.getTypeLabel(getContext().getResources(), type, customLabel); in bindEmailAddress()
DMultiSelectPhoneNumbersListAdapter.java179 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); in bindPhoneNumber() local
182 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); in bindPhoneNumber()
DPhoneNumberListAdapter.java471 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); in bindPhoneNumber() local
474 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); in bindPhoneNumber()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DTvInputManagerHelperTest.java149 String parentId, int type, boolean isHardwareInput, String label, String customLabel, in createTvInputInfo() argument
159 inputWrapper.mCustomLabel = customLabel; in createTvInputInfo()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java279 Context context, int presentation, String customLabel) { in getPresentationString() argument
281 if (!TextUtils.isEmpty(customLabel) in getPresentationString()
284 name = customLabel; in getPresentationString()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DPhoneNumberListAdapter.java367 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); in bindPhoneNumber() local
370 label = Phone.getTypeLabel(mContext.getResources(), type, customLabel); in bindPhoneNumber()