Commit 912ab85
committed
Revamp of the NumberPicker widget.
1. The number picker no longer shows up and down arrows, it
has only three touch targets which are the currently selected number
in the middle with a lesser one above and greater below, now what
you touch is what you get, flingability and long press are still
supported.
2. Removed the restriction for a View with an AccessibilityNodeProvider
to not have any concrete children. If the View has a provider, then
this provider is responsible for creating the AccessibilityNodeInfos
for all its descendants, concrete and virtual. The number picker is
a good example for such a case - it has a concrete input view and
two virtual buttons as its children. This is a safe change since
this behavior has not been released.
3. This patch also fixes bug where the number picker is stretched too
much in the Theme theme.
bug:6177794
bug:5728294
Change-Id: Id8c0b3549174b9599f971d6e3086ca427cfbaa391 parent 958ec9d commit 912ab85
File tree
89 files changed
+820
-901
lines changed- api
- core
- java/android
- view
- widget
- res/res
- drawable-hdpi
- drawable-mdpi
- drawable-xhdpi
- drawable
- layout
- values
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
89 files changed
+820
-901
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26924 | 26924 | | |
26925 | 26925 | | |
26926 | 26926 | | |
26927 | | - | |
26928 | 26927 | | |
26929 | 26928 | | |
26930 | 26929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2679 | 2679 | | |
2680 | 2680 | | |
2681 | 2681 | | |
2682 | | - | |
2683 | | - | |
2684 | | - | |
2685 | | - | |
2686 | | - | |
2687 | | - | |
2688 | | - | |
2689 | | - | |
2690 | | - | |
2691 | 2682 | | |
2692 | 2683 | | |
2693 | 2684 | | |
| |||
3109 | 3100 | | |
3110 | 3101 | | |
3111 | 3102 | | |
3112 | | - | |
3113 | | - | |
3114 | | - | |
3115 | | - | |
3116 | | - | |
3117 | 3103 | | |
3118 | 3104 | | |
3119 | 3105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | | - | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
285 | | - | |
| 283 | + | |
286 | 284 | | |
287 | 285 | | |
288 | 286 | | |
| |||
717 | 715 | | |
718 | 716 | | |
719 | 717 | | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
724 | 722 | | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
729 | 727 | | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
734 | 739 | | |
735 | 740 | | |
736 | 741 | | |
| |||
0 commit comments