| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Also fixes incorrect docs in Drawable.
Bug: 20188255
Change-Id: I01c8563f734d9c1dad1e149bee80c651981e469f
|
|
|
|
|
|
|
|
| |
Also fixes date picker instance state restore and cleans up the fade
animations.
Bug: 20110268
Change-Id: I503e2f81253077f22f1619834dc2f2634138ae4e
|
|
|
|
|
|
|
|
| |
Also fixes initial day selection in DatePickerDialog.
Bug: 19933912
Bug: 19937345
Change-Id: I88264a192c087361dbf21b055e74e1facf2506bc
|
|
|
|
|
|
| |
Bug: 19819283
Bug: 19431364
Change-Id: Idd66f4ceb99d598c0f256d85c43bff6e25ccdd8f
|
|
|
|
|
| |
Bug: 19431364
Change-Id: If364a051a5208d170495de4182e46b32c7560e08
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Also cleans abstraction of various day/year pickers and adapters.
BUG: 18104457
Change-Id: Ifde664788d8123a3123303940bac63c1350c2cd7
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
BUG: 17377360
Change-Id: I685f35b760c049edaa8934eccaf5ce1bbf326cf2
|
|
|
|
|
|
|
| |
Also fixes layout on sw600dp-land (by removing the sw600dp layout!).
BUG: 17068298
Change-Id: I2545d0e1904a0028156b96b6ad17674c6107ce5d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
- simply create a method for passing those parameters
- remove non needed constants
Change-Id: If6e7d21ff07370edd8c73d1e9b5c5f820f3deb5d
|
|
- 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
|