/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | RoundRectShape.java | 108 RoundRectShape shape = (RoundRectShape) super.clone(); in clone() local 109 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null; in clone() 110 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null; in clone() 111 shape.mInset = new RectF(mInset); in clone() 112 shape.mInnerRect = new RectF(mInnerRect); in clone() 113 shape.mPath = new Path(mPath); in clone() 114 return shape; in clone()
|
D | RectShape.java | 56 final RectShape shape = (RectShape) super.clone(); in clone() local 57 shape.mRect = new RectF(mRect); in clone() 58 return shape; in clone()
|
D | PathShape.java | 70 PathShape shape = (PathShape) super.clone(); in clone() local 71 shape.mPath = new Path(mPath); in clone() 72 return shape; in clone()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PathDashPathEffect.java | 42 public PathDashPathEffect(Path shape, float advance, float phase, in PathDashPathEffect() argument 44 native_instance = nativeCreate(shape.ni(), advance, phase, in PathDashPathEffect()
|
/frameworks/base/core/jni/android/graphics/ |
D | PathEffect.cpp | 43 const SkPath* shape, float advance, float phase, int style) { in OneD_constructor() argument 44 SkASSERT(shape != NULL); in OneD_constructor() 45 return new SkPath1DPathEffect(*shape, SkFloatToScalar(advance), in OneD_constructor()
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | PlaybackGraphs.java | 214 for (ShapeDrawable shape : mShapes) { in drawVerticalShiftedShapes() 215 shape.draw(canvas); in drawVerticalShiftedShapes() 217 for (ShapeDrawable shape : shapes) { in drawVerticalShiftedShapes() 218 shape.draw(canvas); in drawVerticalShiftedShapes()
|
/frameworks/base/icu4j/java/android/icu/text/ |
D | ArabicShaping.java | 97 public int shape(char[] source, int sourceStart, int sourceLength, in shape() method in ArabicShaping 154 public void shape(char[] source, int start, int length) throws ArabicShapingException { in shape() method in ArabicShaping 158 shape(source, start, length, source, start, length); in shape() 169 public String shape(String text) throws ArabicShapingException { in shape() method in ArabicShaping 177 int len = shape(src, 0, src.length, dest, 0, dest.length); in shape() 1728 int shape = shapeTable[nextLink & LINK_MASK] in shapeUnicode() local 1733 shape &= 0x1; in shapeUnicode() 1743 shape = 1; in shapeUnicode() 1745 shape = 0; in shapeUnicode() 1754 dest[i] = (char)('\uFE70' + irrelevantPos[dest[i] - '\u064B'] + shape); in shapeUnicode() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | GcSnapshot.java | 194 public void clip(Shape shape) { in clip() argument 195 mGraphics.clip(shape); in clip() 482 public boolean clip(Shape shape, int regionOp) { in clip() argument 488 layer.clip(shape); in clip() 498 area = new Area(shape); in clip() 500 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | drawable-resource.jd | 52 <dd>An XML file that defines a geometric shape, including colors and gradients. 1420 <p>This is a generic shape defined in XML.</p> 1443 <<a href="#shape-element">shape</a> 1445 android:shape=["rectangle" | "oval" | "line" | "ring"] > 1477 </shape> 1486 <dt id="shape-element"><code><shape></code></dt> 1487 <dd>The shape drawable. This must be the root element. 1493 <dt><code>android:shape</code></dt> 1494 <dd><em>Keyword</em>. Defines the type of shape. Valid values are: 1498 <td>A rectangle that fills the containing View. This is the default shape.</td></tr> [all …]
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | icon_design_dialog.jd | 94 <li>Dialog icons have a 1 pixel safeframe. The base shape must fit within the 95 safeframe, but the anti-alias of a round shape can overlap the safeframe.</li> 156 <li>Import the shape into a tool like Adobe Photoshop and scale to fit an image
|
D | icon_design_tab.jd | 238 …owrap>Inner content:</td><td>Inner content should subtract from the outer shape and consist purely… 258 …owrap>Inner content:</td><td>Inner content should subtract from the outer shape and consist purely… 315 of the anti-alias of a round shape.</li> 387 <li>Import the shape to a tool like Adobe Photoshop and scale to fit an image of 445 <li>Create the basic shape using a tool like Adobe Illustrator.</li> 446 <li>Import the shape into a tool like Adobe Photoshop and scale to fit a 32x32
|
D | icon_design_list.jd | 96 safeframe area for the edge of the anti-alias of a round shape.</li> 157 <li>Import the shape into a tool like Adobe Photoshop and scale to fit an image
|
D | icon_design_action_bar.jd | 141 the outer shape and consist purely of transparent pixels.</td></tr> 163 the outer shape and consist purely of transparent pixels.</td></tr>
|
D | icon_design_status_bar.jd | 172 status bar icon can contain a 44 x 44 pixel shape with 2 pixels on each side for padding.</p> 197 the outer shape and consist purely of transparent pixels.</td></tr> 348 …owrap>Inner content:</td><td>Inner content should subtract from the outer shape and consist purely… 397 <li>Rounded corners must always be applied to the base shape and to the details 492 <li>In a tool like Adobe Photoshop, create the base shape within a 25x25 px
|
D | widget_design.jd | 210 do not add any extra margins outside of your app widget's background shape in Android 221 <p>Most widgets will have a solid background rectangle or rounded rectangle shape. It is a best 222 practice to define this shape using nine patches; one for each screen density (see <a 226 graphics editing program such as Adobe® Photoshop. This will allow the widget background shape
|
D | icon_design_launcher.jd | 149 alt="Side by side: cropped and glossy vs. matte and single-shape launcher icons"></td> 228 launcher icon can contain a 88 x 88 pixel shape with 4 pixels on each side for padding.
|
D | icon_design_menu.jd | 267 but only when necessary. The base shape must always stay inside the 350 <li>Import the shape into a tool like Adobe Photoshop and scale to fit an image
|
D | icon_design_launcher_archive.jd | 242 if your icon is just a simple shape, you should try to render in a way that 245 <p>Android launcher icons usually consist of a smaller shape within a 246 larger base shape and combine one neutral and one primary color. Icons may
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 208 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw() argument 209 shape.draw(canvas, paint); in onDraw()
|
D | GradientDrawable.java | 228 public void setShape(int shape) { in setShape() argument 231 mGradientState.setShape(shape); in setShape() 977 public void setShape(int shape) { 978 mShape = shape;
|
/frameworks/base/docs/html/resources/tutorials/opengl/ |
D | opengl-es20.jd | 257 vertices of a triangle shape: 285 <p>This method defines a two-dimensional triangle shape with three equal sides.</p> 307 <p>You have now defined a triangle shape, but if you run the application, nothing appears. What?! 408 friends. Secondly, the triangle is a bit squashed and changes shape when you change the screen 409 orientation of the device. The reason the shape is skewed is due to the fact that the object is 415 <a href="#motion">Add Motion</a> section, you'll make this shape rotate and justify
|
D | opengl-es10.jd | 238 vertices of a triangle shape: 288 <p>You have now defined a triangle shape, but if you run the application, nothing appears. What?! 328 friends. Secondly, the triangle is a bit squashed and changes shape when you change the screen 329 orientation of the device. The reason the shape is skewed is due to the fact that the object is 335 <a href="#motion">Add Motion</a> section, you'll make this shape rotate and justify
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 74 public void setJavaShape(Shape shape) { in setJavaShape() argument 76 mPath.append(shape, false /*connect*/); in setJavaShape()
|
D | Canvas_Delegate.java | 793 Shape shape = pathDelegate.getJavaShape(); in native_drawPath() 798 graphics.fill(shape); in native_drawPath() 803 graphics.draw(shape); in native_drawPath()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | 2d-graphics.jd | 22 <li><a href="#shape-drawable">Shape Drawable</a></li> 333 <h2 id="shape-drawable">Shape Drawable</h2> 345 Of course, you can also draw your shape as its own custom {@link android.view.View}, 377 It's then given a color and the bounds of the shape are set. If you do not set the bounds, 379 shape will not be drawn, whereas if you don't set the color, it will default to black.</p> 381 draw the shape programmatically in an Activity:</p>
|