Home
last modified time | relevance | path

Searched refs:badge (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java58 private FolderAdaptiveIcon(Drawable bg, Drawable fg, Drawable badge, Path mask) { in FolderAdaptiveIcon() argument
60 mBadge = badge; in FolderAdaptiveIcon()
64 badge.getConstantState(), mask); in FolderAdaptiveIcon()
93 Picture badge = new Picture(); in createFolderAdaptiveIcon() local
96 Canvas badgeCanvas = badge.beginRecording(requestedSize, requestedSize); in createFolderAdaptiveIcon()
122 badge.endRecording(); in createFolderAdaptiveIcon()
136 new BitmapRendererDrawable(c -> c.drawPicture(badge)), in createFolderAdaptiveIcon()
183 MyConstantState(ConstantState bg, ConstantState fg, ConstantState badge, Path mask) { in MyConstantState() argument
186 mBadge = badge; in MyConstantState()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DBadgeTextView.kt80 val badge = badgeDrawable ?: return in onMeasure() constant
81 if (badge.intrinsicWidth <= paddingEnd) return in onMeasure()
87 if (sideSpace < badge.intrinsicWidth) { in onMeasure()
91 paddingEnd + badge.intrinsicWidth - sideSpace.toInt(), in onMeasure()
DScrollableImagePreviewView.kt434 private val badge = view.requireViewById<ImageView>(R.id.badge) in <lambda>() constant
464 badge.setImageResource(R.drawable.ic_file_video) in <lambda>()
469 badge.setImageResource(R.drawable.chooser_file_generic) in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java232 QuickContactBadge badge, in loadDialerThumbnailOrPhoto() argument
238 badge.assignContactUri(contactUri); in loadDialerThumbnailOrPhoto()
239 badge.setOverlay(null); in loadDialerThumbnailOrPhoto()
241 badge.setContentDescription( in loadDialerThumbnailOrPhoto()
242 badge.getContext().getString(R.string.description_quick_contact_for, displayName)); in loadDialerThumbnailOrPhoto()
249 loadDirectoryPhoto(badge, photoUri, false /* darkTheme */, true /* isCircular */, request); in loadDialerThumbnailOrPhoto()
251 loadThumbnail(badge, photoId, false /* darkTheme */, true /* isCircular */, request); in loadDialerThumbnailOrPhoto()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/
DGlidePhotoManagerImpl.java58 public void loadQuickContactBadge(QuickContactBadge badge, PhotoInfo photoInfo) { in loadQuickContactBadge() argument
60 badge.assignContactUri( in loadQuickContactBadge()
64 badge.setOverlay(null); in loadQuickContactBadge()
65 loadContactPhoto(badge, photoInfo); in loadQuickContactBadge()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java95 private void loadContactPhoto(ContactInfo info, String displayName, QuickContactBadge badge) { in loadContactPhoto() argument
104 badge.assignContactUri(info.lookupUri); in loadContactPhoto()
105 badge.setContentDescription( in loadContactPhoto()
108 badge, info.photoUri, false /* darkTheme */, true /* isCircular */, request); in loadContactPhoto()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java298 Drawable badge = null; in getIconResult() local
326 badge = fullIcon.second; in getIconResult()
340 outIconLoadResult.badge = badge; in getIconResult()
358 private void setIcon(@Nullable Drawable drawable, @Nullable Drawable badge, in setIcon() argument
363 mBadge = badge; in setIcon()
429 setIcon(mIconLoadResult.drawable, mIconLoadResult.badge, in checkIconResult()
439 setIcon(mIconLoadResult.drawable, mIconLoadResult.badge, in checkIconResult()
723 Drawable badge; field in FloatingIconView.IconLoadResult
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java596 Drawable badge = null; in getFullDrawable() local
598 badge = iiwi.bitmap.getBadgeDrawable(context, useTheme); in getFullDrawable()
624 if (info.id != ItemInfo.NO_ID && badge == null) { in getFullDrawable()
625 badge = appState.getIconCache().getShortcutInfoBadge(si) in getFullDrawable()
636 badge = icon.getBadge(); in getFullDrawable()
680 if (badge == null) { in getFullDrawable()
681 badge = BitmapInfo.LOW_RES_INFO.withFlags( in getFullDrawable()
686 if (badge == null) { in getFullDrawable()
687 badge = new ColorDrawable(Color.TRANSPARENT); in getFullDrawable()
690 return Pair.create(result, badge); in getFullDrawable()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java325 public void badgeWithDrawable(Bitmap target, Drawable badge) { in badgeWithDrawable() argument
327 badgeWithDrawable(mCanvas, badge); in badgeWithDrawable()
334 public void badgeWithDrawable(Canvas target, Drawable badge) { in badgeWithDrawable() argument
337 badge.setBounds(0, mIconBitmapSize - badgeSize, badgeSize, mIconBitmapSize); in badgeWithDrawable()
339 badge.setBounds(mIconBitmapSize - badgeSize, mIconBitmapSize - badgeSize, in badgeWithDrawable()
342 badge.draw(target); in badgeWithDrawable()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnViewHolder.java90 void setProfileBadge(Drawable badge) { in setProfileBadge() argument
91 mProfileBadge.setImageDrawable(badge); in setProfileBadge()
92 mProfileBadge.setVisibility(badge != null ? View.VISIBLE : View.GONE); in setProfileBadge()
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewItemManagerTest.kt186 ((drawingParams.drawable as FastBitmapDrawable).badge as UserBadgeDrawable).mIsThemed in checkThemedIconWithBadgeWithThemingOn_iconAndBadgeShouldBeThemed()
199 ((drawingParams.drawable as FastBitmapDrawable).badge as UserBadgeDrawable).mIsThemed in checkUnthemedIconWithBadgeWithThemingOn_badgeShouldBeThemed()
212 !((drawingParams.drawable as FastBitmapDrawable).badge as UserBadgeDrawable).mIsThemed in checkUnthemedIconWithBadgeWithThemingOff_iconAndBadgeShouldNotBeThemed()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java722 ImageView badge = holder.itemView.findViewById(R.id.indicator_icon); in showBadge() local
728 (RelativeLayout.LayoutParams) badge.getLayoutParams(); in showBadge()
731 badge.setLayoutParams(layoutParams); in showBadge()
732 badge.setBackgroundResource(icon); in showBadge()
733 badge.setVisibility(View.VISIBLE); in showBadge()
735 badge.setVisibility(View.GONE); in showBadge()
DIndividualPickerFragment2.kt947 val badge = holder.itemView.requireViewById<ImageView>(R.id.indicator_icon) in <lambda>() constant
956 val layoutParams = badge.layoutParams as RelativeLayout.LayoutParams in <lambda>()
958 badge.layoutParams = layoutParams in <lambda>()
959 badge.setBackgroundResource(icon) in <lambda>()
960 badge.visibility = View.VISIBLE in <lambda>()
962 badge.visibility = View.GONE in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/
DGlidePhotoManager.java33 void loadQuickContactBadge(QuickContactBadge badge, PhotoInfo photoInfo); in loadQuickContactBadge() argument
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarItem.kt29 var badge: Bitmap, variable in com.android.launcher3.taskbar.bubbles.BubbleBarBubble
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto579 // (e.g. "onto ", "Wallaby way") and images (e.g. road badge of a highway).
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnl_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dfr_wordlist.combined.gz