a007a0d2468a5014cda71e9df836bb994de85835 |
|
20-Mar-2017 |
Wenyi Wang <wenyiw@google.com> |
Fix keyboard navigation in drawer - by replacing OnClickListener with OnItemClickListener - Also remove the ripples on dividers and spacers. Bug: 34343480 Test: verified keyboard navigation works well in drawer; and verified drawer works the same as before w/o a keyboard. Change-Id: I277e0171474f1570b7d987ff5586d3c7ab931196
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|
70f291c40c66463d6ea8b76b28d0b6900682ccab |
|
17-Feb-2017 |
Wenyi Wang <wenyiw@google.com> |
Build list items first and then notify data set changed Bug: 35313285 Test: ran the following command 10 times and verified the crash didn't happen. Before the CL, usually there are 2-3 times of crash out of 10 attempts. adb shell monkey -p com.google.android.contacts --ignore-security-exceptions --monitor-native-crashes -s 493 -v -v -v 125000 Change-Id: Ic2ab30c55e9c6eb729f163b0ed11174f6f6340d4
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|
ef01c6ae9d121f2a1d1985763f2e61ee8f7c33d4 |
|
06-Feb-2017 |
Wenyi Wang <wenyiw@google.com> |
Show "Labels" header when group menus are available Bug: 35048258 Test: Manually verified "Labels" header shows up when either group writable account is available or group menus are available. Change-Id: I7aeb05ed61fa84123fa5c93da111e0526946b1e2
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|
474ecd467a9a5012c772a7658d79ff24fe5909ce |
|
24-Jan-2017 |
Wenyi Wang <wenyiw@google.com> |
Hide assistant menu in AOSP Contacts Bug: 34648583 Test: manually verified: - assistant menu doesn't show up in AOSP Contacts - assistant menu shows up in Google Contacts - new badge works for Google Contacts Change-Id: Ib3b17b5e9e6424a962a3a2b923ee2f311a4d235b
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|
1134a9908ffc9db33de512ddaf7969a8855488de |
|
10-Jan-2017 |
Wenyi Wang <wenyiw@google.com> |
Convert RecyclerView to ListView - To make drawer dragment work with account switcher easier Bug: 34062530 Test: quick sanity check Change-Id: I653ec656cd423c413c2aaa23244776ce697a5904
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|
b8b86d1a272b313fd2b3ff9e324ce014f24aa44d |
|
08-Jan-2017 |
Wenyi Wang <wenyiw@google.com> |
Add loaders to DrawerFragment and make status bar transparent - This CL addresses a TODO to load groups and filters from DrawerFragment directly. - Also, avoiding adding fragments to FragmentManager of a Fragment works around a crash on LMP. - Wrap RecyclerView with a FrameLayout to go full screen with a ScrimDrawable Bug: 34062530 Test: add and remove accounts and observe changes in side nav Change-Id: I63943a9d596aa32301609d6ab1b9d49c0c784356
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|
2829deb584a17106ee8e56c8c0bf4f509774ee4a |
|
04-Jan-2017 |
Wenyi Wang <wenyiw@google.com> |
Convert NavigationView to Fragment (1/2) - Replace NavigationView with DrawerFragment - Load groups and filters in DrawerFragment, rather than in PeopleActivity directly - based on RecylcerView, which seems more future-proof - LTR layout and A11Y is handled - new badge is implemented - menu selection is implemented Bug: 34062530 Test: quick sanity check Change-Id: I630978e64dc4fd386e25cedfd04f53ea2bd8679f
/packages/apps/Contacts/src/com/android/contacts/drawer/DrawerAdapter.java
|