Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/view/
DStaticPointerIconButton.java52 final BitmapDrawable bitmapDrawable = (BitmapDrawable) d; in onResolvePointerIcon() local
55 mCustomIcon = PointerIcon.create(bitmapDrawable.getBitmap(), hotSpotX, hotSpotY); in onResolvePointerIcon()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java230 BitmapDrawable bitmapDrawable = listViewItemDrawables.get(itemId); in addRow()
232 bitmapDrawable.setBounds(startBounds); in addRow()
238 ObjectAnimator animation = ObjectAnimator.ofObject(bitmapDrawable, in addRow()
258 mCellBitmapDrawables.add(bitmapDrawable); in addRow()
298 for (BitmapDrawable bitmapDrawable: mCellBitmapDrawables) { in dispatchDraw()
299 bitmapDrawable.draw(canvas); in dispatchDraw()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java103 private BitmapDrawable bitmapWithBorder(BitmapDrawable bitmapDrawable) { in bitmapWithBorder() argument
104 Bitmap bitmapWithBorder = Bitmap.createBitmap(bitmapDrawable.getIntrinsicWidth() + in bitmapWithBorder()
105 ANTIALIAS_BORDER * 2, bitmapDrawable.getIntrinsicHeight() + ANTIALIAS_BORDER * 2, in bitmapWithBorder()
108 canvas.drawBitmap(bitmapDrawable.getBitmap(), ANTIALIAS_BORDER, ANTIALIAS_BORDER, null); in bitmapWithBorder()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java248 BitmapDrawable bitmapDrawable = new BitmapDrawable(getResources(), pixelatedBitmap); in builtInPixelization() local
249 bitmapDrawable.setFilterBitmap(false); in builtInPixelization()
250 return bitmapDrawable; in builtInPixelization()