OSDN Git Service

Optimize focused input event dispatch in view root.
authorJeff Brown <jeffbrown@google.com>
Mon, 14 Jan 2013 21:50:37 +0000 (13:50 -0800)
committerJeff Brown <jeffbrown@google.com>
Mon, 14 Jan 2013 23:31:36 +0000 (15:31 -0800)
commit29c0ed2c130521ce1b648dd517a0d25457004de3
tree8254d3f7c8c33941b9850cded62d6efd4a404ff8
parent14e066df1ca863667c6c6d745ad61bb07ac5082c
Optimize focused input event dispatch in view root.

The efficiency of key, trackball and generic motion event
dispatch is greatly influenced by the IME dispatch cycle.
This change simplifies the dispatch of focused input events
and avoids causing event processing to be requeued on the
handler and delayed unnecessarily.

Bug: 7984576
Change-Id: Id82624a3f32c05efe6ee5c322bd55bf2ab21525d
core/java/android/view/ViewRootImpl.java
core/java/android/view/inputmethod/InputMethodManager.java