| Index: src/views/SkTouchGesture.cpp
|
| diff --git a/src/views/SkTouchGesture.cpp b/src/views/SkTouchGesture.cpp
|
| index e6a8eaeec66ab19c607818141b1bf5196c2c0423..22c9434216bfae9fb781c7bf8d267acaf6523422 100644
|
| --- a/src/views/SkTouchGesture.cpp
|
| +++ b/src/views/SkTouchGesture.cpp
|
| @@ -142,7 +142,7 @@ void SkTouchGesture::appendNewRec(void* owner, float x, float y) {
|
| }
|
|
|
| void SkTouchGesture::touchBegin(void* owner, float x, float y) {
|
| -// GrPrintf("--- %d touchBegin %p %g %g\n", fTouches.count(), owner, x, y);
|
| +// SkDebugf("--- %d touchBegin %p %g %g\n", fTouches.count(), owner, x, y);
|
|
|
| int index = this->findRec(owner);
|
| if (index >= 0) {
|
| @@ -201,7 +201,7 @@ float SkTouchGesture::limitTotalZoom(float scale) const {
|
| }
|
|
|
| void SkTouchGesture::touchMoved(void* owner, float x, float y) {
|
| -// GrPrintf("--- %d touchMoved %p %g %g\n", fTouches.count(), owner, x, y);
|
| +// SkDebugf("--- %d touchMoved %p %g %g\n", fTouches.count(), owner, x, y);
|
|
|
| if (kEmpty_State == fState) {
|
| return;
|
| @@ -220,7 +220,7 @@ void SkTouchGesture::touchMoved(void* owner, float x, float y) {
|
| // not sure how valuable this is
|
| if (fTouches.count() == 2) {
|
| if (close_enough_for_jitter(rec.fLastX, rec.fLastY, x, y)) {
|
| -// GrPrintf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
|
| +// SkDebugf("--- drop touchMove, withing jitter tolerance %g %g\n", rec.fLastX - x, rec.fLastY - y);
|
| return;
|
| }
|
| }
|
| @@ -257,7 +257,7 @@ void SkTouchGesture::touchMoved(void* owner, float x, float y) {
|
| }
|
|
|
| void SkTouchGesture::touchEnd(void* owner) {
|
| -// GrPrintf("--- %d touchEnd %p\n", fTouches.count(), owner);
|
| +// SkDebugf("--- %d touchEnd %p\n", fTouches.count(), owner);
|
|
|
| int index = this->findRec(owner);
|
| if (index < 0) {
|
|
|