Lines Matching refs:rec1
246 const Rec& rec1 = fTouches[1]; in touchMoved() local
248 float scale = this->computePinch(rec0, rec1); in touchMoved()
251 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved()
252 -center(rec0.fStartY, rec1.fStartY)); in touchMoved()
254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
255 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
314 float TouchGesture::computePinch(const Rec& rec0, const Rec& rec1) { in computePinch() argument
315 double dx = rec0.fStartX - rec1.fStartX; in computePinch()
316 double dy = rec0.fStartY - rec1.fStartY; in computePinch()
319 dx = rec0.fLastX - rec1.fLastX; in computePinch()
320 dy = rec0.fLastY - rec1.fLastY; in computePinch()