3cdf8e88e14e909ea960113e2d734c08fae7ffd5 |
|
10-May-2018 |
Aarthi Balachander <aarthibc@google.com> |
Add onclick listener for PrimaryIcon and clean up code for adding a listener for SupplementalIcon Test: tested on Mojave Bug: 77658474 Change-Id: I2c12be96ff2ed207f17500eed02789e8571580dd
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
349e2285f933743829cdef1810106d62d0f1c4fc |
|
03-May-2018 |
Anthony Chen <ajchen@google.com> |
Expand the touch target size for supplemental icons. To accomplish this, use a TouchDelegate. This means that only the supplemental icon can have a TouchDelegate since all other views share a common parent. If there is a need for other views to also have an expanded touch target, that refactoring can happen at that time. Bug: 79108547 Test: car:connectedCheck Test: build sample app and check touch targets for TextListItemActivity and SeekbarListItemActivity. Change-Id: I588b48ae8691b2931a835323623c8cff3f3babf1
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
030c3c45d4e7a61c7da2ea924247adf47b6e304c |
|
19-Apr-2018 |
Yao, Yuxing <yaoyx@google.com> |
Update seekbar color. - provide day/night styling for seekbar - seekbar color will be set through theme instead of xml Fix: 77719628 Test: verified in demo app with UX approval Change-Id: I63016ec8be5672007f3de7cbb377c4424bb135c3
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
def582a5836579a3fadabfdbe4413cb1652bf098 |
|
13-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Fix imports for samples code. A follow up after factor to make it so androidx imports go in the correct order. Test: ./gradlew buildOnServer Change-Id: Ibb836331e3acb87e98190caef74940b4ed39aa79
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
20e9f85df9325d7dc79750be2527bd8dd1c38fcb |
|
25-Jan-2018 |
Yao, Yuxing <yaoyx@google.com> |
Support clearing up custom view binders by: create ViewHolder that accepts view binders for clearing up. move addViewBinders() to parent ListItem class. create new abstract methods in ListItem that used in bind(). change ListItemAdapter to expect ListItem instead of generic RecyclerView type. Fixes: 71721195 Test: ./gradlew :car:connectedCheck Change-Id: I48686b3dfe7feeb96c447af72a428950f89f2baf
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
172425512285f6da3c69b9405738df1f064336c1 |
|
17-Jan-2018 |
Yao, Yuxing <yaoyx@google.com> |
Update ListItem API from Builder to setters. This allows ListItem to be modified post construction, e.g. changing icon based on Wifi state. Bug: 70578638 Test: ./gradlew :car:connectedCheck # Also verified in demo apk. Change-Id: If7364917ad93ee68f6d3c5d9002cbe29840af596
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
4e832ea4269fff1780e0726c16bc37584957ba10 |
|
18-Dec-2017 |
Yao, Yuxing <yaoyx@google.com> |
Support list item with seekbar. This CL includes several changes: - Add abstract ListItem type - Rename the original ListItem to TextListItem - Add SeekbarListItem that extends ListItem with Car Seekbar style Change-Id: Ic1ecd7ea986b91c45d08fcfd661077c6857da762 Fixes: 70578577 Test: ./gradlew :car:connectedCheck
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
acdf6a30e3d5b12defece58c35cfca2129838264 |
|
10-Jan-2018 |
Yuxing Yao <yaoyx@google.com> |
Revert "Support list item with seekbar." This reverts commit 9ee1e2cb4f8f711403148ff57c800a25d6d8e178. Reason for revert: accidentally enabled auto-submit. i made a few major changes so would like another round of review. Change-Id: I231928e51307cfe5ce6337bb784cf080e445ede4
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|
9ee1e2cb4f8f711403148ff57c800a25d6d8e178 |
|
18-Dec-2017 |
Yao, Yuxing <yaoyx@google.com> |
Support list item with seekbar. This CL includes several changes: - Add abstract ListItem type - Rename the original ListItem to TextListItem - Add SeekbarListItem that extends ListItem with Car Seekbar style Fixes: 70578577 Test: ./gradlew :car:connectedCheck Change-Id: I36819c16ac7521a8700c6a731bac393b900ce122
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/SeekbarListItemActivity.java
|