/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | MimeIconUtilsTest.java | 42 MimeIconUtils.getTypeInfo("image/png").getLabel()); in testSimple() 44 MimeIconUtils.getTypeInfo("image/x-custom").getLabel()); in testSimple() 47 MimeIconUtils.getTypeInfo("chemical/x-alchemy").getLabel()); in testSimple() 49 MimeIconUtils.getTypeInfo("x-custom/x-custom").getLabel()); in testSimple() 52 MimeIconUtils.getTypeInfo("inode/directory").getLabel()); in testSimple() 55 MimeIconUtils.getTypeInfo("application/zip").getLabel()); in testSimple() 57 MimeIconUtils.getTypeInfo("application/rar").getLabel()); in testSimple() 60 MimeIconUtils.getTypeInfo("text/plain").getLabel()); in testSimple() 62 MimeIconUtils.getTypeInfo("text/x-custom").getLabel()); in testSimple() 65 MimeIconUtils.getTypeInfo("audio/flac").getLabel()); in testSimple() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | MediaSizeUtils.java | 131 public @NonNull String getLabel(@NonNull Context context, @NonNull MediaSize mediaSize) { in getLabel() method in MediaSizeUtils.MediaSizeComparator 135 label = mediaSize.getLabel(context.getPackageManager()); in getLabel() 161 return getLabel(mContext, lhs).compareTo(getLabel(mContext, rhs)); in compare()
|
/frameworks/base/core/tests/coretests/src/android/service/quicksettings/ |
D | TileTest.java | 40 assertThat(tile.getLabel()).isEqualTo(CUSTOM_APP_LABEL); in testGetLabel_labelSet_usesCustomLabel() 48 assertThat(tile.getLabel()).isEqualTo(DEFAULT_LABEL); in testGetLabel_labelNotSet_usesDefaultLabel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuTargetsCallback.java | 58 if (!TextUtils.equals(mOldTargets.get(oldIndex).getLabel(), in areContentsTheSame() 59 mNewTargets.get(newIndex).getLabel())) { in areContentsTheSame()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 94 public CharSequence getLabel() { in getLabel() method in StatusHints 192 return Objects.equals(otherHints.getLabel(), getLabel()) && in equals()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationChannelHelper.java | 71 if (entry.getRanking().getConversationShortcutInfo().getLabel() != null) { in getName() 72 return entry.getRanking().getConversationShortcutInfo().getLabel().toString(); in getName()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 246 printJob.getLabel()); in computeNotificationTitle() 252 printJob.getLabel()); in computeNotificationTitle() 256 printJob.getLabel()); in computeNotificationTitle() 263 printJob.getLabel()); in computeNotificationTitle() 267 printJob.getLabel()); in computeNotificationTitle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutPicker.java | 79 info.getLabel()); in onCreatePreferences() 141 setTitle(context.getString(R.string.tuner_launch_app, info.getLabel())); in AppPreference() 142 setSummary(context.getString(R.string.tuner_app, info.getLabel())); in AppPreference()
|
D | LockscreenFragment.java | 182 public String getLabel() { in getLabel() method in LockscreenFragment.StaticShortcut 220 public String getLabel() { in getLabel() method in LockscreenFragment.App 221 return mInfo.getLabel().toString(); in getLabel() 248 public abstract String getLabel(); in getLabel() method in LockscreenFragment.Item 278 holder.title.setText(item.getLabel()); in onBindViewHolder()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | SystemActionPerformerTest.java | 146 if ((a.getId() == action.getId()) && (a.getLabel().equals(action.getLabel()))) { in assertHasLegacyAccessibilityAction() 158 if ((a.getId() == action.getId()) && (a.getLabel().equals(action.getLabel()))) { in assertHasNoLegacyAccessibilityAction()
|
/frameworks/base/core/tests/coretests/src/android/app/people/ |
D | PeopleManagerTest.java | 98 assertEquals(conversationChannel.getShortcutInfo().getLabel(), in testCorrectlyMapsToProxyConversationListener() 99 conversation.getShortcutInfo().getLabel()); in testCorrectlyMapsToProxyConversationListener()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedAttribution.java | 47 @StringRes int getLabel(); in getLabel() method
|
/frameworks/opt/localepicker/src/com/android/localepicker/ |
D | LocaleHelper.java | 225 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare() 226 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppListViewModel.kt | 134 val label = getLabel(record.app) 185 getLabel(record.app) in preFetchLabels() 189 private fun getLabel(app: ApplicationInfo) = labelMap.computeIfAbsent(app.packageName) { in <lambda>() method
|
/frameworks/base/core/java/android/flags/ |
D | Flag.java | 61 default String getLabel() { in getLabel() method
|
D | BooleanFlagBase.java | 63 public String getLabel() { in getLabel() method in BooleanFlagBase
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustment.java | 141 if (!TextUtils.equals(firstRemoteInput.getLabel(), secondRemoteInput.getLabel())) { in areDifferent()
|
D | KeyboardShortcuts.java | 112 boolean ksh1ShouldBeLast = ksh1.getLabel() == null 113 || ksh1.getLabel().toString().isEmpty(); 114 boolean ksh2ShouldBeLast = ksh2.getLabel() == null 115 || ksh2.getLabel().toString().isEmpty(); 125 return (ksh1.getLabel().toString()).compareToIgnoreCase( 126 ksh2.getLabel().toString()); 683 categoryTitle.setText(group.getLabel()); in populateKeyboardShortcuts() 710 shortcutKeyword.setText(info.getLabel()); in populateKeyboardShortcuts() 754 CharSequence contentDescription = info.getLabel(); in populateKeyboardShortcuts()
|
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/ |
D | DreamAccessibilityTest.java | 99 && TextUtils.equals(action.getLabel(), CUSTOM_ACTION))); in testConfigureAccessibilityActions() 126 && TextUtils.equals(action.getLabel(), CUSTOM_ACTION))); in testConfigureAccessibilityActions_RemovesExistingClickAction()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedAttributionTest.kt | 38 ParsedAttribution::getLabel,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardViewInfo.java | 50 CharSequence getLabel(); in getLabel() method
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityTarget.java | 96 holder.mLabelView.setText(getLabel()); in updateActionItem() 180 public CharSequence getLabel() { in getLabel() method in AccessibilityTarget
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ScrollingThroughListOfFocusablesTest.java | 114 mActivity.getLabelForPosition(1), peekingChild.getLabel()); in testScrollingDownInFirstItem() 207 assertEquals(mActivity.getLabelForPosition(0), view.getLabel()); in testNavigatingUpThroughInternalSelection()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleHelper.java | 260 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare() 261 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutListSearchTest.java | 141 when(info1.getLabel()).thenReturn("label"); in createKeyboardShortcutGroupForIconTests() 142 when(info2.getLabel()).thenReturn("label"); in createKeyboardShortcutGroupForIconTests()
|