History log of /frameworks/base/core/java/android/widget/SimpleMonthView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
68763be41cffbcb4883a0a6293fc1aa9e17a3957 25-May-2016 Alan Viverette <alanv@google.com> Use ICU's Calendar class in date picker & related classes

Also organizes imports.

Bug: 28756630
Change-Id: I4e59c4b35c88edd94ff4b2945ad9feb2a4bd0022
/frameworks/base/core/java/android/widget/SimpleMonthView.java
c3e5a82691ac9094189a000430eab939e9020b2b 16-May-2016 Alan Viverette <alanv@google.com> Use standalone capitalization for month labels

Bug: 28020439
Change-Id: I85169a78142a43ff2348e0b561a7aa995544a65e
/frameworks/base/core/java/android/widget/SimpleMonthView.java
efb8e576a903e2b85faf2f1a1c7fc2ded8eecbde 11-May-2016 Alan Viverette <alanv@google.com> Remove extra logging in DatePicker

Issue seems to be fixed now, don't need the extra logging.

Bug: 27310206
Change-Id: Ibf53d056e9c5144729dae02c72050aebd90e4343
/frameworks/base/core/java/android/widget/SimpleMonthView.java
08dbbcdc9b4176b4bd91904065c87f0dae29f2d4 14-Apr-2016 Alan Viverette <alanv@google.com> Update day of week labels when setting month params in SimpleMonthView

Bug: 27310206
Change-Id: I40c09fb5dddb202a17ac9c6ecee1d6f40644d9e6
/frameworks/base/core/java/android/widget/SimpleMonthView.java
d5c85c824bfe343144af68ede9e86f12d5bba1f7 29-Mar-2016 Alan Viverette <alanv@google.com> Pull weekday names directly from ICU

Also adds more debug logging to setMonthParams().

Bug: 27238545
Change-Id: Ib7a0685a54a560bbfffee72455aafcd85c07eb2d
/frameworks/base/core/java/android/widget/SimpleMonthView.java
da7cc2d2ae2cf8742d12773852d8de6cd16201d7 04-Mar-2016 Alan Viverette <alanv@google.com> Add temporary logging to SimpleMonthView

We can remove this once we figure out why the dates are messed up.

Bug: 27310206
Change-Id: I34fff5251124cc0867955255189ed323dc7170c1
/frameworks/base/core/java/android/widget/SimpleMonthView.java
e264f9503b8ffcb2cae84e4e5bb2a03dd0610221 04-Mar-2016 Alan Viverette <alanv@google.com> Clean up SimpleMonthView formatters

Only generates the month and day of week labels when necessary, rather
than every time the headers are drawn.

Change-Id: Ia20042753cba08bc6b29d4defb312617a2691016
/frameworks/base/core/java/android/widget/SimpleMonthView.java
e998c3f5f6e7ac21b18cd449088ac2b76b65671f 27-Oct-2015 George Mount <mount@google.com> Improve DatePicker focus for keyboards.

Bug 24873983

Focus moves properly within the SimpleMonthView and between
components of the DatePicker.

Change-Id: I61778f9b4f19536ff6c7a512f9b4faf7bf4447a7
/frameworks/base/core/java/android/widget/SimpleMonthView.java
a7f827bab3df423d2a3b527853de3e9ac9e378fd 04-Aug-2015 Deepanshu Gupta <deepanshu@google.com> Switch SimpleDateFormat to icu version

Change-Id: Ic603c7849edc91b010febfa9013d1e0dc8b7c0f0
/frameworks/base/core/java/android/widget/SimpleMonthView.java
1ea4715cecf8d1a17a21f3d21ea4df56519e5ea6 17-Jul-2015 Chet Haase <chet@google.com> Localize SimpleMonthView

The days of the month were not being localized, resulting in
English numbers for non-English languages. Now we format the numbers
with the current locale.

Issue #22540629 [MRA14D][Arab][Token] numbers displayed in english

Change-Id: I2b17d55ba2d0aa47b5a28c8846c6cf9723ababb1
/frameworks/base/core/java/android/widget/SimpleMonthView.java
5c33949d0272c4dfc313cf8b56d28597e2ec2c62 28-Apr-2015 Alan Viverette <alanv@google.com> Fix DatePicker max date, disabled day color, and arrow visibility

Day validation moved from the PagerAdapter to the DayPickerView,
which is widget that actually handles the touch interaction and
disabled state for individual days.

Fixed disabled states for primary and secondary activated text
colors. Replaced old light/dark color state lists with themed
versions.

Removed conflicting view visibility changes for managing next and
previous arrows in DayPickerView.

Bug: 20630417
Bug: 20641013
Bug: 20641879
Change-Id: Icdaf02a3b57ec162169c31b8a27ebea908552321
/frameworks/base/core/java/android/widget/SimpleMonthView.java
ddf655c49f4173aa55c9ba1a2622cf75cf5bc2f2 22-Apr-2015 Alan Viverette <alanv@google.com> Implement RTL support in framework ViewPager, DatePicker

Lays out ViewPager in the opposite direction when in RTL mode, e.g.
the first item's starting edge is laid out at the largest possible
scrolling distance. This preserves both the meaning of positive
scrollX values and the meaning of positive adapter positions.

Also removes clickable attribute from DayPickerView since it has a
virtual view hierarchy.

Bug: 19408740
Bug: 20134073
Change-Id: Ib6f945335bd88da59c8c593c7c270e290e15d0a5
/frameworks/base/core/java/android/widget/SimpleMonthView.java
78bf1d329a4c0210394f846be1fd1390314aefc0 17-Apr-2015 Alan Viverette <alanv@google.com> Move date picker arrows out of SimpleMonthView

Also fixes incorrect docs in Drawable.

Bug: 20188255
Change-Id: I01c8563f734d9c1dad1e149bee80c651981e469f
/frameworks/base/core/java/android/widget/SimpleMonthView.java
816aa142023c75cf427401c21831193998bdf233 11-Apr-2015 Alan Viverette <alanv@google.com> Fix date picker dialog size

Also fixes date picker instance state restore and cleans up the fade
animations.

Bug: 20110268
Change-Id: I503e2f81253077f22f1619834dc2f2634138ae4e
/frameworks/base/core/java/android/widget/SimpleMonthView.java
f63757b7a6d06138860640f8e95326dc1ff47646 02-Apr-2015 Alan Viverette <alanv@google.com> Scale month view for small screens, use verbatim span for AM/PM label

Also fixes initial day selection in DatePickerDialog.

Bug: 19933912
Bug: 19937345
Change-Id: I88264a192c087361dbf21b055e74e1facf2506bc
/frameworks/base/core/java/android/widget/SimpleMonthView.java
60b674e07bf7346a673abd4a5f40bddeca16e7ff 25-Mar-2015 Alan Viverette <alanv@google.com> Clean up date picker attributes, add carets

Bug: 19819283
Bug: 19431364
Change-Id: Idd66f4ceb99d598c0f256d85c43bff6e25ccdd8f
/frameworks/base/core/java/android/widget/SimpleMonthView.java
0ef59ac0e57e9b99d174d4a53f7d9639357743ac 23-Mar-2015 Alan Viverette <alanv@google.com> Update DatePicker and CalendarView to latest Material spec

Bug: 19431364
Change-Id: If364a051a5208d170495de4182e46b32c7560e08
/frameworks/base/core/java/android/widget/SimpleMonthView.java
5dc973cb03889c58988703b58aefbd2397fb02c3 08-Jan-2015 Alan Viverette <alanv@google.com> Use text ascent / descent to center SimpleMonthView labels

Also updates Canvas.drawText() docs to clarify that the y-origin is
actually the baseline rather than the top (which is what developers
expect).

BUG: 18864682
Change-Id: Ibfa2a79327d17b5135f90468195fbeca922a25c8
/frameworks/base/core/java/android/widget/SimpleMonthView.java
c5b95c20b6fd3f4e63147efb22dd19c657b17001 07-Jan-2015 Alan Viverette <alanv@google.com> Fix date picker color handling, expose StateSet utils in more places

Enabled use of color selectors for the day number text, which lets us
use the "activated" text color and push the selection background
opacity up to 100%. Also ensures the selector circle stays within the
bounds of the selected day.

BUG: 18864682
Change-Id: Ia36ea748f83e13683a1de8ac1a259d353578d61a
/frameworks/base/core/java/android/widget/SimpleMonthView.java
50eb025c2fea7e364e0be951ce8ba6ca605f901a 24-Oct-2014 Alan Viverette <alanv@google.com> Fix min/max date range in DatePicker calendar mode

Also cleans abstraction of various day/year pickers and adapters.

BUG: 18104457
Change-Id: Ifde664788d8123a3123303940bac63c1350c2cd7
/frameworks/base/core/java/android/widget/SimpleMonthView.java
ffb46bf2956d89e3190007ccf2ef3ce3eed005fe 24-Oct-2014 Alan Viverette <alanv@google.com> Add support for Explore by Touch to RadialTimePickerView

Also adds IntArray, which is like LongArray for integers, and prevents
the AM/PM label text in the time picker header from wrapping.

BUG: 17468036
Change-Id: I7120089885709f23e20368927e4b3ed9db2e5393
/frameworks/base/core/java/android/widget/SimpleMonthView.java
5878076456a2eb510c03b6160a0cfb99a54e0cfd 11-Sep-2014 Alan Viverette <alanv@google.com> Use Calendar day of week rather than Time in SimpleMonthView

BUG: 17377360
Change-Id: I685f35b760c049edaa8934eccaf5ce1bbf326cf2
/frameworks/base/core/java/android/widget/SimpleMonthView.java
fd2dd208d9b0957657589b26c14c48b8e2b7f387 20-Aug-2014 Alan Viverette <alanv@google.com> Use correct single-letter date format in SimpleMonthView

Also fixes layout on sw600dp-land (by removing the sw600dp layout!).

BUG: 17068298
Change-Id: I2545d0e1904a0028156b96b6ad17674c6107ce5d
/frameworks/base/core/java/android/widget/SimpleMonthView.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/widget/SimpleMonthView.java
75b121553f9c7498581a4b10d932f1c499feef25 26-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #16245852 Clean SimpleMonthView.setMonthParams() in the new DatePicker

- simply create a method for passing those parameters
- remove non needed constants

Change-Id: If6e7d21ff07370edd8c73d1e9b5c5f820f3deb5d
/frameworks/base/core/java/android/widget/SimpleMonthView.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/widget/SimpleMonthView.java