History log of /frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ButtonItemTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66815fe66392bcbb12e2fc93bbf326a5c2d8782f 13-Dec-2017 Maurice Lam <yukl@google.com> Revert "Revert "Changes needed to upgrade to new gradle version""

This reverts commit 46216d0e61318e7af168e9e903ef8d943bb49b2e.

Reason for revert: Roll forward
- Added ag/3351790 to the topic

Change-Id: I64990e558d3f77165ab3fe89006a02225b712257
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ButtonItemTest.java
46216d0e61318e7af168e9e903ef8d943bb49b2e 13-Dec-2017 Colin Cross <ccross@android.com> Revert "Changes needed to upgrade to new gradle version"

This reverts commit ba1332d1b4dd525a2ef313246482708cb2016052.

Reason for revert: Broke taimen builds in master

Change-Id: Iffffadbacae8c6c69907dcecc447f958cf6ce909
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ButtonItemTest.java
ba1332d1b4dd525a2ef313246482708cb2016052 06-Dec-2017 Maurice Lam <yukl@google.com> Changes needed to upgrade to new gradle version

- Add ignore for various lint errors that is introduced in the lint
update
- Remove GLIF Pixel themes as they are unused and causing lint errors
- Add flavor dimension "compat" as it is now required
- Replace *Compile with *Implementation in the gradle files, as
needed by the newer Gradle version
- Use build tools 27.0.0 to avoid the Gradle warning
- Use new Robolectric configuration mechanism and removed our old
hack, per http://robolectric.org/getting-started/

Reference: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

Test: Existing tests pass
Bug: 70287447
Change-Id: I505476ae3695cd06349766c5e6280299f779f272
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ButtonItemTest.java
d3ffc713be68823409d5dc6d2d44bb21bde5bfd0 28-Feb-2017 Maurice Lam <yukl@google.com> Add center alignment for 2017 themes

Add "GLIF Pixel" theme that is a drop-in replacement for
SuwThemeGlif, which will center align the header and description
text.

To use GLIF Pixel theme, simply set the activity theme (using
android:theme or Activity#setTheme) to SuwThemeGlifPixel and use the
GLIF layouts normally.

Other theme attributes like status bar background will be done in a
separate CL.

Test: ./gradlew connectedAndroidTest test
Bug: 35446596
Change-Id: I3edee9cf80c1c84018ed08f47f9859e51a3936e6
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ButtonItemTest.java
2831318df83781bb5bada256e35726612d225052 14-Feb-2017 Maurice Lam <yukl@google.com> Fix ButtonItem theme in appcompat

Inflate the button from XML rather than calling the constructor
directly, so that AppCompatActivity can use the injected layout
inflater to tint the button drawables.

- Migrated existing ButtonItemTest to robolectric
- Added new ButtonItemDrawingTest as instrumentation test to test
the drawing behavior. Created DrawingTestHelper and
DrawingTestActivity to help in testing draw behaviors in normal and
AppCompat contexts.

Bug: 35325693
Test: ./gradlew connectedAndroidTest
Change-Id: Ic2215f5510c246a861ab109e3dffee49f9cf9b3c
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ButtonItemTest.java