Home
last modified time | relevance | path

Searched refs:bitmapDrawable (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java61 BitmapDrawable bitmapDrawable = null; in onDraw() local
65 bitmapDrawable = (BitmapDrawable) drawable.getCurrent(); in onDraw()
68 bitmapDrawable = (BitmapDrawable) drawable; in onDraw()
71 if (bitmapDrawable == null) { in onDraw()
74 Bitmap bitmap = bitmapDrawable.getBitmap(); in onDraw()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatProgressBarHelper.java97 final BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in tileify() local
98 final Bitmap tileBitmap = bitmapDrawable.getBitmap(); in tileify()
107 shapeDrawable.getPaint().setColorFilter(bitmapDrawable.getPaint().getColorFilter()); in tileify()
/frameworks/base/services/core/java/com/android/server/policy/
DIconUtilities.java115 BitmapDrawable bitmapDrawable = (BitmapDrawable) icon; in createIconBitmap() local
116 Bitmap bitmap = bitmapDrawable.getBitmap(); in createIconBitmap()
118 bitmapDrawable.setTargetDensity(mDisplayMetrics); in createIconBitmap()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DDetailsFragmentTest.java150 final FitWidthBitmapDrawable bitmapDrawable = (FitWidthBitmapDrawable) in parallaxTest() local
172 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
179 bitmapDrawable.getBounds().height()); in parallaxTest()
180 assertEquals(0, bitmapDrawable.getVerticalOffset()); in parallaxTest()
195 return bitmapDrawable.getVerticalOffset() == PARALLAX_VERTICAL_OFFSET in parallaxTest()
204 assertEquals(0, bitmapDrawable.getBounds().top); in parallaxTest()
205 assertEquals(Math.max(detailsFrameRect.top, 0), bitmapDrawable.getBounds().bottom); in parallaxTest()
206 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
DDetailsSupportFragmentTest.java153 final FitWidthBitmapDrawable bitmapDrawable = (FitWidthBitmapDrawable) in parallaxTest() local
175 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
182 bitmapDrawable.getBounds().height()); in parallaxTest()
183 assertEquals(0, bitmapDrawable.getVerticalOffset()); in parallaxTest()
198 return bitmapDrawable.getVerticalOffset() == PARALLAX_VERTICAL_OFFSET in parallaxTest()
207 assertEquals(0, bitmapDrawable.getBounds().top); in parallaxTest()
208 assertEquals(Math.max(detailsFrameRect.top, 0), bitmapDrawable.getBounds().bottom); in parallaxTest()
209 assertEquals(windowWidth, bitmapDrawable.getBounds().width()); in parallaxTest()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java937 BitmapDrawable bitmapDrawable = new BitmapDrawable(mContext.getResources(), bitmap, matrix); in setBitmap() local
939 setDrawable(bitmapDrawable); in setBitmap()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2522 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in getBadgedDrawable() local
2523 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()