• Home
  • History
  • Annotate
  • only in /frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/
History log of /frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84979a6b2874d09762404c3c8a902f4aad016d01 26-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Support GLIF preference

Bug: 26427729
Change-Id: Ie95b0031bacef316ccff9bc9f1a4b048016a9353
est/GlifPreferenceLayoutTest.java
est/GlifRecyclerLayoutTest.java
efd346d200a1649d94c5a1add1636de5b7d56eef 15-Mar-2016 Udam Saini <udam@google.com> [SetupWizard] Adds a new divider style for showing divider.

This style is used to determine if the divider item decoration should
check both the item view holder below and above where the divider would
draw itself. If set to true, both need to be true. By default, this is
set to either, so that a divider is drawn if either the item below or
above the divider allows a divider to be set.

bug:27619572
Change-Id: Ic0494542b3b62bf19061fb9feda52baac90f3972
est/DividerItemDecorationTest.java
ec9d8c8aa8fdeb6640fb0037b062bf10ca1c016b 09-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix showProgressBar for RecyclerLayout

Fix show and hide progress bar for RecyclerLayout by introducing
findManagedViewById method in SetupWizardLayout, so that it can
find progress bar even if it is not currently laid out in the view
hierarchy.

Also added setProgressBarShown(boolean) to make the interface
consistent with GlifLayout.

Change-Id: Icc44d91e2d6030b210304ad81c158be67b7050f1
est/SetupWizardPreferenceLayoutTest.java
est/SetupWizardRecyclerLayoutTest.java
3885d8491a008281d18ddbbabc5b8e26848fadcc 09-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Support preference v14

Add SetupWizardPreferenceLayout to support Preference v14 framework.

Bug: 26994868
Change-Id: I3b7a4b57cb4df6c46fdd868357bcbdaad39f1feb
est/SetupWizardPreferenceLayoutTest.java
est/SetupWizardRecyclerLayoutTest.java
7bc6f176937ed369b180fa89f6c311d2801f206c 23-Jan-2016 Maurice Lam <yukl@google.com> [SuwLib] Allow requiring scroll in lists

Add ListViewRequireScrollHelper and RecyclerViewRequireScrollHelper
that will require scrolling in those layouts. SetupWizardListLayout
and SetupWizardRecyclerItemsLayout are now wired properly with the
requireScrollToBottom() method to require scrolling.

Change-Id: I1086fe02374bfbbeb1ac3f8c4ca6981f3ced0df9
est/RecyclerViewRequireScrollHelperTest.java
5a4d6cdfb63240c41527ba80b7baddba8933d770 04-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] GLIF layout adjustment for headers

- Store the list item directly in the view holder and update in
onBindViewHolder, so that the click handler is not prone to adapter
position changes.
- Glif[List/Recycler]Layout now returns the wrapped adapter when
getAdapter is called.
- Disable dividers for header views

Change-Id: Ie782a4de06e2296d4996cb8b81b5d7d3fc834ccf
est/GlifRecyclerLayoutTest.java
180360409c9e4e9163c670ff48663244b4057eaf 14-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Add dividers to GLIF list layouts

Add dividers with inset support to GLIF list and recycler layouts.
Typical usage of this will be by specifying app:suwDividerInset to
either @dimen/suw_items_text_divider_inset or
@dimen/suw_items_icon_divider_inset (the default).

Bug: 25726515
Change-Id: I8f569680d71d1baba093b20f3d48570d53383acb
est/DividerItemDecorationTest.java
est/GlifRecyclerLayoutTest.java
b01f3ef075d501d1f61e6f61794a5cadd3ff2026 21-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement GlifRecyclerLayout

Bug: 25726515
Change-Id: Ibb60af51928bb5fc828761c55430cc8d31fe5c98
est/GlifRecyclerLayoutTest.java
a74bc1d5c6d7cb9e0f5add4c56a983cb492cb3c2 22-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Recycler item adapter support

Implement RecyclerView item adapter for an ItemHierarchy.

Change-Id: Id7e650fafa467ca7ee3c80102efc73d4323e5b1c
est/RecyclerItemAdapterTest.java