| /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
| D | ContactLocaleUtilsTest.java | 117 private String getLabel(String name) { in getLabel() method in ContactLocaleUtilsTest 132 assertEquals("#", getLabel(PHONE_NUMBER_1)); in testEnglishContactLocaleUtils() 133 assertEquals("#", getLabel(PHONE_NUMBER_2)); in testEnglishContactLocaleUtils() 134 assertEquals("J", getLabel(LATIN_NAME)); in testEnglishContactLocaleUtils() 135 assertEquals("\u2026", getLabel(CHINESE_NAME)); in testEnglishContactLocaleUtils() 136 assertEquals("D", getLabel(CHINESE_LATIN_MIX_NAME_1)); in testEnglishContactLocaleUtils() 137 assertEquals("B", getLabel("Bob Smith")); in testEnglishContactLocaleUtils() 139 assertEquals("\u0646", getLabel(ARABIC_NAME)); in testEnglishContactLocaleUtils() 140 assertEquals("\u0408", getLabel(SERBIAN_NAME)); in testEnglishContactLocaleUtils() 143 assertEquals("\u0406", getLabel(UKRAINIAN_NAME)); in testEnglishContactLocaleUtils() [all …]
|
| /packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
| D | TargetPresentationGetterTest.kt | 78 assertThat(presentationGetter.getLabel()).isEqualTo("app_label") in testActivityInfoLabels_noSubstitutePermission_distinctRequestedLabelAndSublabel() 85 assertThat(presentationGetter.getLabel()).isEqualTo("app_label") in testActivityInfoLabels_noSubstitutePermission_sameRequestedLabelAndSublabel() 96 assertThat(presentationGetter.getLabel()).isNull() in testActivityInfoLabels_noSubstitutePermission_nullRequestedLabel() 103 assertThat(presentationGetter.getLabel()).isEqualTo("") in testActivityInfoLabels_noSubstitutePermission_emptyRequestedLabel() 110 assertThat(presentationGetter.getLabel()).isEqualTo("app_label") in testActivityInfoLabels_noSubstitutePermission_emptyRequestedSublabel() 119 assertThat(presentationGetter.getLabel()).isEqualTo("activity_label") in testActivityInfoLabels_withSubstitutePermission_distinctRequestedLabelAndSublabel() 131 assertThat(presentationGetter.getLabel()).isEqualTo("app_label") in testActivityInfoLabels_withSubstitutePermission_sameRequestedLabelAndSublabel() 139 assertThat(presentationGetter.getLabel()).isEqualTo("app_label") in testActivityInfoLabels_withSubstitutePermission_nullRequestedLabel() 152 assertThat(presentationGetter.getLabel()).isEqualTo("") in testActivityInfoLabels_withSubstitutePermission_emptyRequestedLabel() 159 assertThat(presentationGetter.getLabel()).isEqualTo("activity_label") in testActivityInfoLabels_withSubstitutePermission_emptyRequestedSublabel() [all …]
|
| /packages/apps/Settings/src/com/android/settings/print/ |
| D | PrintJobPreferenceController.java | 53 R.string.print_configuring_state_title_template, info.getLabel())); in updateUi() 60 R.string.print_printing_state_title_template, info.getLabel())); in updateUi() 63 R.string.print_cancelling_state_title_template, info.getLabel())); in updateUi() 70 R.string.print_failed_state_title_template, info.getLabel())); in updateUi() 77 R.string.print_blocked_state_title_template, info.getLabel())); in updateUi() 80 R.string.print_cancelling_state_title_template, info.getLabel())); in updateUi()
|
| /packages/apps/Settings/src/com/android/settings/notification/app/ |
| D | ConversationListPreferenceController.java | 136 ? BidiFormatter.getInstance().unicodeWrap(si.getLabel()) in getTitle() 175 if (o1.getShortcutInfo().getLabel() == null 176 && o2.getShortcutInfo().getLabel() != null) { 179 if (o1.getShortcutInfo().getLabel() != null 180 && o2.getShortcutInfo().getLabel() == null) { 183 return sCollator.compare(o1.getShortcutInfo().getLabel().toString(), 184 o2.getShortcutInfo().getLabel().toString());
|
| D | RecentConversationsPreferenceController.java | 220 return si.getLabel(); in getTitle() 251 if (o1.getShortcutInfo().getLabel() != null 252 && o2.getShortcutInfo().getLabel() != null) { 254 o1.getShortcutInfo().getLabel().toString(), 255 o2.getShortcutInfo().getLabel().toString());
|
| D | ConversationHeaderPreferenceController.java | 85 .setLabel(getLabel()) in updateState() 127 CharSequence getLabel() { in getLabel() method in ConversationHeaderPreferenceController 130 label = mConversationInfo.getLabel(); in getLabel()
|
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
| D | ExpectedKeyVisual.java | 41 public abstract String getLabel(); in getLabel() method in ExpectedKeyVisual 66 public String getLabel() { in getLabel() method in ExpectedKeyVisual.Icon 89 return mIconId == key.getIconId() && key.getLabel() == null; in hasSameKeyVisual() 132 public String getLabel() { in getLabel() method in ExpectedKeyVisual.Label 155 return mLabel.equals(key.getLabel()) in hasSameKeyVisual()
|
| /packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
| D | EventDataItem.java | 38 public String getLabel() { in getLabel() method in EventDataItem 56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
| D | RelationDataItem.java | 38 public String getLabel() { in getLabel() method in RelationDataItem 56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
| /packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
| D | EventDataItem.java | 39 public String getLabel() { in getLabel() method in EventDataItem 57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
| D | RelationDataItem.java | 39 public String getLabel() { in getLabel() method in RelationDataItem 57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
| D | ConversationHeaderPreferenceControllerTest.java | 121 when(si.getLabel()).thenReturn("hello"); in testGetLabel() 124 assertEquals(si.getLabel(), mController.getLabel()); in testGetLabel() 128 assertEquals(channel.getName(), mController.getLabel()); in testGetLabel() 131 assertNull(mController.getLabel()); in testGetLabel()
|
| D | RecentConversationsPreferenceControllerTest.java | 147 when(si.getLabel()).thenReturn("person"); in getSummary_withGroup() 162 when(si.getLabel()).thenReturn("person"); in getSummary_noGroup() 175 when(si.getLabel()).thenReturn("person"); in getTitle_withShortcut() 181 assertThat(mController.getTitle(ccw).toString()).isEqualTo(si.getLabel()); in getTitle_withShortcut() 322 when(si.getLabel()).thenReturn(new SpannedString("hello")); in testSpans() 328 when(si2.getLabel()).thenReturn("hello"); in testSpans()
|
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
| D | ActionTestsBase.java | 69 public String getLabel() { return mVisual.getLabel(); } in getLabel() method in ActionTestsBase.ExpectedActionKey 85 assertEquals(tag + " label " + expectedKey, expectedKey.getLabel(), actualKey.getLabel()); in assertActionKey()
|
| /packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
| D | ContactDataHandlerTest.java | 133 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testConvertCurrentRowToPerson_labelCustom_typeCustom() 168 assertThat(contactPoints[0].getLabel()).isEqualTo(expectedLabel); in testConvertCurrentRowToPerson_labelIsNull_typeCustom() 201 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testConvertCurrentRowToPerson_labelIsNull_typeHome() 233 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testConvertCurrentRowToPerson_email() 312 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_oneDigitUS() 345 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_oneDigitDO() 381 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_twoDigitCN() 415 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_twoDigitES() 449 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_threeDigitBG() 481 assertThat(contactPoints[0].getLabel()).isEqualTo(label); in testPhone_generatesAllVariants_withoutE164FormatInCP2_withoutFallback() [all …]
|
| /packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/ |
| D | AppEntry.java | 33 .comparing(AppEntry::getLabel, String::compareToIgnoreCase); 47 String getLabel() { in getLabel() method in AppEntry
|
| /packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
| D | ListViewService.java | 58 views.setTextViewText(android.R.id.text1, getLabel(i)); in getViewAt() 62 public String getLabel(int i) { in getLabel() method in ListViewService.SimpleViewsFactory
|
| /packages/apps/Settings/src/com/android/settings/ |
| D | AppWidgetLoader.java | 42 CharSequence getLabel(); in getLabel() method 164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
|
| /packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
| D | PhoneAccountUtils.java | 33 if (account != null && account.getLabel() != null) { in getAccountLabel() 34 return account.getLabel().toString(); in getAccountLabel()
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
| D | MoreSuggestions.java | 73 word = suggestedWords.getLabel(SuggestedWords.INDEX_OF_TYPED_WORD); in layout() 75 word = suggestedWords.getLabel(index); in layout() 216 word = mSuggestedWords.getLabel(SuggestedWords.INDEX_OF_TYPED_WORD); in build() 219 word = mSuggestedWords.getLabel(index); in build()
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| D | PunctuationSuggestions.java | 86 public String getLabel(final int index) { in getLabel() method in PunctuationSuggestions 88 return KeySpecParser.getLabel(keySpec); in getLabel()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/ |
| D | ShortcutsTest.java | 58 assertThat(shortcut.getLabel()).isNotNull(); in shortcutsUpdateTask() 59 assertThat(shortcut.getLabel().toString()).isEqualTo("App info"); in shortcutsUpdateTask()
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
| D | KeySpecParser.java | 141 public static String getLabel(@Nullable final String keySpec) { in getLabel() method in KeySpecParser 188 final String label = getLabel(keySpec); in getOutputText() 215 final String label = getLabel(keySpec); in getCode()
|
| /packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/ |
| D | LoadLabelTask.java | 83 pg.getLabel(), in loadLabel() 89 pg.getLabel(), in loadLabel()
|
| /packages/apps/TV/src/com/android/tv/ |
| D | TvOptionsManager.java | 80 ? DisplayMode.getLabel(mDisplayMode, mContext) in getOptionString() 81 : DisplayMode.getLabel(DisplayMode.MODE_NORMAL, mContext); in getOptionString()
|