Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DMimeIconUtilsTest.java27 MimeIconUtils.getTypeInfo("image/png").getLabel()); in testSimple()
29 MimeIconUtils.getTypeInfo("image/x-custom").getLabel()); in testSimple()
32 MimeIconUtils.getTypeInfo("chemical/x-alchemy").getLabel()); in testSimple()
34 MimeIconUtils.getTypeInfo("x-custom/x-custom").getLabel()); in testSimple()
37 MimeIconUtils.getTypeInfo("inode/directory").getLabel()); in testSimple()
40 MimeIconUtils.getTypeInfo("application/zip").getLabel()); in testSimple()
42 MimeIconUtils.getTypeInfo("application/rar").getLabel()); in testSimple()
45 MimeIconUtils.getTypeInfo("text/plain").getLabel()); in testSimple()
47 MimeIconUtils.getTypeInfo("text/x-custom").getLabel()); in testSimple()
50 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/telecomm/java/android/telecom/
DStatusHints.java69 public CharSequence getLabel() { in getLabel() method in StatusHints
143 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.java177 public String getLabel() { in getLabel() method in LockscreenFragment.StaticShortcut
215 public String getLabel() { in getLabel() method in LockscreenFragment.App
216 return mInfo.getLabel().toString(); in getLabel()
243 public abstract String getLabel(); in getLabel() method in LockscreenFragment.Item
273 holder.title.setText(item.getLabel()); in onBindViewHolder()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java142 if ((a.getId() == action.getId()) && (a.getLabel().equals(action.getLabel()))) { in assertHasLegacyAccessibilityAction()
154 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/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/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTarget.java79 holder.mLabelView.setText(getLabel()); in updateActionItem()
143 public CharSequence getLabel() { in getLabel() method in AccessibilityTarget
DAccessibilityTargetHelper.java149 final boolean isSameLabel = activityTarget.getLabel().equals( in arePackageNameAndLabelTheSame()
150 serviceTarget.getLabel()); in arePackageNameAndLabelTheSame()
292 getServiceName(context, target.getLabel())); in createEnableDialogContentView()
306 getServiceName(context, target.getLabel()))); in createEnableDialogContentView()
DButtonTargetAdapter.java65 labelView.setText(target.getLabel()); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardViewInfo.java50 CharSequence getLabel(); in getLabel() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java141 if (!TextUtils.equals(firstRemoteInput.getLabel(), secondRemoteInput.getLabel())) { in areDifferent()
DKeyboardShortcuts.java108 boolean ksh1ShouldBeLast = ksh1.getLabel() == null
109 || ksh1.getLabel().toString().isEmpty();
110 boolean ksh2ShouldBeLast = ksh2.getLabel() == null
111 || ksh2.getLabel().toString().isEmpty();
121 return (ksh1.getLabel().toString()).compareToIgnoreCase(
122 ksh2.getLabel().toString());
613 categoryTitle.setText(group.getLabel()); in populateKeyboardShortcuts()
641 shortcutKeyword.setText(info.getLabel()); in populateKeyboardShortcuts()
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java240 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare()
241 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java171 boolean updateLabel = mTile.getLabel() == null in updateDefaultTileAndIcon()
172 || TextUtils.equals(mTile.getLabel(), mDefaultLabel); in updateDefaultTileAndIcon()
261 if (tile.getLabel() != null || overwriteNulls) { in applyTileState()
262 mTile.setLabel(tile.getLabel()); in applyTileState()
415 state.label = mTile.getLabel(); in handleUpdateState()
/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/accessibility/
DAccessibilityShortcutController.java331 targets.get(0).getLabel()); in getShortcutWarningTitle()
341 targets.get(0).getLabel()); in getShortcutWarningMessage()
347 target.getLabel())); in getShortcutWarningMessage()
372 return frameworkFeatureInfo.getLabel(mContext); in getShortcutFeatureDescription()
594 public String getLabel(Context context) { in getLabel() method in AccessibilityShortcutController.ToggleableFrameworkFeatureInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java60 CharSequence getLabel(DeviceAdminInfo info); in getLabel() method
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java35 CharSequence getLabel(T object); in getLabel() method
/frameworks/base/core/java/android/content/pm/permission/
DRuntimePermissionPresentationInfo.java89 public @NonNull CharSequence getLabel() { in getLabel() method in RuntimePermissionPresentationInfo
/frameworks/base/core/java/android/permission/
DRuntimePermissionPresentationInfo.java84 public @NonNull CharSequence getLabel() { in getLabel() method in RuntimePermissionPresentationInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DPermissionsSummaryHelper.java46 grantedStandardLabels.add(permission.getLabel()); in getPermissionSummary()

12345