Corresponding to TBR of Ie6cf6768
This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Bug: 2959169 Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266main
parent
400046d62e
commit
0fe4c9e1a7
|
@ -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" : ""));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue