Home
last modified time | relevance | path

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

1234

/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()
DDisconnectCause.java181 public CharSequence getLabel() { in getLabel() method in DisconnectCause
263 && Objects.equals(mDisconnectLabel, d.getLabel()) in equals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java71 if (entry.getRanking().getShortcutInfo().getLabel() != null) { in getName()
72 return entry.getRanking().getShortcutInfo().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/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTargetHelper.java147 final boolean isSameLabel = activityTarget.getLabel().equals( in arePackageNameAndLabelTheSame()
148 serviceTarget.getLabel()); in arePackageNameAndLabelTheSame()
268 getServiceName(context, target.getLabel())); in createEnableDialogContentView()
282 getServiceName(context, target.getLabel()))); in createEnableDialogContentView()
DAccessibilityTarget.java76 holder.mLabelView.setText(getLabel()); in updateActionItem()
130 public CharSequence getLabel() { in getLabel() method in AccessibilityTarget
DButtonTargetAdapter.java65 labelView.setText(target.getLabel()); in getView()
/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/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/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/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java125 boolean updateLabel = mTile.getLabel() == null in updateDefaultTileAndIcon()
126 || TextUtils.equals(mTile.getLabel(), mDefaultLabel); in updateDefaultTileAndIcon()
195 mTile.setLabel(tile.getLabel()); in updateState()
341 state.label = mTile.getLabel(); in handleUpdateState()
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java269 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare()
270 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java311 targets.get(0).getLabel()); in getShortcutWarningTitle()
321 targets.get(0).getLabel()); in getShortcutWarningMessage()
327 target.getLabel())); in getShortcutWarningMessage()
352 return frameworkFeatureInfo.getLabel(mContext); in getShortcutFeatureDescription()
574 public String getLabel(Context context) { in getLabel() method in AccessibilityShortcutController.ToggleableFrameworkFeatureInfo
/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/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.java86 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()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java186 assertEquals(label, result.getLabel()); in testParcelLegacy()
254 assertEquals(classification.getLabel(), fromBuilder.getLabel()); in testToBuilder()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java233 assertEquals(td1.getLabel(), td2.getLabel()); in assertTaskDescriptionEqual()

1234