Searched refs:kPaddleSize (Results 1 – 2 of 2) sorted by relevance
/external/skia/samplecode/ |
D | SampleSVGPong.cpp | 25 static const SkSize kPaddleSize = SkSize::Make(0.03f, 0.1f); variable 86 const SkRRect paddle = SkRRect::MakeRectXY(SkRect::MakeWH(kPaddleSize.width(), in onOnceBeforeDraw() 87 kPaddleSize.height()), in onOnceBeforeDraw() 88 kPaddleSize.width() / 2, in onOnceBeforeDraw() 89 kPaddleSize.width() / 2); in onOnceBeforeDraw() 95 SkPoint::Make(fieldBounds.left() - kPaddleSize.width() / 2, in onOnceBeforeDraw() 99 SkPoint::Make(fieldBounds.right() + kPaddleSize.width() / 2, in onOnceBeforeDraw()
|
/external/skqp/samplecode/ |
D | SampleSVGPong.cpp | 25 static const SkSize kPaddleSize = SkSize::Make(0.03f, 0.1f); variable 86 const SkRRect paddle = SkRRect::MakeRectXY(SkRect::MakeWH(kPaddleSize.width(), in onOnceBeforeDraw() 87 kPaddleSize.height()), in onOnceBeforeDraw() 88 kPaddleSize.width() / 2, in onOnceBeforeDraw() 89 kPaddleSize.width() / 2); in onOnceBeforeDraw() 95 SkPoint::Make(fieldBounds.left() - kPaddleSize.width() / 2, in onOnceBeforeDraw() 99 SkPoint::Make(fieldBounds.right() + kPaddleSize.width() / 2, in onOnceBeforeDraw()
|