History log of /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/IconMixin.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3514ad526af3d95f61383ec374ea4c384ba9b540 17-Mar-2018 Maurice Lam <yukl@google.com> Add methods to set GLIF icon content description

Test: ./gradlew connectedAndroidTest
Bug: 74435529
Change-Id: I22e3abe8dce0663a7d1e7ee3050d327abeec4ad2
(cherry picked from commit c38af2fb55868523e5ddcceb6331947501f43adf)
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/IconMixin.java
97d3a11d5e6a2bf9ec3f50de7b77ef94333110d3 14-Feb-2018 Maurice Lam <yukl@google.com> Add setIcon(int) to IconMixin

This allows vector drawable compat to be used on pre-L.

Test: ./gradlew connectedAndroidTest
Change-Id: I405f28eae11e68532165f89b1c1a226972ee06a3
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/IconMixin.java
58195c5316855122593366bd867ed51a91bd5c11 03-Nov-2017 Maurice Lam <yukl@google.com> Hide icon view if icon is null

To remove the extra margin when the icon is not used.

Test: ./gradlew connectedAndroidTest
Bug: 68826871
Change-Id: Ic23307a28b2829fdbe029c61f912f04bab90ca13
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/IconMixin.java
7514f1cee29b3feb4822ce16945c1c312057d24f 19-Dec-2016 Maurice Lam <yukl@google.com> Implement Mixins for Templates

Implement Mixin functionalities, which defines part of a template
layout, making it reusable in different layouts. For example, the
HeaderMixin allows setting and getting the header text via the mixin,
which allows for clients which uses multiple different layuots to
simplify their code via something like
layout.getMixin(HeaderMixin.class).setText("Foobar");

Bug: 34163318
Test: ./gradlew connectedAndroidTest
Change-Id: I4348c8bb5b8e640b49c2be0c79c70aa85cf0ebc0
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/IconMixin.java