summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TimePickerDelegate.java
Commit message (Collapse)AuthorAgeFilesLines
* Allow TimePicker/DatePicker to use legacy layout styleChet Haase2014-08-071-1381/+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
* Clean up TimePicker and DatePicker stylingAlan Viverette2014-07-291-42/+36
| | | | | | | | Removes the time and date picker specific themes and defaults their theme attributes to use the alert dialog theme attribute's value. BUG: 14973897 Change-Id: Id5cc74ea0c1a379fc1ee76b354a1bb5ba329585a
* Fix timepicker double done buttons.Craig Stout2014-07-171-1/+2
| | | | | | | 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-50/+36
| | | | | BUG: 11218747 Change-Id: Ifdf981280ebe20a9066f219c9a4505d0d7486b2e
* Update DatePicker widget and its related dialogFabrice Di Meglio2014-07-151-2/+2
| | | | | | | | | | | | | | | | | | - the old DatePicker widget is still there for obvious layout compatibility reasons - add a new delegate implementation for having a new UI - use the new delegate only for the DatePickerDialog (which does not need to be the same) - added support for Theming and light/dark Themes - added support for RTL - added support for Accessibility - verified support for Keyboard - verified that CTS tests for DatePicker are passing (for both the legacy and the new widgets) Also added a new HapticFeedbackConstants.CALENDAR_DATE and its related code for enabling day selection vibration Change-Id: I256bd7c21edd8f3b910413ca15ce26d3a5ef7d9c
* Material themeAlan Viverette2014-06-061-4/+4
| | | | | BUG: 15467097 Change-Id: I15191362e104a902895418fc615892c21db64c35
* Fix RadialTimePicker stylingAlan Viverette2014-06-031-5/+4
| | | | | | Also sneaks in some whitespace cleanup for PhoneWindow! Change-Id: I1bc8a889a59d69ae80b6cfbf54d57cd7f8ad4a36
* Don't use TypedArray after recycling itAlan Viverette2014-04-021-2/+2
| | | | | BUG: 13771701 Change-Id: Ib3ccb270f44cd236ce5294f8d0e01f1922005a3b
* Fix new TimePicker accessibilityFabrice Di Meglio2014-01-031-4/+25
| | | | | | | - make AM/PM TextView accessible - fix accessibility node loop (which is making the TalkBack service to crash) Change-Id: Iea2152f0ab223039a6d92eafcd92f86c4055b316
* Update TimePicker widget and its related dialogFabrice Di Meglio2013-09-271-0/+1380
- 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