Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7edd1cb authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Cleanup PointerTracker debug method

Change-Id: Ib3bfa0a46f5814a6df838005d7243e2f536a98a0
parent d522ddef
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -768,14 +768,10 @@ public class PointerTracker {
        callListenerOnRelease(key, code, false);
    }

    private long mPreviousEventTime;

    private void printTouchEvent(String title, int x, int y, long eventTime) {
        final Key key = mKeyDetector.detectHitKey(x, y);
        final String code = KeyDetector.printableCode(key);
        final long delta = eventTime - mPreviousEventTime;
        Log.d(TAG, String.format("%s%s[%d] %4d %4d %5d %s", title,
                (mKeyAlreadyProcessed ? "-" : " "), mPointerId, x, y, delta, code));
        mPreviousEventTime = eventTime;
                (mKeyAlreadyProcessed ? "-" : " "), mPointerId, x, y, eventTime, code));
    }
}