24c300d7e994f91de777099dece727710a1ec018 |
|
24-May-2018 |
Anthony Chen <ajchen@google.com> |
Revert "Add special behavior for SubheaderListItems." This reverts commit 76dcad7e204288db0d0c1a50619054c8513336f4. Reason for revert: UX has determined that this behavior of hiding dividers should be an app-level decision and not enforced automatically. Change-Id: I5082e005d4f71375ffd26ab1a1c9f87178990a92 Fixes: 80191446 Test: boot up sample app and verify that dividers are not hidden by default.
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
76dcad7e204288db0d0c1a50619054c8513336f4 |
|
16-May-2018 |
Anthony Chen <ajchen@google.com> |
Add special behavior for SubheaderListItems. The SubheaderListItem should hide the divider for itself and the item before it. Rather than having special logic in each ListItem to handle this, make it a special case within the ListItemAdapter. The adapter will check for the existence of subheaders and hide dividers before it. Also hardcode the hidding of subheaders' dividers. Fixes: 79748701 Test: ./gradlew car:connectedCheck Test: Boot up list with subheaders on sample app and verify that subheaders before and after are hidden Change-Id: Ife9d261df948b04463e3944f7f230d52a200b8b1
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
ac5fe7c617c66850fff75a9fce9979c6e5674b0f |
|
06-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Refactor support library Test: None Change-Id: I92e450c739fc9d77e8f8840bed4165ab88247fd6
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
f27b1ffc67228d73326ec3426fef4c9db75cd6fd |
|
06-Mar-2018 |
Aurimas Liutikas <aurimas@google.com> |
Revert "Refactor support library." This reverts commit b31c3281d870e9abb673db239234d580dcc4feff. Change-Id: Icfa5b9af633739ad2c857dff22a2181bac6661ef
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
b31c3281d870e9abb673db239234d580dcc4feff |
|
20-Feb-2018 |
Aurimas Liutikas <aurimas@google.com> |
Refactor support library. Test: None Change-Id: I11a047324832801555673dac45ec1d6590a6338b
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
c5bcb56b9b4ae59dd52acf07764a69c8d1216ec0 |
|
21-Feb-2018 |
Yao, Yuxing <yaoyx@google.com> |
Support dividers in GridLayoutManager. Vertically divider will not be shown after the last item/row, but the offset will be reserved. Bug: 73305581 Test: verified on demo app Change-Id: I4e2b56b779249219bd4cf06d71dd138686a54137
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
3737d1dff953969c27652b49b010ea9902b3da4f |
|
07-Feb-2018 |
Yao, Yuxing <yaoyx@google.com> |
Support UXR in drawer and list item adapter. Bug: 72970870 Fixes: 72160941 Test: ./gradlew :car:connectedCheck make target for generating the stubs.jar is in ag/3569597. - All tests will only run on automotive devices now due to implicit dependency on android.car. - We are ignoring exception from Car/UXR. Exception comes from car connection failure, which should be handled in UxrManager so default behavior (fully restricted vs. no restrictions) can be configured by OEMs. Also this way 3rd party apps will not need to worry about retrying. - We are opting for unrestricted mode when UXR is unavailable. This is more of a product decision to be made. So current decision is taking the easier route. - APIs in car support lib cannot expose APIs from android.car, namely implementing OnUXRChangedListener, since android.car stub is only available at compile time. Change-Id: I4903838d9e21b3ba68508345bbbafa6fbab29ac4
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
e93a8545b2194d98246eb07c793141435a53b70f |
|
09-Feb-2018 |
Yao, Yuxing <yaoyx@google.com> |
Only run DVM test on automotive device. I couldn't reproduce the failure locally so honestly this is a shot in the dark. Alternatively we could scroll to position 0 before accessing the view, but I can't verify how well it works, so taking the safer approach. Change-Id: I7ad348371001d23f350b065c42666b8e4bbd34b3 Fixes: 73005407 Test: ./gradlew :car:connectedCheck
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|
5dd6cdb91b24bb42fce840b3398b13f416a8c9d0 |
|
26-Jan-2018 |
Aurimas Liutikas <aurimas@google.com> |
Move several library tests to correct directories. Android tests should live under src/androidTest/java Manifest should live under src/main Test: ./gradlew assembleDebug Change-Id: I326738d3ae7e1f4cad0e5257baf245c36a84794e
/frameworks/support/car/src/androidTest/java/androidx/car/widget/DividerVisibilityManagerTest.java
|