HomeSort by relevance Sort by last modified time
    Searched refs:mDrawables (Results 1 - 14 of 14) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java 36 private ShapeDrawable[] mDrawables;
92 mDrawables = new ShapeDrawable[7];
93 mDrawables[0] = new ShapeDrawable(new RectShape());
94 mDrawables[1] = new ShapeDrawable(new OvalShape());
95 mDrawables[2] = new ShapeDrawable(new RoundRectShape(outerR, null,
97 mDrawables[3] = new ShapeDrawable(new RoundRectShape(outerR, inset,
99 mDrawables[4] = new ShapeDrawable(new RoundRectShape(outerR, inset,
101 mDrawables[5] = new ShapeDrawable(new PathShape(path, 100, 100));
102 mDrawables[6] = new MyShapeDrawable(new ArcShape(45, -270));
104 mDrawables[0].getPaint().setColor(0xFFFF0000)
    [all...]
ColorFilters.java 40 private Drawable[] mDrawables;
73 mDrawables = new Drawable[resIDs.length];
76 mDrawables[i] = context.getResources().getDrawable(resIDs[i]);
77 mDrawables[i].setDither(true);
78 addToTheRight(mDrawables[i], prev);
79 prev = mDrawables[i];
137 for (Drawable dr : mDrawables) {
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
CompositeDrawable.java 24 protected final List<T> mDrawables;
31 mDrawables = new ArrayList<T>(maxDivisions);
33 mDrawables.add(i, null);
56 T result = mDrawables.get(i);
60 mDrawables.set(i, result);
103 final T d = mDrawables.get(index);
113 mDrawables.get(i).draw(canvas);
120 mDrawables.get(i).setAlpha(alpha);
127 mDrawables.get(i).setColorFilter(cf);
135 if (mDrawables.get(i).getOpacity() != PixelFormat.OPAQUE)
    [all...]
AttachmentGridDrawable.java 87 mDrawables.get(i).setParallaxFraction(mParallaxFraction);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterBorder.java 35 private HashMap<Integer, Drawable> mDrawables = new HashMap<Integer, Drawable>();
51 mDrawables.clear();
79 mDrawables.clear();
84 Drawable drawable = mDrawables.get(rsc);
87 mDrawables.put(rsc, drawable);
  /frameworks/base/core/java/android/view/
ViewOverlay.java 127 ArrayList<Drawable> mDrawables = null;
138 if (mDrawables == null) {
140 mDrawables = new ArrayList<Drawable>();
142 if (!mDrawables.contains(drawable)) {
144 mDrawables.add(drawable);
151 if (mDrawables != null) {
152 mDrawables.remove(drawable);
191 if (mDrawables != null) {
192 mDrawables.clear();
198 (mDrawables == null || mDrawables.size() == 0))
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
DrawableContainer.java 477 Drawable[] mDrawables;
549 final Drawable[] origDr = orig.mDrawables;
550 mDrawables = new Drawable[origDr.length];
567 mDrawables = new Drawable[10];
580 if (pos >= mDrawables.length) {
587 mDrawables[pos] = dr;
601 return mDrawables.length;
609 mDrawables[index] = mDrawableFutures.valueAt(keyIndex).get(this);
627 return mDrawables;
631 final Drawable result = mDrawables[index]
    [all...]
  /packages/apps/Camera/src/com/android/camera/
CameraActivity.java 51 private Drawable[] mDrawables;
73 mDrawables = new Drawable[DRAW_IDS.length];
75 mDrawables[i] = getResources().getDrawable(DRAW_IDS[i]);
103 for (int i = 0; i < mDrawables.length; i++) {
  /frameworks/base/core/java/com/android/internal/widget/
WaveView.java 86 private ArrayList<DrawableHolder> mDrawables = new ArrayList<DrawableHolder>(3);
174 mDrawables.add(mUnlockRing);
182 mDrawables.add(mUnlockDefault);
190 mDrawables.add(mUnlockHalo);
406 for (int i = 0; i < mDrawables.size(); ++i) {
407 mDrawables.get(i).draw(canvas);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
DessertCaseView.java 91 private SparseArray<Drawable> mDrawables = new SparseArray<Drawable>(NUM_PASTRIES);
179 mDrawables.append(resid, d);
298 d = mDrawables.get(pick(XXRARE_PASTRIES));
300 d = mDrawables.get(pick(XRARE_PASTRIES));
302 d = mDrawables.get(pick(RARE_PASTRIES));
304 d = mDrawables.get(pick(PASTRIES));
  /frameworks/base/core/java/android/widget/
TextView.java 470 Drawables mDrawables;
    [all...]
Editor.java 330 Drawables dr = mTextView.mDrawables;
332 mTextView.mDrawables = dr = new Drawables(mTextView.getContext());
362 final Drawables dr = mTextView.mDrawables;
395 final Drawables dr = mTextView.mDrawables;
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
StopwatchFragment.java     [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneWindow.java 165 private DrawableFeatureState[] mDrawables;
    [all...]

Completed in 323 milliseconds