summaryrefslogtreecommitdiff
path: root/core/java/android/widget/LegacyTimePickerDelegate.java
Commit message (Collapse)AuthorAgeFilesLines
* Allow TimePicker/DatePicker to use legacy layout styleChet Haase2014-08-071-684/+0
| | | | | | | | | | | | | In L, the TimePicker was rewritten to use a clock face and the DatePicker was rewritten to use a calendar. This change allows developers to opt into the old style instead (android:timePickerMode="spinner|clock" and android:datePickerMode="spinner|calendar").) Issue #16717952 Pre-L style android.widget.TimePicker on L Issue #16846963 Allow developer to use legacy DatePicker appearance Change-Id: I4ee071fcbc5bf25eab83d6a5cb6ff352a603f90a
* Fix timepicker double done buttons.Craig Stout2014-07-171-3/+6
| | | | | | | Leanback theme uses a legacy layout with a done button, but apps won't necessarily have target apilevel L. Change-Id: Ib38b08df1fe07bd8fb4e64e93633ce0b7eb12567
* Add public attributes for TimePicker stylingAlan Viverette2014-07-171-5/+5
| | | | | BUG: 11218747 Change-Id: Ifdf981280ebe20a9066f219c9a4505d0d7486b2e
* Fix TimePicker behaviorFabrice Di Meglio2014-07-111-2/+2
| | | | | | | | - use Alert Theme and make the TimePickerDialog show its done button in the legacy mode - if targetSdkVersion < L or if TV UI show the legacy TimePicker Change-Id: I19ca6dbbcb50599c7e230262a23956c185f53a5c
* TimePickerDialog does not force new ui on TV.Craig Stout2014-07-071-4/+47
| | | | | | | | | | Add support for done button in LegacyTimePickerDelegate. Provide leanback themed legacy time picker layout with buttons on the side. b/15194230 Change-Id: Ie05c1cf45b334e9642095d63c682aba314ff3c6b
* Update TimePicker widget and its related dialogFabrice Di Meglio2013-09-271-0/+638
- the old TimePicker widget is still there for obvious layout compatibility reasons - add a new delegate implementation for having a new UI based on a radial picker - use the new delegate only for the TimePickerDialog (which does not need to be the same) - added support for Theming and light/dark Themes - added support for I18N (hour formatting and time separator and also position of AM/PM indicator coming from Unicode CLDR) - added support for RTL - verified support for Keyboard - verified that CTS tests for TimePicker are passing (for both the legacy and the new widgets) Also added a new HapticFeedbackConstants.CLOCK_TICK and its related code for enabling ticks vibration. Change-Id: Ib9b53a152bd9e97383dc391ef8c26da91217298f