Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DAnimateDrawables.java46 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()
DAnimateDrawable.java57 Drawable dr = getProxy(); in draw() local
58 if (dr != null) { in draw()
67 dr.draw(canvas); in draw()
DShapeDrawable1.java128 for (Drawable dr : mDrawables) { in onDraw()
129 dr.setBounds(x, y, x + width, y + height); in onDraw()
130 dr.draw(canvas); in onDraw()
DColorFilters.java137 for (Drawable dr : mDrawables) { in drawSample()
138 dr.setColorFilter(filter); in drawSample()
139 dr.draw(canvas); in drawSample()
DColorMatrixSample.java46 private static void setTranslate(ColorMatrix cm, float dr, float dg, in setTranslate() argument
49 2, 0, 0, 0, dr, in setTranslate()
DBitmapPixels.java94 int dr = ((getR32(to) << 23) - r) / (n - 1); in makeRamp() local
104 r += dr; in makeRamp()
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java113 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()