Home
last modified time | relevance | path

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

/third_party/flutter/skia/modules/sksg/samples/
DSampleSVGPong.cpp99 fPaddle1.initialize(paddle, in onOnceBeforeDraw()
137 group->addChild(sksg::Draw::Make(fPaddle1.shadowNode, shadow_paint)); in onOnceBeforeDraw()
140 group->addChild(sksg::Draw::Make(fPaddle1.objectNode, paddle1_paint)); in onOnceBeforeDraw()
212 fPaddle1.posTick(dt); in onAnimate()
218 fPaddle1.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.cpp101 fPaddle1.initialize(paddle, in onOnceBeforeDraw()
139 group->addChild(sksg::Draw::Make(fPaddle1.shadowNode, shadow_paint)); in onOnceBeforeDraw()
142 group->addChild(sksg::Draw::Make(fPaddle1.objectNode, paddle1_paint)); in onOnceBeforeDraw()
211 fPaddle1.posTick(dt); in onAnimate()
217 fPaddle1.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