OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:shapedrawable
(Results
1 - 25
of
44
) sorted by null
1
2
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ShapeDrawableTest.java
32
import android.graphics.drawable.
ShapeDrawable
;
34
import android.graphics.drawable.
ShapeDrawable
.ShaderFactory;
45
new
ShapeDrawable
();
47
new
ShapeDrawable
(null);
49
new
ShapeDrawable
(new RectShape());
53
ShapeDrawable
shapeDrawable
= new
ShapeDrawable
();
56
shapeDrawable
.draw(null);
63
ShapeDrawable
shapeDrawable = new ShapeDrawable()
[
all
...]
ShapeDrawable_ShaderFactoryTest.java
20
import android.graphics.drawable.
ShapeDrawable
;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ShapeDrawableTest.java
4
import android.graphics.drawable.
ShapeDrawable
;
17
ShapeDrawable
shapeDrawable
= new
ShapeDrawable
();
18
Paint paint =
shapeDrawable
.getPaint();
20
assertThat(
shapeDrawable
.getPaint(), is(paint));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowShapeDrawable.java
4
import android.graphics.drawable.
ShapeDrawable
;
8
@Implements(
ShapeDrawable
.class)
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java
22
import android.graphics.drawable.
ShapeDrawable
;
36
private
ShapeDrawable
[] mDrawables;
59
private static class MyShapeDrawable extends
ShapeDrawable
{
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))
[
all
...]
_index.html
4
<dt><a href="ShapeDrawable1.html">
ShapeDrawable
</a></dt>
/packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageItemPreference.java
22
import android.graphics.drawable.
ShapeDrawable
;
58
private static
ShapeDrawable
createRectShape(int width, int height, int color) {
59
ShapeDrawable
shape = new
ShapeDrawable
(new RectShape());
/cts/tests/tests/animation/src/android/animation/cts/
ShapeHolder.java
19
import android.graphics.drawable.
ShapeDrawable
;
30
private
ShapeDrawable
mShape;
60
public void setShape(
ShapeDrawable
value) {
64
public
ShapeDrawable
getShape() {
107
public ShapeHolder(
ShapeDrawable
s) {
AnimationActivity.java
33
import android.graphics.drawable.
ShapeDrawable
;
241
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
/development/samples/ApiDemos/src/com/example/android/apis/animation/
ShapeHolder.java
21
import android.graphics.drawable.
ShapeDrawable
;
31
private
ShapeDrawable
shape;
56
public void setShape(
ShapeDrawable
value) {
59
public
ShapeDrawable
getShape() {
97
public ShapeHolder(
ShapeDrawable
s) {
ReversingAnimation.java
33
import android.graphics.drawable.
ShapeDrawable
;
105
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
AnimationCloning.java
31
import android.graphics.drawable.
ShapeDrawable
;
109
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
AnimationLoading.java
37
import android.graphics.drawable.
ShapeDrawable
;
122
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
AnimationSeeking.java
35
import android.graphics.drawable.
ShapeDrawable
;
129
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
BouncingBalls.java
31
import android.graphics.drawable.
ShapeDrawable
;
155
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
CustomEvaluator.java
34
import android.graphics.drawable.
ShapeDrawable
;
144
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
MultiPropertyAnimation.java
33
import android.graphics.drawable.
ShapeDrawable
;
146
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
AnimatorEvents.java
37
import android.graphics.drawable.
ShapeDrawable
;
173
ShapeDrawable
drawable = new
ShapeDrawable
(circle);
/frameworks/base/graphics/java/android/graphics/drawable/
ShapeDrawable.java
32
* A
ShapeDrawable
takes a {@link android.graphics.drawable.shapes.Shape}
34
* the
ShapeDrawable
will default to a
41
* <p>For more information about how to use
ShapeDrawable
, read the
43
* Canvas and Drawables</a> document. For more information about defining a
ShapeDrawable
in
56
public class
ShapeDrawable
extends Drawable {
61
*
ShapeDrawable
constructor.
63
public
ShapeDrawable
() {
68
* Creates a
ShapeDrawable
with a specified Shape.
70
* @param s the Shape that this
ShapeDrawable
should be
72
public
ShapeDrawable
(Shape s)
[
all
...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
PlaybackGraphs.java
24
import android.graphics.drawable.
ShapeDrawable
;
209
private ArrayList<
ShapeDrawable
> mShapes = new ArrayList<
ShapeDrawable
>();
228
ShapeDrawable
graphBar = new
ShapeDrawable
();
262
ArrayList<
ShapeDrawable
> shapes) {
267
for (
ShapeDrawable
shape : mShapes) {
270
for (
ShapeDrawable
shape : shapes) {
275
public void draw(Canvas canvas, ArrayList<
ShapeDrawable
> shapes,
PlaybackView.java
26
import android.graphics.drawable.
ShapeDrawable
;
45
private ArrayList<
ShapeDrawable
> mTempShapes = new ArrayList<
ShapeDrawable
>();
50
private class TileDrawable extends
ShapeDrawable
{
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
OvalShape.java
26
* the OvalShape to a {@link android.graphics.drawable.
ShapeDrawable
}.
RectShape.java
27
* the RectShape to a {@link android.graphics.drawable.
ShapeDrawable
}.
ArcShape.java
28
* the ArcShape to a {@link android.graphics.drawable.
ShapeDrawable
}.
/frameworks/base/docs/html/guide/topics/graphics/
2d-graphics.jd
196
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 {@lin
[
all
...]
Completed in 1069 milliseconds
1
2