@@ -3945,11 +3945,7 @@ InputDispatcher::KeyEntry::~KeyEntry() {
39453945}
39463946
39473947void InputDispatcher::KeyEntry::appendDescription (String8& msg) const {
3948- msg.appendFormat (" KeyEvent(deviceId=%d, source=0x%08x, action=%d, "
3949- " flags=0x%08x, keyCode=%d, scanCode=%d, metaState=0x%08x, "
3950- " repeatCount=%d), policyFlags=0x%08x" ,
3951- deviceId, source, action, flags, keyCode, scanCode, metaState,
3952- repeatCount, policyFlags);
3948+ msg.appendFormat (" KeyEvent" );
39533949}
39543950
39553951void InputDispatcher::KeyEntry::recycle () {
@@ -3990,19 +3986,7 @@ InputDispatcher::MotionEntry::~MotionEntry() {
39903986}
39913987
39923988void InputDispatcher::MotionEntry::appendDescription (String8& msg) const {
3993- msg.appendFormat (" MotionEvent(deviceId=%d, source=0x%08x, action=%d, actionButton=0x%08x, "
3994- " flags=0x%08x, metaState=0x%08x, buttonState=0x%08x, "
3995- " edgeFlags=0x%08x, xPrecision=%.1f, yPrecision=%.1f, displayId=%d, pointers=[" ,
3996- deviceId, source, action, actionButton, flags, metaState, buttonState, edgeFlags,
3997- xPrecision, yPrecision, displayId);
3998- for (uint32_t i = 0 ; i < pointerCount; i++) {
3999- if (i) {
4000- msg.append (" , " );
4001- }
4002- msg.appendFormat (" %d: (%.1f, %.1f)" , pointerProperties[i].id ,
4003- pointerCoords[i].getX (), pointerCoords[i].getY ());
4004- }
4005- msg.appendFormat (" ]), policyFlags=0x%08x" , policyFlags);
3989+ msg.appendFormat (" MotionEvent" );
40063990}
40073991
40083992
0 commit comments