Searched refs:bitmapDrawable (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CircularImageView.java | 61 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/ |
D | AppCompatProgressBarHelper.java | 97 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/ |
D | IconUtilities.java | 115 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/ |
D | DetailsFragmentTest.java | 150 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()
|
D | DetailsSupportFragmentTest.java | 153 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/ |
D | BackgroundManager.java | 937 BitmapDrawable bitmapDrawable = new BitmapDrawable(mContext.getResources(), bitmap, matrix); in setBitmap() local 939 setDrawable(bitmapDrawable); in setBitmap()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2522 BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable; in getBadgedDrawable() local 2523 mergedDrawable.setTargetDensity(bitmapDrawable.getBitmap().getDensity()); in getBadgedDrawable()
|