/packages/apps/TV/src/com/android/tv/ui/ |
InputBannerView.java | 78 CharSequence customLabel = input.loadCustomLabel(getContext()); 80 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { 84 mInputLabelTextView.setText(customLabel);
|
SelectInputView.java | 285 CharSequence customLabel = input.loadCustomLabel(getContext()); 287 if (TextUtils.isEmpty(customLabel) || customLabel.equals(label)) { 291 inputLabelView.setText(customLabel);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
InputsFragment.java | 198 String customLabel; 200 customLabel = getString(R.string.inputs_hide); 202 customLabel = mCustomLabels.get(inputInfo.getId()); 203 if (TextUtils.isEmpty(customLabel)) { 204 customLabel = inputInfo.loadLabel(getContext()).toString(); 207 setSummary(customLabel);
|
InputOptionsFragment.java | 99 final CharSequence customLabel = mCustomLabels.get(mInputInfo.getId()); 109 final boolean nameMatch = TextUtils.equals(namePref.getTitle(), customLabel); 116 final boolean nameIsDefault = TextUtils.isEmpty(customLabel); 120 nameIsDefault ? defaultLabel : customLabel); 124 mNameCustomPref.setSummary(customLabel);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyPhoneNumberListAdapter.java | 103 final String customLabel = cursor.getString(PHONE_LABEL_COLUMN_INDEX); 106 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel);
|
LegacyPostalAddressListAdapter.java | 104 final String customLabel = cursor.getString(POSTAL_LABEL_COLUMN_INDEX); 107 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel);
|
EmailAddressListAdapter.java | 146 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); 149 label = Email.getTypeLabel(getContext().getResources(), type, customLabel);
|
MultiSelectEmailAddressesListAdapter.java | 179 final String customLabel = cursor.getString(EmailQuery.EMAIL_LABEL); 182 label = Email.getTypeLabel(getContext().getResources(), type, customLabel);
|
MultiSelectPhoneNumbersListAdapter.java | 179 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); 182 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel);
|
PostalAddressListAdapter.java | 137 final String customLabel = cursor.getString(PostalQuery.POSTAL_LABEL); 140 label = StructuredPostal.getTypeLabel(getContext().getResources(), type, customLabel);
|
PhoneNumberListAdapter.java | 471 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); 474 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactDisplayUtils.java | 61 * @param customLabel A custom label to use if the phone is determined to be of custom type 68 public static CharSequence getLabelForCallOrSms(Integer type, CharSequence customLabel, 73 return (customLabel == null) ? "" : customLabel;
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
ContactDisplayUtils.java | 55 * @param customLabel A custom label to use if the phone is determined to be of custom type 63 Integer type, CharSequence customLabel, int interactionType, @NonNull Context context) { 67 return (customLabel == null) ? "" : customLabel;
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
TvInputManagerHelperTest.java | 149 String parentId, int type, boolean isHardwareInput, String label, String customLabel, 159 inputWrapper.mCustomLabel = customLabel;
|
/packages/apps/TV/src/com/android/tv/search/ |
TvProviderSearch.java | 437 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); 438 if (TextUtils.equals(query, label) || TextUtils.equals(query, customLabel)) { 457 String customLabel = canonicalizeLabel(input.loadCustomLabel(mContext)); 459 (customLabel != null && customLabel.contains(query))) {
|
/packages/apps/TV/src/com/android/tv/util/ |
TvInputManagerHelper.java | 367 String customLabel = mTvInputCustomLabels.get(info.getId()); 368 if (customLabel == null) { 371 customLabel = customLabelCharSequence.toString(); 372 mTvInputCustomLabels.put(info.getId(), customLabel); 375 return customLabel;
|
Utils.java | 663 CharSequence customLabel = inputManager.loadCustomLabel(input); 664 String label = (customLabel == null) ? null : customLabel.toString(); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtPlugin.java | [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
PhoneNumberListAdapter.java | 367 final String customLabel = cursor.getString(PhoneQuery.PHONE_LABEL); 370 label = Phone.getTypeLabel(mContext.getResources(), type, customLabel);
|
/packages/apps/Dialer/java/com/android/incallui/ |
ContactInfoCache.java | 279 Context context, int presentation, String customLabel) { 281 if (!TextUtils.isEmpty(customLabel) 284 name = customLabel; [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsTest.java | 569 String customLabel = "custom_label"; 607 value.put(ContactMethods.LABEL, customLabel); 619 assertEquals(customLabel, cursor.getString(LABEL_INDEX)); [all...] |