Home
last modified time | relevance | path

Searched refs:getLabel (Results 1 – 25 of 171) sorted by relevance

1234567

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java116 private String getLabel(String name) { in getLabel() method in ContactLocaleUtilsTest
131 assertEquals("#", getLabel(PHONE_NUMBER_1)); in testEnglishContactLocaleUtils()
132 assertEquals("#", getLabel(PHONE_NUMBER_2)); in testEnglishContactLocaleUtils()
133 assertEquals("J", getLabel(LATIN_NAME)); in testEnglishContactLocaleUtils()
134 assertEquals("\u2026", getLabel(CHINESE_NAME)); in testEnglishContactLocaleUtils()
135 assertEquals("D", getLabel(CHINESE_LATIN_MIX_NAME_1)); in testEnglishContactLocaleUtils()
136 assertEquals("B", getLabel("Bob Smith")); in testEnglishContactLocaleUtils()
138 assertEquals("\u0646", getLabel(ARABIC_NAME)); in testEnglishContactLocaleUtils()
139 assertEquals("\u0408", getLabel(SERBIAN_NAME)); in testEnglishContactLocaleUtils()
142 assertEquals("\u0406", getLabel(UKRAINIAN_NAME)); in testEnglishContactLocaleUtils()
[all …]
/packages/apps/Settings/src/com/android/settings/print/
DPrintJobPreferenceController.java53 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()
DPrintSettingsFragment.java328 printJob.getLabel())); in onLoadFinished()
332 printJob.getLabel())); in onLoadFinished()
338 printJob.getLabel())); in onLoadFinished()
344 printJob.getLabel())); in onLoadFinished()
348 printJob.getLabel())); in onLoadFinished()
/packages/apps/Settings/src/com/android/settings/notification/app/
DConversationListPreferenceController.java126 ? si.getLabel() in getTitle()
164 if (o1.getShortcutInfo().getLabel() == null
165 && o2.getShortcutInfo().getLabel() != null) {
168 if (o1.getShortcutInfo().getLabel() != null
169 && o2.getShortcutInfo().getLabel() == null) {
172 return sCollator.compare(o1.getShortcutInfo().getLabel().toString(),
173 o2.getShortcutInfo().getLabel().toString());
DConversationHeaderPreferenceController.java85 .setLabel(getLabel()) in updateState()
128 CharSequence getLabel() { in getLabel() method in ConversationHeaderPreferenceController
130 ? mConversationInfo.getLabel() in getLabel()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyVisual.java41 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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java654 assertEquals(TEST_LABEL, registeredAccount.getLabel()); in testSelfManagedPhoneAccount()
711 assertTrue(accounts.get(0).getLabel().toString().equals("2")); in testSortSimFirst()
712 assertTrue(accounts.get(1).getLabel().toString().equals("1")); in testSortSimFirst()
754 assertTrue(accounts.get(0).getLabel().toString().equals("c")); in testSortBySortOrder()
755 assertTrue(accounts.get(1).getLabel().toString().equals("b")); in testSortBySortOrder()
756 assertTrue(accounts.get(2).getLabel().toString().equals("a")); in testSortBySortOrder()
792 assertTrue(accounts.get(0).getLabel().toString().equals("a")); in testSortByLabel()
793 assertTrue(accounts.get(1).getLabel().toString().equals("b")); in testSortByLabel()
794 assertTrue(accounts.get(2).getLabel().toString().equals("c")); in testSortByLabel()
871 assertTrue(accounts.get(0).getLabel().toString().equals("z")); in testSortAll()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java69 public String getLabel() { return mVisual.getLabel(); } in getLabel() method in ActionTestsBase.ExpectedActionKey
85 assertEquals(tag + " label " + expectedKey, expectedKey.getLabel(), actualKey.getLabel()); in assertActionKey()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DComponentWithLabel.java31 CharSequence getLabel(PackageManager pm); in getLabel() method
55 public CharSequence getLabel(T object) { in getLabel() method in ComponentWithLabel.ComponentCachingLogic
56 return object.getLabel(mPackageManager); in getLabel()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DRelationDataItem.java38 public String getLabel() { in getLabel() method in RelationDataItem
56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
DEventDataItem.java38 public String getLabel() { in getLabel() method in EventDataItem
56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DEventDataItem.java39 public String getLabel() { in getLabel() method in EventDataItem
57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
DRelationDataItem.java39 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/
DConversationHeaderPreferenceControllerTest.java116 when(si.getLabel()).thenReturn("hello"); in testGetLabel()
119 assertEquals(si.getLabel(), mController.getLabel()); in testGetLabel()
123 assertEquals(channel.getName(), mController.getLabel()); in testGetLabel()
DHeaderPreferenceControllerTest.java117 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
121 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
125 assertEquals(channel.getName(), mController.getLabel()); in testGetLabel()
130 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoManagePermissionsFragment.java116 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePermissionsUi()
135 preference.setTitle(group.getLabel()); in updatePermissionsUi()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java73 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/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java790 ? getLabel(mTvInputManagerHelper.getTvInputInfo(lhs.getParentId())) in compare()
791 : getLabel(mTvInputManagerHelper.getTvInputInfo(lhs.getId())); in compare()
794 ? getLabel(mTvInputManagerHelper.getTvInputInfo(rhs.getParentId())) in compare()
795 : getLabel(mTvInputManagerHelper.getTvInputInfo(rhs.getId())); in compare()
800 return getLabel(lhs).compareToIgnoreCase(getLabel(rhs)); in compare()
803 private String getLabel(TvInputInfo input) { in getLabel() method in TvInputManagerHelper.HardwareInputComparator
/packages/apps/Settings/src/com/android/settings/
DAppWidgetLoader.java42 CharSequence getLabel(); in getLabel() method
164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java257 public String getLabel() { in getLabel() method in AppOpsState.AppEntry
430 return mApp.getLabel(); in toString()
452 return sCollator.compare(object1.getAppEntry().getLabel(),
453 object2.getAppEntry().getLabel());
464 return sCollator.compare(object1.getAppEntry().getLabel(),
465 object2.getAppEntry().getLabel());
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DShortcutConfigActivityInfo.java125 public CharSequence getLabel(PackageManager pm) { in getLabel() method in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVL
146 public CharSequence getLabel(PackageManager pm) { in getLabel() method in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVO
147 return mInfo.getLabel(); in getLabel()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DGaugeMetricsTests.java132 assertThat(data.getBucketInfo(0).getAtom(0).getAppBreadcrumbReported().getLabel()) in testGaugeMetric()
142 assertThat(data.getBucketInfo(bucketCount-1).getAtom(0).getAppBreadcrumbReported().getLabel()) in testGaugeMetric()
329 assertThat(bucketInfo.getAtom(0).getAppBreadcrumbReported().getLabel()).isEqualTo(10); in testPulledGaugeMetricWithConditionAndActivation()
334 assertThat(bucketInfo.getAtom(0).getAppBreadcrumbReported().getLabel()).isEqualTo(60); in testPulledGaugeMetricWithConditionAndActivation()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java131 if (!TextUtils.isEmpty(key.getLabel())) { in getDescriptionForKey()
132 return key.getLabel(); in getDescriptionForKey()
228 if (!TextUtils.isEmpty(key.getLabel())) { in getDescriptionForActionKey()
229 return key.getLabel().trim(); in getDescriptionForActionKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java141 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/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DListViewService.java58 views.setTextViewText(android.R.id.text1, getLabel(i)); in getViewAt()
62 public String getLabel(int i) { in getLabel() method in ListViewService.SimpleViewsFactory

1234567