Home
last modified time | relevance | path

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

123

/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/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/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java115 boolean updateLabel = mTile.getLabel() == null in updateDefaultTileAndIcon()
116 || TextUtils.equals(mTile.getLabel(), mDefaultLabel); in updateDefaultTileAndIcon()
185 mTile.setLabel(tile.getLabel()); in updateState()
325 state.label = mTile.getLabel(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationUiAdjustment.java134 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.java269 removePrefixForCompare(lhs.getLocale(), lhs.getLabel(mCountryMode)), in compare()
270 removePrefixForCompare(rhs.getLocale(), rhs.getLabel(mCountryMode))); in compare()
DAccessibilityButtonChooserActivity.java169 labelView.setText(target.getLabel()); in getView()
197 public CharSequence getLabel() { in getLabel() method in AccessibilityButtonChooserActivity.AccessibilityButtonTarget
/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/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java335 assertThat("Label should match app label", pg.getLabel().equals( in getActivityLabelAndSubLabel()
344 pg.getLabel().equals(info.setActivityLabel)); in getActivityLabelAndSubLabel()
357 assertThat("Label should match app label", pg.getLabel().equals( in getResolveInfoLabelAndSubLabel()
366 pg.getLabel().equals(info.setResolveInfoLabel)); in getResolveInfoLabelAndSubLabel()
/frameworks/base/core/java/android/content/pm/permission/
DRuntimePermissionPresentationInfo.java89 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/java/android/permission/
DRuntimePermissionPresentationInfo.java86 public @NonNull CharSequence getLabel() { in getLabel() method in RuntimePermissionPresentationInfo
/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java157 proto.write("label", MediaSizeProto.LABEL, mediaSize.getLabel(context.getPackageManager())); in writeMediaSize()
175 proto.write("label", ResolutionProto.LABEL, res.getLabel()); in writeResolution()
286 proto.write("label", PrintJobInfoProto.LABEL, printJobInfo.getLabel()); in writePrintJobInfo()
/frameworks/base/core/java/android/view/inputmethod/
DCompletionInfo.java130 public CharSequence getLabel() { in getLabel() method in CompletionInfo
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java91 public CharSequence getLabel() { in getLabel() method in LauncherActivityInfo
/frameworks/base/core/java/android/view/
DKeyboardShortcutGroup.java90 public CharSequence getLabel() { in getLabel() method in KeyboardShortcutGroup
DKeyboardShortcutInfo.java104 public CharSequence getLabel() { in getLabel() method in KeyboardShortcutInfo
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java88 public String getLabel() { in getLabel() method in KeyboardLayout
/frameworks/base/core/java/android/webkit/
DDateSorter.java102 public String getLabel(int index) { in getLabel() method in DateSorter
/frameworks/base/core/java/android/service/quicksettings/
DTile.java141 public CharSequence getLabel() { in getLabel() method in Tile

123