Home
last modified time | relevance | path

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

12345678

/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.java329 printJob.getLabel())); in onLoadFinished()
333 printJob.getLabel())); in onLoadFinished()
339 printJob.getLabel())); in onLoadFinished()
345 printJob.getLabel())); in onLoadFinished()
349 printJob.getLabel())); in onLoadFinished()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java329 printJob.getLabel())); in onLoadFinished()
333 printJob.getLabel())); in onLoadFinished()
339 printJob.getLabel())); in onLoadFinished()
345 printJob.getLabel())); in onLoadFinished()
349 printJob.getLabel())); in onLoadFinished()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java590 assertEquals(TEST_LABEL, registeredAccount.getLabel()); in testSelfManagedPhoneAccount()
647 assertTrue(accounts.get(0).getLabel().toString().equals("2")); in testSortSimFirst()
648 assertTrue(accounts.get(1).getLabel().toString().equals("1")); in testSortSimFirst()
686 assertTrue(accounts.get(0).getLabel().toString().equals("c")); in testSortBySortOrder()
687 assertTrue(accounts.get(1).getLabel().toString().equals("b")); in testSortBySortOrder()
688 assertTrue(accounts.get(2).getLabel().toString().equals("a")); in testSortBySortOrder()
724 assertTrue(accounts.get(0).getLabel().toString().equals("a")); in testSortByLabel()
725 assertTrue(accounts.get(1).getLabel().toString().equals("b")); in testSortByLabel()
726 assertTrue(accounts.get(2).getLabel().toString().equals("c")); in testSortByLabel()
798 assertTrue(accounts.get(0).getLabel().toString().equals("z")); in testSortAll()
[all …]
/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/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
53 public CharSequence getLabel(ComponentWithLabel object) { in getLabel() method in ComponentWithLabel.ComponentCachingLogic
54 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/
DRelationDataItem.java39 public String getLabel() { in getLabel() method in RelationDataItem
57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
DEventDataItem.java39 public String getLabel() { in getLabel() method in EventDataItem
57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DHeaderPreferenceControllerTest.java106 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
110 assertEquals(group.getName(), mController.getLabel()); in testGetLabel()
114 assertEquals(channel.getName(), mController.getLabel()); in testGetLabel()
119 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java109 assertThat(entry.getLabel()).isEqualTo(APP_LABEL); in batteryEntryForApp_shouldSetDefaultPackageNameAndLabel()
120 assertThat(entry.getLabel()).isEqualTo(APP_DEFAULT_PACKAGE_NAME); in batteryEntryForApp_shouldSetLabelAsPackageName_whenPackageCannotBeFound()
129 assertThat(entry.getLabel()).isEqualTo(HIGH_DRAIN_PACKAGE); in batteryEntryForApp_shouldSetHighestDrainPackage_whenPackagesCannotBeFoundForUid()
139 assertThat(entry.getLabel()).isEqualTo(HIGH_DRAIN_PACKAGE); in batteryEntryForApp_shouldSetHighestDrainPackage_whenMultiplePackagesFoundForUid()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java777 ? getLabel(mTvInputManagerHelper.getTvInputInfo(lhs.getParentId())) in compare()
778 : getLabel(mTvInputManagerHelper.getTvInputInfo(lhs.getId())); in compare()
781 ? getLabel(mTvInputManagerHelper.getTvInputInfo(rhs.getParentId())) in compare()
782 : getLabel(mTvInputManagerHelper.getTvInputInfo(rhs.getId())); in compare()
787 return getLabel(lhs).compareToIgnoreCase(getLabel(rhs)); in compare()
790 private String getLabel(TvInputInfo input) { in getLabel() method in TvInputManagerHelper.HardwareInputComparator
/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/PermissionController/src/com/android/packageinstaller/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/apps/Launcher3/src/com/android/launcher3/compat/
DShortcutConfigActivityInfo.java115 public CharSequence getLabel(PackageManager pm) { in getLabel() method in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVL
136 public CharSequence getLabel(PackageManager pm) { in getLabel() method in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVO
137 return mInfo.getLabel(); in getLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAppWidgetLoader.java42 CharSequence getLabel(); in getLabel() method
164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DManagePermissionsFragment.java124 groups.sort((x, y) -> mCollator.compare(x.getLabel(), y.getLabel())); in updatePermissionsUi()
149 preference.setTitle(group.getLabel()); in updatePermissionsUi()
/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/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.java74 if (TextUtils.isEmpty(timer.getLabel())) { in build()
77 stateText = timer.getLabel(); in build()
226 final String label = timer.getLabel(); in buildHeadsUp()
309 if (TextUtils.isEmpty(timer.getLabel())) { in buildMissed()
313 timer.getLabel()); in buildMissed()

12345678