I/InputDispatcher(685): Window 'Window{2d5a5961 u0
com.android.settings/com.android.settings.SubSettings}' spent 3366.0ms processing
the last input event: MotionEvent(
deviceId=4,
source=0x00001002,
action=2,
flags=0x00000000,
metaState=0x00000000,
buttonState=0x00000000,
edgeFlags=0x00000000,
xPrecision=1.0,
yPrecision=1.0,
displayId=0,
pointers=[0: (858.0, 405.0)]),
policyFlags=0x62000000
880 void InputDispatcher::logOutboundMotionDetailsLocked(const char* prefix, const MotionEntry* entry) {
881 #if DEBUG_OUTBOUND_EVENT_DETAILS
882 ALOGD("%seventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
883 "action=0x%x, flags=0x%x, "
884 "metaState=0x%x, buttonState=0x%x, "
885 "edgeFlags=0x%x, xPrecision=%f, yPrecision=%f, downTime=%lld",
886 prefix,
887 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
888 entry->action, entry->flags,
889 entry->metaState, entry->buttonState,
890 entry->edgeFlags, entry->xPrecision, entry->yPrecision,
891 entry->downTime);
892
893 for (uint32_t i = 0; i < entry->pointerCount; i++) {
894 ALOGD(" Pointer %d: id=%d, toolType=%d, "
895 "x=%f, y=%f, pressure=%f, size=%f, "
896 "touchMajor=%f, touchMinor=%f, toolMajor=%f, toolMinor=%f, "
897 "orientation=%f",
898 i, entry->pointerProperties[i].id,
899 entry->pointerProperties[i].toolType,
900 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_X),
901 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_Y),
902 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_PRESSURE),
903 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_SIZE),
904 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR),
905 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR),
906 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR),
907 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_TOOL_MINOR),
908 entry->pointerCoords[i].getAxisValue(AMOTION_EVENT_AXIS_ORIENTATION));
909 }
910 #endif
911 }