Searched refs:mDrawables (Results 1 – 2 of 2) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShapeDrawable1.java | 36 private ShapeDrawable[] mDrawables; field in ShapeDrawable1.SampleView 92 mDrawables = new ShapeDrawable[7]; in SampleView() 93 mDrawables[0] = new ShapeDrawable(new RectShape()); in SampleView() 94 mDrawables[1] = new ShapeDrawable(new OvalShape()); in SampleView() 95 mDrawables[2] = new ShapeDrawable(new RoundRectShape(outerR, null, in SampleView() 97 mDrawables[3] = new ShapeDrawable(new RoundRectShape(outerR, inset, in SampleView() 99 mDrawables[4] = new ShapeDrawable(new RoundRectShape(outerR, inset, in SampleView() 101 mDrawables[5] = new ShapeDrawable(new PathShape(path, 100, 100)); in SampleView() 102 mDrawables[6] = new MyShapeDrawable(new ArcShape(45, -270)); in SampleView() 104 mDrawables[0].getPaint().setColor(0xFFFF0000); in SampleView() [all …]
|
D | ColorFilters.java | 40 private Drawable[] mDrawables; field in ColorFilters.SampleView 73 mDrawables = new Drawable[resIDs.length]; in SampleView() 76 mDrawables[i] = context.getResources().getDrawable(resIDs[i]); in SampleView() 77 mDrawables[i].setDither(true); in SampleView() 78 addToTheRight(mDrawables[i], prev); in SampleView() 79 prev = mDrawables[i]; in SampleView() 137 for (Drawable dr : mDrawables) { in drawSample()
|