/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...] |
/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/src/core/ |
SkStroke.h | 34 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } 35 void setCap(SkPaint::Cap);
|
SkStrokerPriv.h | 37 static CapProc CapFactory(SkPaint::Cap);
|
SkStrokeRec.cpp | 111 stroker.setCap((SkPaint::Cap)fCap); 134 paint->setStrokeCap((SkPaint::Cap)fCap);
|
SkRemote.h | 58 SkPaint::Cap fCap;
|
/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 | 39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } 60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { 61 fCap = cap; 129 uint32_t fCap : 16; // SkPaint::Cap
|
SkPaint.h | 395 /** Cap enum specifies the settings for the paint's strokecap. This is the 399 If the cap is round or square, the caps are drawn when the contour has 405 The zero length contour draws the square cap without rotation, since 408 enum Cap { 429 /** Return the paint's stroke cap type, controlling how the start and end 431 @return the line cap style for the paint, used whenever the paint's 434 Cap getStrokeCap() const { return (Cap)fBitfields.fCapType; } 436 /** Set the paint's stroke cap type. 437 @param cap set the paint's line cap style, used whenever the paint' [all...] |
/external/robolectric/v1/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...] |
/prebuilts/go/darwin-x86/test/ |
slice3.go | 55 const Cap = 10 // cap of slice, array 70 iconst && base == "array" && iv > Cap, 71 jconst && base == "array" && jv > Cap, 72 kconst && base == "array" && kv > Cap: 78 if iv > jv || jv > kv || kv > Cap || iv < 0 || jv < 0 || kv < 0 { 144 base, len, cap := raw[0] - arrayBase, raw[1], raw[2] 147 println(desc, "=", base, len, cap, "want panic") 150 if cap != 0 && base != uintptr(xbase) || base >= 10 || len != uintptr(xlen) || cap != uintptr(xcap) [all...] |
/prebuilts/go/linux-x86/test/ |
slice3.go | 55 const Cap = 10 // cap of slice, array 70 iconst && base == "array" && iv > Cap, 71 jconst && base == "array" && jv > Cap, 72 kconst && base == "array" && kv > Cap: 78 if iv > jv || jv > kv || kv > Cap || iv < 0 || jv < 0 || kv < 0 { 144 base, len, cap := raw[0] - arrayBase, raw[1], raw[2] 147 println(desc, "=", base, len, cap, "want panic") 150 if cap != 0 && base != uintptr(xbase) || base >= 10 || len != uintptr(xlen) || cap != uintptr(xcap) [all...] |
/external/skia/bench/ |
BezierBench.cpp | 49 SkPaint::Cap fCap; 55 BezierBench(SkPaint::Cap c, SkPaint::Join j, SkScalar w, DrawProc proc) {
|
/frameworks/base/core/java/android/view/ |
RoundScrollbarRenderer.java | 46 mThumbPaint.setStrokeCap(Paint.Cap.ROUND); 51 mTrackPaint.setStrokeCap(Paint.Cap.ROUND);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PointsActivity.java | 107 p.setStrokeCap(Paint.Cap.SQUARE); 119 p.setStrokeCap(Paint.Cap.ROUND);
|
/external/skia/gm/ |
quadpaths.cpp | 29 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 34 paint.setStrokeCap(cap); 66 SkPaint::Cap fCap; 102 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { 103 if (0 < cap) { 119 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle [all...] |
cubicpaths.cpp | 140 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 145 paint.setStrokeCap(cap); 177 SkPaint::Cap fCap; 214 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { 215 if (0 < cap) { 231 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle [all...] |
nonclosedpaths.cpp | 26 // The path looks closed, but final rendering has 2 ends with cap. 81 static const SkPaint::Cap kCap[] = { 100 for (size_t cap = 0; cap < SK_ARRAY_COUNT(kCap); ++cap) { 110 paint.setStrokeCap(kCap[cap]);
|
linepaths.cpp | 15 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, 20 paint.setStrokeCap(cap); 52 SkPaint::Cap fCap; 95 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { 96 if (0 < cap) { 112 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle [all...] |
/external/skia/src/c/ |
sk_paint.cpp | 17 SkPaint::Cap fSK; 34 #define SKType SkPaint::Cap 106 SkPaint::Cap skcap;
|
/prebuilts/go/darwin-x86/src/regexp/syntax/ |
regexp.go | 26 Cap int // capturing index, for OpCapture 50 OpCapture // capturing subexpression with index Cap, optional name Name 107 if x.Cap != y.Cap || x.Name != y.Name || !x.Sub[0].Equal(y.Sub[0]) { 295 m = re.Cap 314 names[re.Cap] = re.Name
|
/prebuilts/go/linux-x86/src/regexp/syntax/ |
regexp.go | 26 Cap int // capturing index, for OpCapture 50 OpCapture // capturing subexpression with index Cap, optional name Name 107 if x.Cap != y.Cap || x.Name != y.Name || !x.Sub[0].Equal(y.Sub[0]) { 295 m = re.Cap 314 names[re.Cap] = re.Name
|
/external/skia/src/animator/ |
SkDrawPaint.cpp | 49 SK_MEMBER(strokeCap, Cap), 70 strokeCap((SkPaint::Cap) -1), strokeJoin((SkPaint::Join) -1), strokeMiter(SK_ScalarNaN), 244 paint->setStrokeCap((SkPaint::Cap) strokeCap);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 62 mPaint.setStrokeCap(Paint.Cap.ROUND);
|
/external/llvm/include/llvm/CodeGen/ |
MachineFunction.h | 468 MachineOperand *allocateOperandArray(OperandCapacity Cap) { 469 return OperandRecycler.allocate(Cap, Allocator); 474 /// Cap must be the same capacity that was used to allocate the array. 475 void deallocateOperandArray(OperandCapacity Cap, MachineOperand *Array) { 476 OperandRecycler.deallocate(Cap, Array);
|