Home
last modified time | relevance | path

Searched refs:ShapeDrawable (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
DCircleImageView.java25 import android.graphics.drawable.ShapeDrawable;
60 ShapeDrawable circle; in CircleImageView()
62 circle = new ShapeDrawable(new OvalShape()); in CircleImageView()
66 circle = new ShapeDrawable(oval); in CircleImageView()
122 if (getBackground() instanceof ShapeDrawable) { in setBackgroundColor()
123 ((ShapeDrawable) getBackground()).getPaint().setColor(color); in setBackgroundColor()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java70 public class ShapeDrawable extends Drawable { class
78 public ShapeDrawable() { in ShapeDrawable() method in ShapeDrawable
87 public ShapeDrawable(Shape s) { in ShapeDrawable() method in ShapeDrawable
384 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ShapeDrawable); in inflate()
417 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ShapeDrawable); in applyTheme()
558 return new ShapeDrawable(this, null); in newDrawable()
563 return new ShapeDrawable(this, res); in newDrawable()
576 private ShapeDrawable(ShapeState state, Resources res) { in ShapeDrawable() method in ShapeDrawable
DPaintDrawable.java30 public class PaintDrawable extends ShapeDrawable {
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java32 import android.graphics.drawable.ShapeDrawable;
67 final ShapeDrawable popbg = new ShapeDrawable(new OvalShape()); in makeRipple()
139 final ShapeDrawable highlight = new ShapeDrawable(new OvalShape()); in onAttachedToWindow()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintRatingBar.java28 import android.graphics.drawable.ShapeDrawable;
112 final ShapeDrawable shapeDrawable = new ShapeDrawable(getDrawableShape()); in tileify()
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd196 android.graphics.drawable.ShapeDrawable}, {@link android.graphics.drawable.PictureDrawable},
335 android.graphics.drawable.ShapeDrawable}
336 object will probably suit your needs. With a ShapeDrawable, you can programmatically draw
339 <p>A ShapeDrawable is an extension of {@link android.graphics.drawable.Drawable}, so you can use
346 Because the ShapeDrawable has its own <code>draw()</code> method, you can create a subclass of
348 draws the ShapeDrawable during the <code>View.onDraw()</code> method.
349 Here's a basic extension of the View class that does just this, to draw a ShapeDrawable as a
353 private ShapeDrawable mDrawable;
363 mDrawable = new ShapeDrawable(new OvalShape());
374 <p>In the constructor, a ShapeDrawable is defines as an {@link
[all …]
/frameworks/base/core/java/android/widget/
DProgressBar.java38 import android.graphics.drawable.ShapeDrawable;
438 final ShapeDrawable shapeDrawable = new ShapeDrawable(getDrawableShape()); in tileify()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java41 import android.graphics.drawable.ShapeDrawable;
2698 public static class HorizontalLineDrawable extends ShapeDrawable {
2770 public static class ColorPaletteDrawable extends ShapeDrawable {
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd53 Creates a {@link android.graphics.drawable.ShapeDrawable}.</dd>
1728 <li>{@link android.graphics.drawable.ShapeDrawable}</li>
/frameworks/base/
Dpreloaded-classes753 android.graphics.drawable.ShapeDrawable
754 android.graphics.drawable.ShapeDrawable$ShapeState
/frameworks/base/docs/html/
Dsitemap.txt2601 http://developer.android.com/reference/android/graphics/drawable/ShapeDrawable.html
2602 http://developer.android.com/reference/android/graphics/drawable/ShapeDrawable.ShaderFactory.html
/frameworks/base/api/
Dsystem-current.txt12201 public class PaintDrawable extends android.graphics.drawable.ShapeDrawable {
12260 public class ShapeDrawable extends android.graphics.drawable.Drawable {
12261 ctor public ShapeDrawable();
12262 ctor public ShapeDrawable(android.graphics.drawable.shapes.Shape);
12266 method public android.graphics.drawable.ShapeDrawable.ShaderFactory getShaderFactory();
12276 method public void setShaderFactory(android.graphics.drawable.ShapeDrawable.ShaderFactory);
12280 public static abstract class ShapeDrawable.ShaderFactory {
12281 ctor public ShapeDrawable.ShaderFactory();
Dcurrent.txt11895 public class PaintDrawable extends android.graphics.drawable.ShapeDrawable {
11954 public class ShapeDrawable extends android.graphics.drawable.Drawable {
11955 ctor public ShapeDrawable();
11956 ctor public ShapeDrawable(android.graphics.drawable.shapes.Shape);
11960 method public android.graphics.drawable.ShapeDrawable.ShaderFactory getShaderFactory();
11970 method public void setShaderFactory(android.graphics.drawable.ShapeDrawable.ShaderFactory);
11974 public static abstract class ShapeDrawable.ShaderFactory {
11975 ctor public ShapeDrawable.ShaderFactory();