Home
last modified time | relevance | path

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

123456

/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/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/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAppUtilsTest.java39 Drawable drawable = context.getDrawable(R.drawable.test_icon); in setSafeIcon_smallerThanLimit() local
55 Drawable drawable = context.getDrawable(R.drawable.test_icon); in setSafeIcon_largerThanLimit() 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/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/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/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/Launcher3/src/com/android/launcher3/graphics/
DDrawableFactory.java59 FastBitmapDrawable drawable = info.usingLowResIcon() in newIcon() local
105 Drawable drawable = context.getPackageManager().getUserBadgedDrawableForDensity( in getUserBadge() local
/packages/apps/ThemePicker/src/com/android/customization/widget/
DNoTintDrawableWrapper.java14 public NoTintDrawableWrapper(Drawable drawable) { in NoTintDrawableWrapper()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DNormalizedIconLoader.java70 protected Drawable createBadgedDrawable(Drawable drawable, int userId, TaskDescription desc) { in createBadgedDrawable()
75 private BitmapInfo getBitmapInfo(Drawable drawable, int userId, in getBitmapInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java206 final BitmapDrawable drawable = new BitmapDrawable(mContext.getResources(), bitmap); in createIconWithDrawable_BitmapDrawable() local
215 final ColorDrawable drawable = new ColorDrawable(Color.BLACK); in createIconWithDrawable_ColorDrawable() local
224 final VectorDrawable drawable = VectorDrawable.create(mContext.getResources(), in createIconWithDrawable_VectorDrawable() local
/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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DRefcountBitmapDrawable.java41 public RefcountBitmapDrawable(Resources res, RefcountBitmapDrawable drawable) { in RefcountBitmapDrawable() method in RefcountBitmapDrawable
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DIconView.java89 final Drawable drawable = mDrawable; in drawableStateChanged() local
97 public void invalidateDrawable(@NonNull Drawable drawable) { in invalidateDrawable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppPrefLoaderTest.java72 final Drawable drawable = mock(Drawable.class); in loadInBackground_shouldReturnPreference() local
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/
DPageMarginDrawable.java34 public PageMarginDrawable(Drawable drawable, int insetLeft, int insetTop, in PageMarginDrawable()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethodcommon/
DInputMethodSettingsInterface.java62 public void setSubtypeEnablerIcon(Drawable drawable); in setSubtypeEnablerIcon()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/widget/
DPlaceholderImageView.java38 public void setImageDrawable(@Nullable Drawable drawable) { in setImageDrawable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DSecondaryUserControllerTest.java202 final UserIconDrawable drawable = mock(UserIconDrawable.class); in iconCallbackChangesPreferenceIcon() local
220 final UserIconDrawable drawable = mock(UserIconDrawable.class); in setIcon_doesntNpeOnNullPreference() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
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/apps/LegacyCamera/src/com/android/camera/ui/
DRotateImageView.java93 Drawable drawable = getDrawable(); in onDraw() local
160 Drawable drawable; in setBitmap() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserInfoController.java129 Drawable drawable = null; in createDialog() local
200 ImageView userPhotoView, Drawable drawable) { in createEditUserPhotoController()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserInfoController.java129 Drawable drawable = null; in createDialog() local
200 ImageView userPhotoView, Drawable drawable) { in createEditUserPhotoController()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java96 Drawable drawable = LogoUtils.getOrganisationLogo(getContext(), SAMPLE_COLOR); in testSaveGetOrganisationLogo() local
137 private Bitmap bitmapFromDrawable(Drawable drawable) { in bitmapFromDrawable()

123456