HomeSort by relevance Sort by last modified time
    Searched refs:Cap (Results 1 - 25 of 68) sorted by null

1 2 3

  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_CapTest.java 21 import android.graphics.Paint.Cap;
27 assertEquals(Cap.BUTT, Cap.valueOf("BUTT"));
28 assertEquals(Cap.ROUND, Cap.valueOf("ROUND"));
29 assertEquals(Cap.SQUARE, Cap.valueOf("SQUARE"));
34 Cap[] actual = Cap.values();
37 assertEquals(Cap.BUTT, actual[0])
    [all...]
PaintTest.java 24 import android.graphics.Paint.Cap;
211 p.setStrokeCap(Cap.BUTT);
212 assertEquals(Cap.BUTT, p.getStrokeCap());
214 p.setStrokeCap(Cap.ROUND);
215 assertEquals(Cap.ROUND, p.getStrokeCap());
217 p.setStrokeCap(Cap.SQUARE);
218 assertEquals(Cap.SQUARE, p.getStrokeCap());
  /external/llvm/unittests/Support/
ArrayRecyclerTest.cpp 27 ARO::Capacity Cap = ARO::Capacity::get(0);
28 EXPECT_LT(0u, Cap.getSize());
30 size_t PrevSize = Cap.getSize();
32 Cap = ARO::Capacity::get(N);
33 EXPECT_LE(N, Cap.getSize());
35 EXPECT_EQ(PrevSize, Cap.getSize());
37 EXPECT_LT(PrevSize, Cap.getSize());
38 PrevSize = Cap.getSize();
42 Cap = ARO::Capacity::get(0);
43 PrevSize = Cap.getSize()
    [all...]
  /external/skia/legacy/include/core/
SkStroke.h 31 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; }
32 void setCap(SkPaint::Cap);
SkPaint.h 381 /** Cap enum specifies the settings for the paint's strokecap. This is the
385 enum Cap {
406 /** Return the paint's stroke cap type, controlling how the start and end
408 @return the line cap style for the paint, used whenever the paint's
411 Cap getStrokeCap() const { return (Cap)fCapType; }
413 /** Set the paint's stroke cap type.
414 @param cap set the paint's line cap style, used whenever the paint's
417 void setStrokeCap(Cap cap)
    [all...]
  /external/skia/src/core/
SkStroke.h 27 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; }
28 void setCap(SkPaint::Cap);
SkStrokerPriv.h 37 static CapProc CapFactory(SkPaint::Cap);
  /external/llvm/include/llvm/Support/
ArrayRecycler.h 124 T *allocate(Capacity Cap, AllocatorType &Allocator) {
126 if (T *Ptr = pop(Cap.getBucket()))
129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align));
134 /// Cap must be the same capacity that was given to allocate().
136 void deallocate(Capacity Cap, T *Ptr) {
137 push(Cap.getBucket(), Ptr);
  /external/skia/include/core/
SkStrokeRec.h 36 SkPaint::Cap getCap() const { return fCap; }
57 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) {
58 fCap = cap;
87 SkPaint::Cap fCap;
SkPaint.h 382 /** Cap enum specifies the settings for the paint's strokecap. This is the
386 enum Cap {
407 /** Return the paint's stroke cap type, controlling how the start and end
409 @return the line cap style for the paint, used whenever the paint's
412 Cap getStrokeCap() const { return (Cap)fCapType; }
414 /** Set the paint's stroke cap type.
415 @param cap set the paint's line cap style, used whenever the paint's
418 void setStrokeCap(Cap cap)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPaint.java 20 private Paint.Cap cap; field in class:ShadowPaint
89 public void setStrokeCap(Paint.Cap cap) {
90 this.cap = cap;
94 public Paint.Cap getStrokeCap() {
95 return cap;
165 * @return cap
167 public Paint.Cap getCap()
    [all...]
  /external/skia/legacy/src/core/
SkStrokerPriv.h 37 static CapProc CapFactory(SkPaint::Cap);
SkPathEffect.cpp 80 SkPaint::Join join, SkPaint::Cap cap, SkScalar miter)
82 fJoin(SkToU8(join)), fCap(SkToU8(cap)) {
104 stroke.setCap((SkPaint::Cap)fCap);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
PointsActivity.java 107 p.setStrokeCap(Paint.Cap.SQUARE);
119 p.setStrokeCap(Paint.Cap.ROUND);
  /external/llvm/include/llvm/CodeGen/
MachineFunction.h 419 MachineOperand *allocateOperandArray(OperandCapacity Cap) {
420 return OperandRecycler.allocate(Cap, Allocator);
425 /// Cap must be the same capacity that was used to allocate the array.
426 void deallocateOperandArray(OperandCapacity Cap, MachineOperand *Array) {
427 OperandRecycler.deallocate(Cap, Array);
  /external/skia/gm/
cubicpaths.cpp 26 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
31 paint.setStrokeCap(cap);
63 SkPaint::Cap fCap;
100 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) {
101 if (0 < cap) {
117 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle
    [all...]
linepaths.cpp 26 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
31 paint.setStrokeCap(cap);
63 SkPaint::Cap fCap;
98 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) {
99 if (0 < cap) {
115 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle
    [all...]
quadpaths.cpp 26 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join,
31 paint.setStrokeCap(cap);
63 SkPaint::Cap fCap;
99 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) {
100 if (0 < cap) {
116 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle
    [all...]
  /external/skia/legacy/src/animator/
SkDrawPaint.cpp 51 SK_MEMBER(strokeCap, Cap),
72 strokeCap((SkPaint::Cap) -1), strokeJoin((SkPaint::Join) -1), strokeMiter(SK_ScalarNaN),
245 if (strokeCap != (SkPaint::Cap) -1)
246 paint->setStrokeCap((SkPaint::Cap) strokeCap);
  /external/skia/src/animator/
SkDrawPaint.cpp 51 SK_MEMBER(strokeCap, Cap),
72 strokeCap((SkPaint::Cap) -1), strokeJoin((SkPaint::Join) -1), strokeMiter(SK_ScalarNaN),
245 if (strokeCap != (SkPaint::Cap) -1)
246 paint->setStrokeCap((SkPaint::Cap) strokeCap);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MeasureText.java 62 mPaint.setStrokeCap(Paint.Cap.ROUND);
  /external/webkit/Source/WebCore/platform/graphics/skia/
PlatformContextSkia.h 119 void setLineCap(SkPaint::Cap);
  /frameworks/base/graphics/java/android/graphics/
Paint.java 80 static final Cap[] sCapArray = {
81 Cap.BUTT, Cap.ROUND, Cap.SQUARE
261 * The Cap specifies the treatment for the beginning and ending of
264 public enum Cap {
280 private Cap(int nativeInt) {
771 * Return the paint's Cap, controlling how the start and end of stroked
774 * @return the line cap style for the paint, used whenever the paint's
777 public Cap getStrokeCap()
    [all...]
  /frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DisplayModifier.java 165 paint.setStrokeCap(Paint.Cap.BUTT);
173 paint.setStrokeCap(Paint.Cap.ROUND);
179 paint.setStrokeCap(Paint.Cap.SQUARE);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis1/
Visualization1.java 84 paint.setStrokeCap(Paint.Cap.ROUND);

Completed in 1212 milliseconds

1 2 3