Home
last modified time | relevance | path

Searched refs:kPaddleSize (Results 1 – 1 of 1) sorted by relevance

/external/skia/samplecode/
DSampleSVGPong.cpp22 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()
97 SkPoint::Make(fieldBounds.left() - kPaddleSize.width() / 2, in onOnceBeforeDraw()
102 SkPoint::Make(fieldBounds.right() + kPaddleSize.width() / 2, in onOnceBeforeDraw()