Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DMimeIconUtilsTest.java42 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/
DMediaSizeUtils.java131 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/
DTileTest.java40 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/
DMenuTargetsCallback.java58 if (!TextUtils.equals(mOldTargets.get(oldIndex).getLabel(), in areContentsTheSame()
59 mNewTargets.get(newIndex).getLabel())) { in areContentsTheSame()
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java94 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/
DNotificationChannelHelper.java71 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/
DNotificationController.java246 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/
DShortcutPicker.java79 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()
DLockscreenFragment.java182 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/
DSystemActionPerformerTest.java146 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/
DPeopleManagerTest.java98 assertEquals(conversationChannel.getShortcutInfo().getLabel(), in testCorrectlyMapsToProxyConversationListener()
99 conversation.getShortcutInfo().getLabel()); in testCorrectlyMapsToProxyConversationListener()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedAttribution.java47 @StringRes int getLabel(); in getLabel() method
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleHelper.java225 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/
DAppListViewModel.kt134 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/
DFlag.java61 default String getLabel() { in getLabel() method
DBooleanFlagBase.java63 public String getLabel() { in getLabel() method in BooleanFlagBase
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java141 if (!TextUtils.equals(firstRemoteInput.getLabel(), secondRemoteInput.getLabel())) { in areDifferent()
DKeyboardShortcuts.java112 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/
DDreamAccessibilityTest.java99 && 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/
DParsedAttributionTest.kt38 ParsedAttribution::getLabel,
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardViewInfo.java50 CharSequence getLabel(); in getLabel() method
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTarget.java96 holder.mLabelView.setText(getLabel()); in updateActionItem()
180 public CharSequence getLabel() { in getLabel() method in AccessibilityTarget
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DScrollingThroughListOfFocusablesTest.java114 mActivity.getLabelForPosition(1), peekingChild.getLabel()); in testScrollingDownInFirstItem()
207 assertEquals(mActivity.getLabelForPosition(0), view.getLabel()); in testNavigatingUpThroughInternalSelection()
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java260 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/
DKeyboardShortcutListSearchTest.java141 when(info1.getLabel()).thenReturn("label"); in createKeyboardShortcutGroupForIconTests()
142 when(info2.getLabel()).thenReturn("label"); in createKeyboardShortcutGroupForIconTests()

1234567