Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleSVGPong.cpp98 fPaddle1.initialize(paddle, in onOnceBeforeDraw()
136 group->addChild(sksg::Draw::Make(fPaddle1.shadowNode, shadow_paint)); in onOnceBeforeDraw()
139 group->addChild(sksg::Draw::Make(fPaddle1.objectNode, paddle1_paint)); in onOnceBeforeDraw()
202 fPaddle1.posTick(dt); in onAnimate()
208 fPaddle1.updateDom(); in onAnimate()
273 Object* pitcher = fBall.spd.fX > 0 ? &fPaddle0 : &fPaddle1; in updatePaddleStrategy()
274 Object* catcher = fBall.spd.fX > 0 ? &fPaddle1 : &fPaddle0; in updatePaddleStrategy()
288 Object fPaddle0, fPaddle1, fBall; member in PongView
/external/skqp/samplecode/
DSampleSVGPong.cpp98 fPaddle1.initialize(paddle, in onOnceBeforeDraw()
136 group->addChild(sksg::Draw::Make(fPaddle1.shadowNode, shadow_paint)); in onOnceBeforeDraw()
139 group->addChild(sksg::Draw::Make(fPaddle1.objectNode, paddle1_paint)); in onOnceBeforeDraw()
202 fPaddle1.posTick(dt); in onAnimate()
208 fPaddle1.updateDom(); in onAnimate()
273 Object* pitcher = fBall.spd.fX > 0 ? &fPaddle0 : &fPaddle1; in updatePaddleStrategy()
274 Object* catcher = fBall.spd.fX > 0 ? &fPaddle1 : &fPaddle0; in updatePaddleStrategy()
288 Object fPaddle0, fPaddle1, fBall; member in PongView