summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-04-19Tidy up uses of Integer.valueOf.Narayan Kamath
Use parseInt when the result is assigned to an int. Allocates fewer objects. bug: 28078871 Change-Id: Iecb25241863eb84f761918d39650678119f83cce
2015-03-02Remove the "white" color and use Android'sScott Kennedy
Change-Id: I3b05f376db201e441759400c6341eb1e53ffbc60
2014-08-06Use float instead of int to have better accuracyRuben
Bug:16552376 Change-Id: I92f5bb993df788f4c503052629cb06467f5bfaad
2014-07-08Prepare MonthView to support new features in child classesRuben
Change-Id: I56c4b9e8b9ed54e786ea543b5ed728249af56694
2014-06-06Update MonthView class to be used in xml layoutsRuben
Change-Id: I9c9eeb7f4f8b45db44f606ab8c1f9615f7ae8ec1 Conflicts: src/com/android/datetimepicker/date/MonthView.java
2014-05-30Support new redlines for minimonth Calendar on phone and tabletSam Blitzstein
Bug: 14994638 Change-Id: Ie17017e3c9ba066aec7d24f1a21ec4bd0bb2bd4e
2014-05-30Check if mController is nullRuben
Bug:15342988 Change-Id: I7c82766f271aa92251e2f7773a009332015e68dd
2014-05-21Add API for setMinDate and setMaxDateSam Blitzstein
By default, all dates are valid. For dates outside of a specified range, the numbers will be grayed out, and they may not be clicked. Bug: 15086596 Change-Id: I1aef6e305637e5045e929bc03cb5d78e4aed746c
2014-03-13Some changes from private to protectedRuben
Change-Id: I9b00e4261a31f7f9d18ead01f3034acc623b3c7f
2014-03-02Change from private to protected for accessibilityRuben
We need to override getItemDescription from MonthViewTouchHelper Change-Id: I7c86a52f14fc0ceced8014bc6a932e86774d914c
2013-11-25Open up more access to CalendarDay and MonthView.Sam Blitzstein
Bug: 11790870 Change-Id: I0b035bad130f02d926ae37640c0b7003c1c70bb1
2013-10-13Fix some warningsScott Kennedy
Change-Id: Idccfcd385f0b8f82f1679773eb18462efd67a032
2013-10-06Abstracting date picker classes to allow customizationJames Kung
Change-Id: Iaf4a61fa2c0c975ffabe21658e654939f0f29782
2013-09-05Add setDarkTheme() to TimePicker.android-4.4_r0.7Sam Blitzstein
This is just a temporary solution for the clock app. When the pickers are framework-ready they will use the correct system-level factory methods for setting dark themes. Bug: 10516092 Change-Id: I0574de6f79f0d2973a80ea91bcc885e207f2fcf8
2013-07-29Only clear A11y focus in date picker on MR1. Expose stable IDs.Alan Viverette
BUG: 8659961 Change-Id: I15be1c7208b75f1e85d644299437500c389f45ee
2013-06-27Date picker modifications for TimelyJames Kung
Change-Id: Ib5305466bb211116c43ac19ea59a01e070562271
2013-06-25Small refactor on haptic feddback for TimeDailogPicker.Paul Sliwowski
Change-Id: Ic7d4f8d9a3a98a0b11acfde3f69ccba2f3964fe7
2013-06-26Merge "Fixed issue where we vibrate even when System setting has it disabled."Paul Sliwowski
2013-06-25Fixed issue where we vibrate even when System setting has it disabled.Paul Sliwowski
Bug: 8833434 Change-Id: Ie5e8ddf348463d5932c735b4427a4c69f0da273d (cherry picked from commit 29f325e9f0b5a84b36b0bf4d6ab38bc4867d6b5c)
2013-06-25Fixed issue with Accessibility talkback in time picker.Paul Sliwowski
Bug: 8856042 Change-Id: Id7788f0e1f5d9d6cc9d23712bb3b9ecb5cffa341 (cherry picked from commit 8d7fc6da408116fc1fdff329e1ae1da8b79b0904)
2013-05-30Switch calendar accessibility to use new ExploreByTouchHelper.Alan Viverette
Change-Id: Idc2e268cdaa68524f7a5e7abf7276d8afec8dbba
2013-05-03Improve accessibility for hardware keyboard mode.Sam Blitzstein
Like a normal edittext, speak out each key as its typed. Bug: 8590343 Change-Id: I52ff588aad5714d751a008e9d7c0574709a0c7e5
2013-04-23Removed empty fileMichael Chan
Change-Id: Ic94b4d2cd971828845c007d1a392e24c85d9a26a
2013-04-19Polishing accessibility for date picker.Sam Blitzstein
Bug: 8531032 Change-Id: Idff339300a8edcd353b4d8e37e8b218b7b99460b
2013-04-19Merge "Fix null pointer exception in year picker Retain year picker position ↵James Kung
offset on orientation change" into jb-mr2-dev
2013-04-18Fix null pointer exception in year pickerJames Kung
Retain year picker position offset on orientation change Bug: 8658299 Bug: 8581974 Change-Id: Ib21c5235be29f9143788b22fbd25d62538203265
2013-04-18Fix "MONTH YYYY" labels to work correctly for i18l.Sam Blitzstein
Bug: 8634993 Change-Id: I3975ca71ac77c7c6a6e03bb99f73d8b43248496d
2013-04-18Add a virtual node provider to the date picker.Alan Viverette
Adds a virtual node provider using TouchExplorationHelper, refactors SimpleMonthView to handle its own touch events, and modifies DayPickerView to attempt to save and restore accessibility focus during a layout operation. Change-Id: Iefe2ffe7185ec2ed8557fb94ea783e32030ed655
2013-04-17Date/Time Picker done button minheight 48dpJames Kung
Date Picker minor UI tweaks Bug: 8581974 Change-Id: Ica0f33e55686ba75a85df9bb6b54eda31100e062
2013-04-16Use other numerals when necessary.Sam Blitzstein
For languages that use other digit numerals (i.e. persian, arabic), show those in the date picker month grid, and year picker list, when the device language is set as such. Bug: 8568209 Change-Id: Ie507c5ee1d24e125e8a4a62bb8fa84fe2b21f71c
2013-04-15Timepicker UI fixes to be more consistent with date picker.Sam Blitzstein
Bug: 8616937 Change-Id: Ic16c311e74e3f0da4d266232334118b8cb428320
2013-04-11Fixing date picker layout across all devicesJames Kung
Bug: 8599662 Change-Id: Ia47599a0f502117239df057efb12ab4133498975
2013-04-10Date picker layout modificationsJames Kung
Bug: 8581974 Change-Id: I3c547c2ebf1bb6488b823044bd7fd7bdffdab69e
2013-04-10Add pulsating effect to header label when switching view.Sam Blitzstein
Bug: 8570362 Change-Id: Ie8534f5be227605ee17d14e558f3398f9d7c6ed7
2013-04-08Fixed detection of date clicked in calendar gridJames Kung
Bug: 8566232 Change-Id: I2225106ef599a5370b1a26e8887e16a79ed3ed2a
2013-04-08Layout for smaller devices e.g. Nexus SJames Kung
Bug: Change-Id: I210fbab377f49ec58bfa811d76e3dc5172fede63
2013-04-08Merge "Include month calendars for the end year." into jb-mr2-devJames Kung
2013-04-08Include month calendars for the end year.James Kung
Bug: 8566520 Change-Id: I24177cc5a561945e427dca33daf7feb97f7cf106
2013-04-08Date Picker UI revisionJames Kung
Change-Id: Ifeab24a1809a82704f7f0e3382968dc3218cbfcd
2013-04-08Further tweaks and bug fixes, and code cleanup.Sam Blitzstein
Bug: 8530194 Bug: 8531032 Change-Id: I908e7df4a432f9f6b338bc601e7be08f26b93b98
2013-04-04Hide soft input on date picker dialog launchJames Kung
Bug: 8545770 Change-Id: I0683bafd578c6b10d377d3fca9c0b411dfc13953
2013-04-01DatePicker initial commitJames Kung
Change-Id: I5e2dda38b06b76454b974e7240befd6a9316364f
2013-03-29Support for accessibility and hardware IME.Sam Blitzstein
Change-Id: If6096d4105e78cad8e082091776213756b0ebde1
2013-03-21Tweaking timepicker and fixing bugs.Sam Blitzstein
Fixed some bugs in Timepicker, and made tweaks to match redlines. Change-Id: I239a6294a7b2a7cd2fa200dc776a6d4f2fb24949
2013-03-20Adding new timepicker library.Sam Blitzstein
Timepicker is a radial, animated selector. Change-Id: Ib6a6deebf7673dcb14561261314a0e082d4a3ffc