/cts/tests/tests/graphics/src/android/graphics/cts/ |
Paint_CapTest.java | 25 import android.graphics.Paint.Cap; 27 @TestTargetClass(Paint.Cap.class) 37 assertEquals(Cap.BUTT, Cap.valueOf("BUTT")); 38 assertEquals(Cap.ROUND, Cap.valueOf("ROUND")); 39 assertEquals(Cap.SQUARE, Cap.valueOf("SQUARE")); 51 args = {android.graphics.Paint.Cap.class} 61 Cap[] actual = Cap.values() [all...] |
PaintTest.java | 30 import android.graphics.Paint.Cap; 364 args = {android.graphics.Paint.Cap.class} 375 p.setStrokeCap(Cap.BUTT); 376 assertEquals(Cap.BUTT, p.getStrokeCap()); 378 p.setStrokeCap(Cap.ROUND); 379 assertEquals(Cap.ROUND, p.getStrokeCap()); 381 p.setStrokeCap(Cap.SQUARE); 382 assertEquals(Cap.SQUARE, p.getStrokeCap()); [all...] |
/external/skia/include/core/ |
SkStroke.h | 42 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } 43 void setCap(SkPaint::Cap);
|
SkPaint.h | 366 /** Cap enum specifies the settings for the paint's strokecap. This is the 370 enum Cap { 391 /** Return the paint's stroke cap type, controlling how the start and end 393 @return the line cap style for the paint, used whenever the paint's 396 Cap getStrokeCap() const { return (Cap)fCapType; } 398 /** Set the paint's stroke cap type. 399 @param cap set the paint's line cap style, used whenever the paint's 402 void setStrokeCap(Cap cap) [all...] |
/external/skia/src/core/ |
SkStrokerPriv.h | 45 static CapProc CapFactory(SkPaint::Cap);
|
SkPathEffect.cpp | 84 SkStrokePathEffect::SkStrokePathEffect(SkScalar width, SkPaint::Style style, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) 85 : fWidth(width), fMiter(miter), fStyle(SkToU8(style)), fJoin(SkToU8(join)), fCap(SkToU8(cap)) 107 stroke.setCap((SkPaint::Cap)fCap);
|
SkStrokerPriv.cpp | 254 SkStrokerPriv::CapProc SkStrokerPriv::CapFactory(SkPaint::Cap cap) 260 SkASSERT((unsigned)cap < SkPaint::kCapCount); 261 return gCappers[cap];
|
SkStroke.cpp | 79 SkPathStroker(SkScalar radius, SkScalar miterLimit, SkPaint::Cap cap, 176 // cap the end 181 // cap the start 194 SkPaint::Cap cap, SkPaint::Join join) 209 fCapper = SkStrokerPriv::CapFactory(cap); 524 void SkStroke::setCap(SkPaint::Cap cap) { 525 SkASSERT((unsigned)cap < SkPaint::kCapCount) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | 46 private static final Cap[] sCapArray = { 47 Cap.BUTT, Cap.ROUND, Cap.SQUARE 107 * The Cap specifies the treatment for the beginning and ending of 110 public enum Cap { 126 private Cap(int nativeInt) { 538 * Return the paint's Cap, controlling how the start and end of stroked 541 * @return the line cap style for the paint, used whenever the paint's 544 public Cap getStrokeCap() [all...] |
/external/skia/src/animator/ |
SkDrawPaint.cpp | 59 SK_MEMBER(strokeCap, Cap), 80 strokeCap((SkPaint::Cap) -1), strokeJoin((SkPaint::Join) -1), strokeMiter(SK_ScalarNaN), 253 if (strokeCap != (SkPaint::Cap) -1) 254 paint->setStrokeCap((SkPaint::Cap) strokeCap);
|
SkDisplayType.cpp | 115 CASE_DEBUG_RETURN_NIL(Cap); 270 // cap 437 // cap
|
/external/webkit/WebCore/platform/graphics/skia/ |
PlatformContextSkia.h | 116 void setLineCap(SkPaint::Cap);
|
PlatformContextSkia.cpp | 81 SkPaint::Cap m_lineCap; 425 void PlatformContextSkia::setLineCap(SkPaint::Cap lc)
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Paint.java | 47 private Cap mCap = Cap.BUTT; 108 * The Cap specifies the treatment for the beginning and ending of 111 public enum Cap { 127 private Cap(int nativeInt) { 626 public void setStrokeCap(android.graphics._Original_Paint.Cap cap) { 630 public void setStrokeCap(Cap cap) { 631 mCap = cap; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 66 mPaint.setStrokeCap(Paint.Cap.ROUND);
|
FingerPaint.java | 42 mPaint.setStrokeCap(Paint.Cap.ROUND);
|
/development/apps/GraphicsLab/src/com/android/graphicslab/ |
GraphicsLab.java | 96 mPaint0.setStrokeCap(Paint.Cap.ROUND); 235 mPaint0.setStrokeCap(Paint.Cap.ROUND);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/ |
Visualization1.java | 79 paint.setStrokeCap(Paint.Cap.ROUND);
|
/frameworks/base/core/java/android/gesture/ |
Gesture.java | 197 paint.setStrokeCap(Paint.Cap.ROUND); 231 paint.setStrokeCap(Paint.Cap.ROUND);
|
GestureOverlayView.java | 182 gesturePaint.setStrokeCap(Paint.Cap.ROUND);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 74 paint.setStrokeCap(Paint.Cap.ROUND);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 95 paint.setStrokeCap(Paint.Cap.ROUND);
|
/external/skia/src/effects/ |
SkLayerRasterizer.cpp | 166 paint->setStrokeCap((SkPaint::Cap)buffer.readU8());
|
/external/webkit/WebKit/android/plugins/ |
ANPPaintInterface.cpp | 87 static void anp_setStrokeCap(ANPPaint* paint, ANPPaintCap cap) { 88 paint->setStrokeCap(static_cast<SkPaint::Cap>(cap));
|
/frameworks/base/awt/com/android/internal/awt/ |
AndroidGraphics2D.java | 630 int cap = bs.getEndCap(); local 631 if (cap == 0) { 632 mP.setStrokeCap(Paint.Cap.BUTT); 633 } else if (cap == 1) { 634 mP.setStrokeCap(Paint.Cap.ROUND); 635 } else if (cap == 2) { 636 mP.setStrokeCap(Paint.Cap.SQUARE); [all...] |