Searched refs:dr (Results 1 – 7 of 7) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | AnimateDrawables.java | 46 Drawable dr = context.getResources().getDrawable(R.drawable.beach); in SampleView() local 47 dr.setBounds(0, 0, dr.getIntrinsicWidth(), dr.getIntrinsicHeight()); in SampleView() 54 mDrawable = new AnimateDrawable(dr, an); in SampleView()
|
D | AnimateDrawable.java | 57 Drawable dr = getProxy(); in draw() local 58 if (dr != null) { in draw() 67 dr.draw(canvas); in draw()
|
D | ShapeDrawable1.java | 128 for (Drawable dr : mDrawables) { in onDraw() 129 dr.setBounds(x, y, x + width, y + height); in onDraw() 130 dr.draw(canvas); in onDraw()
|
D | ColorFilters.java | 137 for (Drawable dr : mDrawables) { in drawSample() 138 dr.setColorFilter(filter); in drawSample() 139 dr.draw(canvas); in drawSample()
|
D | ColorMatrixSample.java | 46 private static void setTranslate(ColorMatrix cm, float dr, float dg, in setTranslate() argument 49 2, 0, 0, 0, dr, in setTranslate()
|
D | BitmapPixels.java | 94 int dr = ((getR32(to) << 23) - r) / (n - 1); in makeRamp() local 104 r += dr; in makeRamp()
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
D | NinePatchLab.java | 113 private void setDrawableFlags(Drawable dr) { in setDrawableFlags() argument 114 dr.setDither(mDoDither); in setDrawableFlags() 115 dr.setFilterBitmap(mDoFilter); in setDrawableFlags() 139 for (Drawable dr : mButtons) { in onDraw() 140 dr.setBounds(0, 0, drWidth, drHeight); in onDraw() 141 setDrawableFlags(dr); in onDraw() 142 dr.draw(canvas); in onDraw()
|