am 0fe4c9e1: Corresponding to TBR of Ie6cf6768

Merge commit '0fe4c9e1a78445a27b74ae24afb292a84a893703' into gingerbread-plus-aosp

* commit '0fe4c9e1a78445a27b74ae24afb292a84a893703':
  Corresponding to TBR of Ie6cf6768
main
Tadashi G. Takaoka 2010-09-02 06:42:10 -07:00 committed by Android Git Automerger
commit c98e7cb28b
1 changed files with 3 additions and 4 deletions

View File

@ -27,7 +27,7 @@ import android.view.ViewConfiguration;
public class PointerTracker { public class PointerTracker {
private static final String TAG = "PointerTracker"; private static final String TAG = "PointerTracker";
private static final boolean DEBUG = false; private static final boolean DEBUG = false;
private static final boolean DEBUG_MOVE = true && DEBUG; private static final boolean DEBUG_MOVE = DEBUG && true;
public interface UIProxy { public interface UIProxy {
public void invalidateKey(Key key); public void invalidateKey(Key key);
@ -425,8 +425,7 @@ public class PointerTracker {
int primaryCode = key.codes[0]; int primaryCode = key.codes[0];
code = String.format((primaryCode < 0) ? "%4d" : "0x%02x", primaryCode); code = String.format((primaryCode < 0) ? "%4d" : "0x%02x", primaryCode);
} }
Log.d(TAG, Log.d(TAG, String.format("%s [%d] %3d,%3d %s %s", title, mPointerId, x, y, code,
String.format("%s [%d] %3d,%3d %s %s", title, mPointerId, x, y, code,
isModifier() ? "modifier" : "")); isModifier() ? "modifier" : ""));
} }
} }