Lines Matching refs:rec0
243 const Rec& rec0 = fTouches[0]; in touchMoved() local
246 float scale = this->computePinch(rec0, rec1); in touchMoved()
249 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved()
250 -center(rec0.fStartY, rec1.fStartY)); in touchMoved()
252 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
253 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
301 float SkTouchGesture::computePinch(const Rec& rec0, const Rec& rec1) { in computePinch() argument
302 double dx = rec0.fStartX - rec1.fStartX; in computePinch()
303 double dy = rec0.fStartY - rec1.fStartY; in computePinch()
306 dx = rec0.fLastX - rec1.fLastX; in computePinch()
307 dy = rec0.fLastY - rec1.fLastY; in computePinch()