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.java202 String customLabel; in refresh() local
204 customLabel = getString(R.string.inputs_hide); in refresh()
206 customLabel = mCustomLabels.get(inputInfo.getId()); in refresh()
207 if (TextUtils.isEmpty(customLabel)) { in refresh()
208 customLabel = inputInfo.loadLabel(getContext()).toString(); in refresh()
211 setSummary(customLabel); in refresh()
DInputOptionsFragment.java104 final CharSequence customLabel = mCustomLabels.get(mInputInfo.getId()); in refresh() local
114 final boolean nameMatch = TextUtils.equals(namePref.getTitle(), customLabel); in refresh()
121 final boolean nameIsDefault = TextUtils.isEmpty(customLabel); in refresh()
125 nameIsDefault ? defaultLabel : customLabel); in refresh()
129 mNameCustomPref.setSummary(customLabel); in refresh()
/packages/apps/TV/src/com/android/tv/ui/
DInputBannerView.java75 CharSequence customLabel = input.loadCustomLabel(getContext()); in updateLabel() local
77 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { in updateLabel()
81 mInputLabelTextView.setText(customLabel); in updateLabel()
DSelectInputView.java287 CharSequence customLabel = input.loadCustomLabel(getContext()); in setItemViewText() local
289 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { in setItemViewText()
293 inputLabelView.setText(customLabel); in setItemViewText()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java109 public abstract String customLabel(); in customLabel() method in PrimaryCallState
192 public abstract Builder setCustomLabel(String customLabel); in setCustomLabel() argument
200 if (!TextUtils.isEmpty(primaryCallState.customLabel())) { in build()
/packages/apps/Dialer/java/com/android/contacts/common/util/
DContactDisplayUtils.java62 Integer type, CharSequence customLabel, int interactionType, @NonNull Context context) { in getLabelForCallOrSms() argument
66 return (customLabel == null) ? "" : customLabel; in getLabelForCallOrSms()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java510 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); in searchInputs() local
511 if (TextUtils.equals(query, label) || TextUtils.equals(query, customLabel)) { in searchInputs()
535 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); in searchInputs() local
537 || (customLabel != null && customLabel.contains(query))) { in searchInputs()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java470 String customLabel = mTvInputCustomLabels.get(info.getId()); in loadCustomLabel() local
471 if (customLabel == null) { in loadCustomLabel()
474 customLabel = customLabelCharSequence.toString(); in loadCustomLabel()
475 mTvInputCustomLabels.put(info.getId(), customLabel); in loadCustomLabel() local
478 return customLabel; in loadCustomLabel()
DUtils.java615 CharSequence customLabel = inputManager.loadCustomLabel(input); in loadLabel() local
616 String label = (customLabel == null) ? null : customLabel.toString(); in loadLabel()
/packages/apps/Contacts/src/com/android/contacts/list/
DLegacyPhoneNumberListAdapter.java103 final String customLabel = cursor.getString(PHONE_LABEL_COLUMN_INDEX); in bindPhoneNumber() local
106 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel); in bindPhoneNumber()
DLegacyPostalAddressListAdapter.java104 final String customLabel = cursor.getString(POSTAL_LABEL_COLUMN_INDEX); in bindPostalAddress() local
107 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel); in bindPostalAddress()
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.java274 String customLabel, in createTvInputInfo() argument
284 inputWrapper.mCustomLabel = customLabel; in createTvInputInfo()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java110 && !TextUtils.isEmpty(state.customLabel())) { in getInfo()
111 label = state.customLabel(); in getInfo()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java282 Context context, int presentation, String customLabel) { in getPresentationString() argument
284 if (!TextUtils.isEmpty(customLabel) in getPresentationString()
287 name = customLabel; in getPresentationString()