Home
last modified time | relevance | path

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

/third_party/flutter/skia/modules/sksg/samples/
DSampleSVGPong.cpp95 fPaddle0.initialize(paddle, in onOnceBeforeDraw()
136 group->addChild(sksg::Draw::Make(fPaddle0.shadowNode, shadow_paint)); in onOnceBeforeDraw()
139 group->addChild(sksg::Draw::Make(fPaddle0.objectNode, paddle0_paint)); in onOnceBeforeDraw()
211 fPaddle0.posTick(dt); in onAnimate()
217 fPaddle0.updateDom(); in onAnimate()
283 Object* pitcher = fBall.spd.fX > 0 ? &fPaddle0 : &fPaddle1; in updatePaddleStrategy()
284 Object* catcher = fBall.spd.fX > 0 ? &fPaddle1 : &fPaddle0; in updatePaddleStrategy()
298 Object fPaddle0, fPaddle1, fBall; member in PongView
/third_party/skia/modules/sksg/samples/
DSampleSVGPong.cpp97 fPaddle0.initialize(paddle, in onOnceBeforeDraw()
138 group->addChild(sksg::Draw::Make(fPaddle0.shadowNode, shadow_paint)); in onOnceBeforeDraw()
141 group->addChild(sksg::Draw::Make(fPaddle0.objectNode, paddle0_paint)); in onOnceBeforeDraw()
210 fPaddle0.posTick(dt); in onAnimate()
216 fPaddle0.updateDom(); in onAnimate()
282 Object* pitcher = fBall.spd.fX > 0 ? &fPaddle0 : &fPaddle1; in updatePaddleStrategy()
283 Object* catcher = fBall.spd.fX > 0 ? &fPaddle1 : &fPaddle0; in updatePaddleStrategy()
297 Object fPaddle0, fPaddle1, fBall; member in PongView