OSDN Git Service

The time and data pickers did not support IME editor action correctly.
authorSvetoslav Ganov <svetoslavganov@google.com>
Fri, 9 Sep 2011 01:08:36 +0000 (18:08 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Fri, 9 Sep 2011 03:19:48 +0000 (20:19 -0700)
commita53efe9923bedab4fe5d578f32eaff308e5b9e76
treeb96e4c8cd21e71f5c1e4d29aee3e07353af64ac4
parent5e8752595f7a3d3dd1e0d469ac275295e38bcfe1
The time and data pickers did not support IME editor action correctly.

1. Updated TextView to traverse all focusable items. It was searching focus
   down and up and was missing right and left focusabled. Updated the focus
   seach to use FOCUS_FORWARD and FOCUS_BACKWARD - now all focusable views
   are visited.

2. TimePicker and DatePicker were not specifying the IME options for
   the next and done editor actions.

bug:5264046

Change-Id: Ief80863fc312582f2f76928bf6e915f620c427e5
core/java/android/widget/DatePicker.java
core/java/android/widget/NumberPicker.java
core/java/android/widget/TextView.java
core/java/android/widget/TimePicker.java