Home
last modified time | relevance | path

Searched refs:mShape (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java90 mShapeState.mShape = s; in ShapeDrawable()
97 return mShapeState.mShape; in getShape()
104 mShapeState.mShape = s; in setShape()
242 if (state.mShape != null) { in draw()
247 onDraw(state.mShape, canvas, paint); in draw()
309 if (mShapeState.mShape == null) { in getOpacity()
460 if (mShapeState.mShape != null) { in updateShape()
465 mShapeState.mShape.resize(w, h); in updateShape()
475 if (mShapeState.mShape != null) { in getOutline()
476 mShapeState.mShape.getOutline(outline); in getOutline()
[all …]
DGradientDrawable.java536 final boolean useLayer = haveStroke && haveFill && st.mShape != LINE && in draw()
580 switch (st.mShape) { in draw()
1057 state.mShape = a.getInt(R.styleable.GradientDrawable_shape, state.mShape);
1060 if (state.mShape == RING) {
1480 switch (st.mShape) {
1535 public int mShape = RECTANGLE;
1587 mShape = state.mShape;
1658 mShape = shape;
1703 mOpaqueOverBounds = mShape == RECTANGLE