/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
D | ContactPhotoLoader.java | 54 private static Bitmap drawableToBitmap(Drawable drawable, int width, int height) { in drawableToBitmap() 71 Drawable drawable = createPhotoIconDrawable(); in getIcon() local 104 final RoundedBitmapDrawable drawable = in createPhotoIconDrawable() local 119 LetterTileDrawable drawable = new LetterTileDrawable(context.getResources()); in createLetterTileDrawable() local
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | TransitionScreenWrapper.java | 32 public final @RawRes int drawable; field in TransitionScreenWrapper 41 TransitionScreenWrapper(LazyStringResource header, @RawRes int drawable) { in TransitionScreenWrapper() 45 TransitionScreenWrapper(@StringRes int headerId, @RawRes int drawable) { in TransitionScreenWrapper() 52 @RawRes int drawable, in TransitionScreenWrapper() 70 @RawRes int drawable, in TransitionScreenWrapper() 73 drawable, shouldLoop); in TransitionScreenWrapper() local 79 int drawable, in TransitionScreenWrapper() 150 public Builder setAnimation(int drawable) { in setAnimation()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | DrawableUtil.java | 34 public static Icon createIconFromDrawable(Drawable drawable) { in createIconFromDrawable() 41 public static Bitmap createBitmapFromDrawable(Drawable drawable) { in createBitmapFromDrawable() 55 private static Bitmap createBitmap(Drawable drawable, int width, int height) { in createBitmap()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | DrawableConverter.java | 37 public static Bitmap drawableToBitmap(@Nullable Drawable drawable) { in drawableToBitmap() 48 public static Bitmap drawableToBitmap(@Nullable Drawable drawable, int width, int height) { in drawableToBitmap() 89 RoundedBitmapDrawable drawable = in getRoundedDrawable() local
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtilsTest.java | 38 Drawable drawable = context.getDrawable(R.drawable.test_icon_2); in setSafeIcon_smallerThanLimit() local 53 Drawable drawable = context.getDrawable(R.drawable.test_icon_2); in setSafeIcon_largerThanLimit() local 68 Drawable drawable = context.getDrawable(R.drawable.test_icon); in setSafeIcon_noChangeForVectorDrawable() local
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallTypeIconsView.java | 86 final Drawable drawable = getCallTypeDrawable(callType); in add() local 205 final Drawable drawable = getCallTypeDrawable(callType); in onDraw() local 235 private int addDrawable(Canvas canvas, Drawable drawable, int left) { in addDrawable() 291 Drawable drawable = largeIcons ? r.getDrawable(iconId) : getScaledBitmap(context, iconId); in Resources() local 350 Drawable drawable = context.getDrawable(resourceId); in getScaledBitmap() local
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | TintDrawableWrapper.java | 36 public TintDrawableWrapper(Drawable drawable, ColorStateList tintStateList) { in TintDrawableWrapper() 39 public TintDrawableWrapper(Drawable drawable, ColorStateList tintStateList, in TintDrawableWrapper()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BluetoothDevicesSlice.java | 222 final Drawable drawable = pair.first; in getBluetoothDeviceIcon() local 234 final Drawable drawable = mContext.getDrawable(R.drawable.ic_bluetooth_disabled); in getBluetoothOffHeader() local 256 final Drawable drawable = mContext.getDrawable( in getBluetoothOnHeader() local 274 final Drawable drawable = mContext.getDrawable(R.drawable.ic_add_24dp); in getPairNewDeviceAction() local
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewFragment.java | 77 final Drawable drawable = getDrawable(); in stopGif() local 84 final Drawable drawable = getDrawable(); in startGif() local
|
D | BuglePhotoBitmapLoader.java | 91 final Drawable drawable = result != null ? result.drawable : null; in deliverResult() local 163 private void releaseDrawable(Drawable drawable) { in releaseDrawable()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | CarVolumeItem.java | 73 public void setPrimaryIcon(Drawable drawable) { in setPrimaryIcon() 78 public void setPrimaryMuteIcon(Drawable drawable) { in setPrimaryMuteIcon() 83 public void setSupplementalIcon(Drawable drawable, boolean showSupplementalIconDivider) { in setSupplementalIcon()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PlaceholderInsetDrawable.java | 43 public static PlaceholderInsetDrawable fromDrawable(final Drawable drawable, in fromDrawable() 55 private PlaceholderInsetDrawable(final Drawable drawable, final int insetLeft, in PlaceholderInsetDrawable()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | FloatingWidgetBackgroundView.java | 157 private static float getMaxRadius(@Nullable Drawable drawable) { in getMaxRadius() 167 private static boolean isSupportedDrawable(Drawable drawable) { in isSupportedDrawable() 194 void init(Drawable drawable) { in init()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeGeneratorFragmentTest.java | 132 Drawable drawable = mock(Drawable.class); in createNearbyButtonFromSetting_notNull() local 155 Drawable drawable = mock(Drawable.class); in createNearbyButtonFromConfig_notNull() local
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/ |
D | UserIconProvider.java | 88 public Drawable getDrawableWithBadge(Context context, Drawable drawable) { in getDrawableWithBadge() 92 private static Drawable addBadge(Context context, Drawable drawable, @UserIdInt int userId) { in addBadge()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | IconUtilsTest.java | 81 Drawable drawable = mock(Drawable.class); in testLoadPackageIcon() local 105 Drawable drawable = mock(Drawable.class); in testLoadPackageIcon_maybeShowBadge() local
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | CenterAlignedDynamicDrawableSpan.java | 74 Drawable drawable = getDrawable(); in draw() local 92 Drawable drawable = mContext.getDrawable(mResourceId); in getDrawable() local
|
D | FrameLayoutWithShadows.java | 111 public void setDrawableBottom(Drawable drawable) { in setDrawableBottom() 244 Drawable drawable = ((ImageView) view).getDrawable(); in layoutShadows() local 332 ShapeDrawable drawable = new ShapeDrawable(); in setShadowViewUnderline() local 339 public void setShadowViewUnderline(View shadowView, Drawable drawable) { in setShadowViewUnderline()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | TargetPresentationGetter.java | 100 Drawable drawable = null; in getIconBitmap() local 193 Drawable drawable = null; in getIconSubstituteInternal() local 240 Drawable drawable = null; in getIconSubstituteInternal() local
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/ |
D | KotlinUtilsTest.kt | 54 val drawable = BitmapDrawable(targetContext.resources, bitmap) in <lambda>() constant 61 val drawable = FakeDrawable(intrinsicSize = 0) in <lambda>() constant
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterBorder.java | 60 Drawable drawable = getDrawable(getParameters().getDrawableResource()); in applyHelper() local 84 Drawable drawable = mDrawables.get(rsc); in getDrawable() local
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothBroadcastSourcePreference.java | 78 final Drawable drawable = getContext().getDrawable(RESOURCE_ID_ICON); in initUi() local 91 Drawable drawable; in updateStatusButton() local
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSlice.java | 340 final Drawable drawable = mContext.getDrawable(R.drawable.ic_settings_ethernet); in createEthernetRow() local 380 final Drawable drawable = mContext.getDrawable(R.drawable.ic_arrow_forward); in getSeeAllIcon() local 401 final Drawable drawable = mContext.getDrawable( in getWifiSliceItemLevelIcon() local
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | GridDirectoryHolder.java | 80 Drawable drawable = dpm.getResources().getDrawable(WORK_PROFILE_ICON, SOLID_COLORED, () -> in setUpdatableWorkProfileIcon() local 109 Drawable drawable = userIdToBadgeMap.get(UserId.of(userIdIdentifier)); in bindProfileIcon() local
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | LauncherDragController.java | 56 protected DragView startDrag( in startDrag() 172 float getWidgetDragScalePx(@Nullable Drawable drawable, @Nullable View view, in getWidgetDragScalePx()
|