Home
last modified time | relevance | path

Searched defs:drawable (Results 1 – 25 of 215) sorted by relevance

123456789

/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactPhotoLoader.java54 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/
DTransitionScreenWrapper.java32 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/
DDrawableUtil.java34 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/
DDrawableConverter.java37 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/
DDefaultAppUtilsTest.java38 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/
DCallTypeIconsView.java86 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/
DTintDrawableWrapper.java36 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/
DBluetoothDevicesSlice.java222 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/
DBuglePhotoViewFragment.java77 final Drawable drawable = getDrawable(); in stopGif() local
84 final Drawable drawable = getDrawable(); in startGif() local
DBuglePhotoBitmapLoader.java91 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/
DCarVolumeItem.java73 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/
DPlaceholderInsetDrawable.java43 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/
DFloatingWidgetBackgroundView.java157 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/
DWifiDppQrCodeGeneratorFragmentTest.java132 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/
DUserIconProvider.java88 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/
DIconUtilsTest.java81 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/
DCenterAlignedDynamicDrawableSpan.java74 Drawable drawable = getDrawable(); in draw() local
92 Drawable drawable = mContext.getDrawable(mResourceId); in getDrawable() local
DFrameLayoutWithShadows.java111 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/
DTargetPresentationGetter.java100 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/
DKotlinUtilsTest.kt54 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/
DImageFilterBorder.java60 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/
DBluetoothBroadcastSourcePreference.java78 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/
DProviderModelSlice.java340 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/
DGridDirectoryHolder.java80 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/
DLauncherDragController.java56 protected DragView startDrag( in startDrag()
172 float getWidgetDragScalePx(@Nullable Drawable drawable, @Nullable View view, in getWidgetDragScalePx()

123456789