diff options
author | Alan Viverette <alanv@google.com> | 2014-10-24 12:06:11 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-10-24 12:06:11 -0700 |
commit | ffb46bf2956d89e3190007ccf2ef3ce3eed005fe (patch) | |
tree | 06c3158e38a66bc1490607ee81e25ac1529f6d3e /core/java/android/widget/SimpleMonthView.java | |
parent | fa9ed8ca0a08be0b32b2ccc33563a47df1f6d3da (diff) | |
download | frameworks_base-ffb46bf2956d89e3190007ccf2ef3ce3eed005fe.zip frameworks_base-ffb46bf2956d89e3190007ccf2ef3ce3eed005fe.tar.gz frameworks_base-ffb46bf2956d89e3190007ccf2ef3ce3eed005fe.tar.bz2 |
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
Diffstat (limited to 'core/java/android/widget/SimpleMonthView.java')
-rw-r--r-- | core/java/android/widget/SimpleMonthView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/widget/SimpleMonthView.java b/core/java/android/widget/SimpleMonthView.java index a76241e..59baaba 100644 --- a/core/java/android/widget/SimpleMonthView.java +++ b/core/java/android/widget/SimpleMonthView.java @@ -31,6 +31,7 @@ import android.text.format.DateFormat; import android.text.format.DateUtils; import android.text.format.Time; import android.util.AttributeSet; +import android.util.IntArray; import android.util.MathUtils; import android.view.MotionEvent; import android.view.View; @@ -610,7 +611,7 @@ class SimpleMonthView extends View { } @Override - protected void getVisibleVirtualViews(List<Integer> virtualViewIds) { + protected void getVisibleVirtualViews(IntArray virtualViewIds) { for (int day = 1; day <= mNumCells; day++) { virtualViewIds.add(day); } |