Home
last modified time | relevance | path

Searched refs:customLabel (Results 1 – 13 of 13) 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.java286 CharSequence customLabel = input.loadCustomLabel(getContext()); in setItemViewText() local
288 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { in setItemViewText()
292 inputLabelView.setText(customLabel); in setItemViewText()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DContactDisplayUtils.java68 public static CharSequence getLabelForCallOrSms(Integer type, CharSequence customLabel, in getLabelForCallOrSms() argument
73 return (customLabel == null) ? "" : customLabel; in getLabelForCallOrSms()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java434 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); in searchInputs() local
435 if (TextUtils.equals(query, label) || TextUtils.equals(query, customLabel)) { in searchInputs()
446 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); in searchInputs() local
448 (customLabel != null && customLabel.contains(query))) { in searchInputs()
/packages/apps/Contacts/src/com/android/contacts/list/
DLegacyPhoneNumberListAdapter.java106 final String customLabel = cursor.getString(PHONE_LABEL_COLUMN_INDEX); in bindPhoneNumber() local
109 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); in bindPhoneNumber()
DLegacyPostalAddressListAdapter.java107 final String customLabel = cursor.getString(POSTAL_LABEL_COLUMN_INDEX); in bindPostalAddress() local
110 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel); in bindPostalAddress()
DPostalAddressListAdapter.java139 final String customLabel = cursor.getString(PostalQuery.POSTAL_LABEL); in bindPostalAddress() local
142 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel); in bindPostalAddress()
DEmailAddressListAdapter.java148 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); in bindEmailAddress() local
151 label = Email.getTypeLabel(getContext().getResources(), type, customLabel); in bindEmailAddress()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java493 CharSequence customLabel = input.loadCustomLabel(context); in loadLabel() local
494 String label = (customLabel == null) ? null : customLabel.toString(); in loadLabel()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DContactInfoCache.java613 String customLabel) { in getPresentationString() argument
615 if (!TextUtils.isEmpty(customLabel) && in getPresentationString()
618 name = customLabel; in getPresentationString()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPhoneNumberListAdapter.java471 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); in bindPhoneNumber() local
474 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); in bindPhoneNumber()