History log of /frameworks/base/core/java/android/widget/TextInputTimePickerView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
93ac6d01bb8c086aeb77daf862e0478ad8a0ccb3 05-Feb-2018 David Ogutu <ogutu@google.com> Fix TimePicker keyboard UI num digits for min

Force the minutes to always format to 2 digits. This is a temporary fix
that's not quite fully Locale aware but fixes UI issue. Will need to
refactor code to seperate Locale info, share code with non-keyboard UI
and use more native Locale functions to determine number of digits.

Test: Manual https://drive.google.com/file/d/1iabh2Zzl0YRhj17gbVKr8GvVDXEHUnWI/view?usp=sharing
Bug: 72041032
Change-Id: I0eb479b9aece4726db7bf7fba04dc50ad0f175c5
/frameworks/base/core/java/android/widget/TextInputTimePickerView.java
f3cda89def7386db5d74fa76a36a911710e02f1c 14-Jul-2017 Roozbeh Pournader <roozbeh@google.com> Make TextInputTimePickerView use localized input

Previously, TextInputTimePickerView used the default numeric IME, which
could result in cases where the digits displayed in the text fields were
native, but the IME showed ASCII digits resulting in a mix.

Now we use setImeHintLocales to hint that we need a localized IME.

Change-Id: Ic4041dcc65a31bd00741c6d96d8cbc5dac9d77c8
Fixes: 63650251
Test: Manual (tested under en-US and ar-BH locales)
/frameworks/base/core/java/android/widget/TextInputTimePickerView.java
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/core/java/android/widget/TextInputTimePickerView.java
c51c5f29fb078fa7343f513299a78592a5ec2420 23-Feb-2017 Aurimas Liutikas <aurimas@google.com> Fix toggling of AM/PM of TimePicker using hardware keyboard.

Set AM/PM mode before setting hour in TextInputTimePickerView. This is
needed so we know exactly which it is when we are using 12 hour clock.
Not setting it early was causing TextInputTimePickerView to update TimePicker
with the hour that was not offset correctly based on AM/PM state.

Test: existing tests caught this - TimePickerTest#testKeyboardInputModeClockAmPm
verified locally that this test now passes.
Bug: 35262830

Change-Id: I7e912320cb5a72c5d9d4e80dc0b42deb651f2636
/frameworks/base/core/java/android/widget/TextInputTimePickerView.java
ab14d825c3eb2a337de02af93333e8302c08c732 25-Jan-2017 Aurimas Liutikas <aurimas@google.com> Adding text input mode to TimePicker.

Test: Tests will have a follow up CL.
Bug:30044800

Change-Id: I71a0fba97026da76251768016edf1b159617abb9
/frameworks/base/core/java/android/widget/TextInputTimePickerView.java