Searched refs:bmpDrawable (Results 1 – 1 of 1) sorted by relevance
48 BitmapDrawable bmpDrawable = new BitmapDrawable(); in testClipDrawable() local49 new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testClipDrawable()109 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap); in testGetIntrinsicHeight() local110 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling in testGetIntrinsicHeight()111 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicHeight()123 BitmapDrawable bmpDrawable = new BitmapDrawable(bitmap); in testGetIntrinsicWidth() local124 bmpDrawable.setTargetDensity(bitmap.getDensity()); // avoid scaling in testGetIntrinsicWidth()125 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicWidth()175 BitmapDrawable bmpDrawable = new BitmapDrawable(); in testInflate() local176 ClipDrawable clipDrawable = new ClipDrawable(bmpDrawable, in testInflate()[all …]