13a4bafbe992953bfaf4255241e260ae2d4d70ee |
|
04-Apr-2017 |
Srinivas Visvanathan <sriniv@google.com> |
Making CarDrawerAdapter layout more flexible - Instead of picking small vs normal layout for drawer items at construction time, its now queried from adapter item using new API. Bug: 36573125 Test: Exercised dialer, media, radio etc. Change-Id: I14575661544ac7cdd62ce8288aa1630d1cd05165
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/DrawerItemViewHolder.java
|
2696b86fa6692117063c6ad46cbd7e8299d4c3c4 |
|
14-Feb-2017 |
Srinivas Visvanathan <sriniv@google.com> |
Drawer updates for Media app - Merging list and empty adapter functionality into CarDrawerAdapter. The adapter will display disabled-list item if flag set and no items are available to display. - CarDrawerAdapter now supports cleanup when popped. Subclasses can perform any required cleanup. - CarDrawerAdapter sets title from resource-string or bare-string. Media-app needs latter while Dialer/Radio use former. - CarDrawerActivity supports setting main content view. MediaApp will use this (in upcoming CL). Bug: 34352155 Test: Manually Change-Id: Idf99cfaf8ae8269756a722e883ecf64df9dcbdbe
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/DrawerItemViewHolder.java
|
e2bf8cec8c815524a595096e47e7b93b23a34e70 |
|
20-Jan-2017 |
Srinivas Visvanathan <sriniv@google.com> |
Expanding CarDrawerActivity for nested navigation - CarDrawerActivity now works with CarDrawerAdapter and subclasses to display Drawer content. It includes a CarDrawerController that handles nested navigation (it maintains a stack of CarDrawerAdapter's). Also added progress-bar that can be displayed while loading the content for next level of drawer items. - Added CarDrawerAdapter and sublcasses CarDrawerListAdapter and CarDrawerEmptyAdater for use by consumers of CarDrawerActivity. Bug: 32019250 Test: Manually Change-Id: I0e3ed0c2fc7734d596ee4ca21dfefc6e17e18897
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/DrawerItemViewHolder.java
|
e439503e7b9f3ce33a3dfa2214833de0d07aab74 |
|
13-Jan-2017 |
Srinivas Visvanathan <sriniv@google.com> |
Switching layout in DrawerItemViewHolder - Switching to more flexible layout car_menu_list_item.xml. That's what older version used. Bug: 32019250 Test: Manually Change-Id: I77530bd659a43d950a8cfde0d773c8ad3b9cca19
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/DrawerItemViewHolder.java
|
d87b2a6cb1222d59ea14720d2fdc9a68fbd8a8a6 |
|
11-Jan-2017 |
Srinivas Visvanathan <sriniv@google.com> |
Using PagedListView in CarDrawerActivity drawer - CarDrawerActivity now provides a PagedListView for drawer items. Earlier it inflated a layout that sub-classes provided. This makes more sense since all apps will anyway use a PagedListView. - Adding DrawerItemViewHolder and DrawerItemClickListener shared components that apps can use with the PagedListView. Bug: 32019250 Test: Manually Change-Id: I36204284060a7d07a5778d1c35e479c6f2d2fdc2
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/app/DrawerItemViewHolder.java
|