History log of /frameworks/base/core/java/android/app/DatePickerDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b2b98a00e1867509107e4b474ba45150d27ade0a 14-Jan-2015 Alan Viverette <alanv@google.com> Force-commit changes on accept in spinner-style DatePickerDialog

Bug: 19005472
Change-Id: If500c7305282a5055b4617c242871e04d91c0bc3
/frameworks/base/core/java/android/app/DatePickerDialog.java
16a24bc43523d235dde2110e48b5ab36df782c1e 28-Aug-2014 Alan Viverette <alanv@google.com> Cancel the date picker dialog when BUTTON_NEGATIVE is clicked

BUG: 17308290
Change-Id: I2cad1ece9eefc3c48e7574498ff9f79fe60c5f80
/frameworks/base/core/java/android/app/DatePickerDialog.java
518ff0de95e64116ecb07706fc564d4c19197ca7 15-Aug-2014 Alan Viverette <alanv@google.com> Fix date and time picker styling

Removes done buttons from widgets, fixes date picker day selection, fixes
dialog layouts in landscape, updates colors. Adds API on AlertDialog for
setting the view by resource ID, which is necessary to correctly inflate
the view against the dialog's parent view.

BUG: 16941550
BUG: 16852521
BUG: 16878697
BUG: 16838659
BUG: 17047435
Change-Id: I138858ce06cd4abf68a2c3361ec170370236b33b
/frameworks/base/core/java/android/app/DatePickerDialog.java
60727e07c6ef72e2f494266939c02494a3df28f8 29-Jul-2014 Alan Viverette <alanv@google.com> Clean up TimePicker and DatePicker styling

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
/frameworks/base/core/java/android/app/DatePickerDialog.java
bd9152f6ee156ee473f05f6f05f238605996fca4 01-Oct-2013 Fabrice Di Meglio <fdimeglio@google.com> Update DatePicker widget and its related dialog

- 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
/frameworks/base/core/java/android/app/DatePickerDialog.java
4c0cb8a526eec87fdba6dc371e21abfa4e993ea0 04-Apr-2014 Craig Stout <cstout@google.com> AlertDialog and AppError themes for TV.

Leanback themes override AlertDialog styles from other themes.
Makes system alert dialogs, and alert dialogs from games running on ATV,
have a style more appropriate to television.

Final visuals pending.

Side button layout fixes DatePickerDialog and TimePickerDialog with
dpad navigation.

TODO: consider using side button layout for other AlertDialog cases
(long messages and lists).

Change-Id: I74e4e04d16d6854377580be95a87684a0385b04b
/frameworks/base/core/java/android/app/DatePickerDialog.java
4c359b76f9a030f92a302ba74a528faa170bad4e 25-Jul-2012 Scott Main <smain@google.com> docs: fix a bunch of links from javadocs to api guides
and add some attributes to Spinner and Switch

Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
/frameworks/base/core/java/android/app/DatePickerDialog.java
42c5cb3028aeac3f31b954c74a39c26e24821ff7 02-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding title for the date picker dialog if the calendar is not shown.

1. The date picker dialog shows spinners and a mini calendar on
tablet but on on phone the calendar is not show and the user
does not know the day of the week otherwise show on the mini
calendar.

bug:5264972

Change-Id: I06aeb7ba1ad34d4e99628d9586ff2777e981c963
/frameworks/base/core/java/android/app/DatePickerDialog.java
fe41ce4ef97e7da585fdbf06988da8047e72b9f6 03-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Polish the Number/Date/Pickers per UX request.

1. Now the NumberPicker max height is a bit smaller.

2. The Time/Date picker add top and bottom margin to
compensate for the shorter NumberPickers.

3. The Time/DatePicker dialogs have only "Done" button
and tapping onside saves the current state.

bug:6277808

Change-Id: I4c5928debb1c3b7fe126d6cd6745e3c5eb980901
/frameworks/base/core/java/android/app/DatePickerDialog.java
9f086d812ff04703de4b14e02a7702ba7c8acb33 30-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> NumberPicker incorrectly shown for the old theme.

1. NumberPicker is trying to greedily grow to its max size
but if the max size is not specified the default value
was the max integer which makes the widget get quite
tall in some cases. Now the widget tries to reach the
max size only if it has been specified.

2. NumberPicker was not computing its min width when the array
of display values is set.

3. DatePicker' layout for the old Theme was adding a margin on
the right of the group of spinners and if the calendar view
is not shown the spinners were not centered. Added the spinners
right margin to the left margin of the calendar view.

4. TimePickerDialog was using the wrong conext and was not dismissable
on an outside touch. Same for the DatePickerDialog context.

bug:5646161

Change-Id: Ic15f9b3e6291b76493604230ceb4f783a04d4ac7
/frameworks/base/core/java/android/app/DatePickerDialog.java
e9730bf3d2dcbea1879f24c18aaf9810ac57084c 21-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding APIs for setting whether to show week number and setting the start day of week. Cleaned up the code a bit.

Change-Id: Iaa7154c6912a68cd91df3ac881c324096394ea24
/frameworks/base/core/java/android/app/DatePickerDialog.java
28104e1de5595a22a6987181b13ddeb192739afd 20-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> 3298147 DatePicker dialog does not provide mechanism for specifying range from which to select

Change-Id: Ib5dd7db90ccc5b4d984914c481118049ac3648fe
/frameworks/base/core/java/android/app/DatePickerDialog.java
bf80562d22b2bbe7944d80d0524c69d0238010cb 18-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Bug 3191746. atePicker TimePicker: Dark theme is used in a Light theme app

Change-Id: I20d0cca3b78af9db80854a57c88d6cab3b00f555
/frameworks/base/core/java/android/app/DatePickerDialog.java
50f34d14f6dd3411fdbdb6a7b8b285c2b8fdbf5c 04-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding DatePciker widget based on the Calednar team code. Updated DatePciker and DatePickerDialog as the second part of the Time/Date pciker refresh feature.

Change-Id: Id32c614bcd799463ca33bf08fb7d5cf44f8326a6
/frameworks/base/core/java/android/app/DatePickerDialog.java
c63806d852a550d82bbe6cadff8a2139d78ed559 24-Sep-2010 Adam Powell <adamp@google.com> Holo themes and assets in progress

Change-Id: Ic10480dc1c771d0ccd10f1d4014c945480fd6c0d
/frameworks/base/core/java/android/app/DatePickerDialog.java
bb8d314b6c5ff9b51af29daa687d66dfd996914f 20-Aug-2010 Scott Main <smain@google.com> am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit '70c9ffbc838271f0ea27a4780eb146287de53ef6' into gingerbread-plus-aosp

* commit '70c9ffbc838271f0ea27a4780eb146287de53ef6':
docs: add links from widget classes to tutorials
41ec65355bd6ded652769725b276d47c54a0d913 20-Aug-2010 Scott Main <smain@google.com> docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243
/frameworks/base/core/java/android/app/DatePickerDialog.java
e8db3a3f4016184b08ff39b0cdc2cc02e852f7e7 25-Jun-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced deprecated setButton Methodcalls

Change-Id: I8358b2dce25c6d5024550c54d98b4891f41b2a40
/frameworks/base/core/java/android/app/DatePickerDialog.java
5bd644caf73e76750feef1a82b8817d32f5367fc 13-May-2009 Eric Fischer <enf@google.com> Start using CLDR for some date-and-time strings and formats.

Use java.text.DateFormat where possible, since that is already using
the CLDR data for the things it supports. Remove an unused date format
object from DatePickerDialog.

Add a new method for getting the standalone month names from applications,
although @hidden for now because it is an API change.

Pass the standalone month names down to native code in Time so that
tztime's strftime() can use them.

And then the bulk of the change: replace all the names for the months
and the days of the week, and AM and PM, and yesterday, today, and tomorrow,
with strings from CLDR. And replace several of the date format strings
with ones derived from CLDR, but reformatted to use strftime() style
instead of SimpleDateFormat style.

All these resource changes go into new donottranslate-cldr.xml files
and are removed from strings.xml so that they aren't part of the
normal translation process and the translators don't have to bother
with them (and risk messing them up).
/frameworks/base/core/java/android/app/DatePickerDialog.java
c36bde662fd679d4cd74d786655ae39d097daf1c 25-Mar-2009 Eric Fischer <> Automated import from //branches/donutburger/...@140780,140780
/frameworks/base/core/java/android/app/DatePickerDialog.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/DatePickerDialog.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/DatePickerDialog.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/app/DatePickerDialog.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/app/DatePickerDialog.java