• Home
  • History
  • Annotate
  • only in /frameworks/opt/setupwizard/library/main/
History log of /frameworks/opt/setupwizard/library/main/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd6650c958f74e30335c34218198e9aa067e3965 09-Jun-2018 Maurice Lam <yukl@google.com> Fix Partner.getText

Test: ./gradlew test
Bug: 109781942
Change-Id: I06c3be06def30803e5dda3069686f0ff510b804d
(cherry picked from commit 466c50ab5c4943c0c9a139d42a1b4d9af7d65a02)
rc/com/android/setupwizardlib/util/Partner.java
e58194099d9133ce7b2e19fe7c717679b62fddb2 06-Apr-2018 Maurice Lam <yukl@google.com> Revert "Revert "Add workaround for touch event propagation""

This reverts commit b268a8c365a4c9dcb7b1382a7ce3ec5607b22de0.

Rolling forward with suppress for the lint errors

Test: ./gradlew lint
Bug: 77338508
Change-Id: I9582bfbb4c73ae60a15e8285facf20da458b9690
rc/com/android/setupwizardlib/view/TouchableMovementMethod.java
a6d66b41b08b2d612da1a3e27c651053ceb7a871 06-Apr-2018 Maurice Lam <yukl@google.com> Revert "Add workaround for touch event propagation"

This reverts commit e4475dcf52c1235a7d9756b454fa81fb4b54726c.

Reason for revert: Breaks ub-setupwizard-master build (lint error)

Bug: 77338508
Test: ./gradlew lint
Change-Id: I251ff930b7d8391db3ea55597fa42f491cdff963
rc/com/android/setupwizardlib/view/TouchableMovementMethod.java
e4475dcf52c1235a7d9756b454fa81fb4b54726c 05-Apr-2018 Maurice Lam <yukl@google.com> Add workaround for touch event propagation

In TextView with links, onTouchEvent always return true regardless of
return value from the movement method because View#onTouchEvent is
hard coded to return true whenever the view is clickable.

In RichTextView, add a layer of abstraction to allow the movement
method to override the return value. TouchableLinkMovementMethod is
an implementation added, which will consume the event only when a
link is being touched.

Test: ./gradlew test
Bug: 77338508
Change-Id: I761579d6f153a41beb979acd88a4090eb3998cf3
rc/com/android/setupwizardlib/view/TouchableMovementMethod.java
618a4449bb3e9be43586040ea2fb9a6371365ae7 06-Mar-2018 Maurice Lam <yukl@google.com> Add touch feedback to links

- Clear selection after LinkSpan is clicked so that the highlight
effect will be cleared when the tap completes
- Set focusableInTouchMode to true and revealOnFocusHint to false
in RichTextView for N MR1 or above to allow the highlight effect
to be visible in touch mode.

Test: ./gradlew test connectedAndroidTest
Bug: 73350031
Change-Id: Ibb6f67102775802cdfebaa1529c09d936b4096cb
(cherry picked from commit bc1c7a159c14f8b8f532fec60681d34771cd7909)
rc/com/android/setupwizardlib/span/LinkSpan.java
1643b5132fbbbc376279785a512d93adc7a46cd7 03-Apr-2018 Maurice Lam <yukl@google.com> Add padding to edit text

Test: Manual
Bug: 69930300
Change-Id: I285f998fb36ef9dbf5132e6a1e203f01071418bb
es/values-v21/styles.xml
es/values/dimens.xml
95d8b7ea7421b88f10ab8be697b99f03509d5308 23-Mar-2018 Maurice Lam <yukl@google.com> Merge "Revert "Update fourcolor progress bar"" into pi-dev
fe2343b05e8f91c364dcb9f8d2596e3a469a142e 21-Mar-2018 Maurice Lam <yukl@google.com> Revert "Update fourcolor progress bar"

This reverts commit b5a2d11440eab84ef1ae1f44fb29b0690038c8e5.

Reason for revert: UX likes the old blue progress bar better

Bug: 63074068
Change-Id: Ide8c1117e4d4aae3016046641a1ff9880dec0f81
es/drawable-v21/suw_fourcolor_progress_bar.xml
es/values-v21/styles.xml
es/values/dimens.xml
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)
rc/com/android/setupwizardlib/template/IconMixin.java
b5a2d11440eab84ef1ae1f44fb29b0690038c8e5 10-Mar-2018 Maurice Lam <yukl@google.com> Update fourcolor progress bar

Test: Manual. Existing tests pass
Bug: 63074068
Change-Id: I52a1704c39a9a54f9a4e79f42d174a20ee96c310
(cherry picked from commit 83817ea0336e6d9a217b4c4585b11dbaf3eb740a)
es/drawable-v21/suw_fourcolor_progress_bar.xml
es/values-v21/styles.xml
es/values/dimens.xml
15d9037e89d502c7deb9cbf81c0407d433a5706b 09-Mar-2018 Maurice Lam <yukl@google.com> Add touch feedback to tertiary buttons

Test: Manual, updated `./gradlew test`
Bug: 29574531
Change-Id: I1db6beb3bd4d6c4ab34e7dfeab79ed8976756332
(cherry picked from commit fc01f70b288135f0c4654a4c16a023f6fd52ebd0)
es/values/dimens.xml
es/values/styles.xml
56ecb4d1e9cea33a978ab89b47accdc09c2b04cf 06-Mar-2018 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: If98c408c53ad5ceae4554fff46d8066558d0279c
Auto-generated-cl: translation import
es/values-as/strings.xml
es/values-or/strings.xml
bf0415d6a8f5f4c11da6c71b49753c26629e47f7 02-Mar-2018 Maurice Lam <yukl@google.com> Add null check for MediaPlayer

In IllustrationVideoView, in case creation of media player failed,
check for null and throw WTF instead of crashing with null pointer.

Test: ./gradlew test
Bug: 74090736
Change-Id: Id63027067cc687516f585503b5218f4467845039
rc/com/android/setupwizardlib/view/IllustrationVideoView.java
d1d889deee57761e14555051bc1c7cd712f8d5e9 23-Feb-2018 Maurice Lam <yukl@google.com> Set corner radius for GLIF buttons

In GLIF v2, the corner radius stays at 2dp, but now referencing a
resource defined inside the library itself.
In GLIF v3, the corner radius is 4dp. Note that this only affects
device running P or above since the corner radius API is new.

Test: Manual + Existing tests pass
Bug: 73252680
Change-Id: Ia7110b097c5217b54ed363939158d1960f56f02a
es/values/attrs.xml
es/values/dimens.xml
a70f6139a21dfd0a520ca872b5f4fa88df22b796 20-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Set CheckableLinearLayout to focusable"
b3617935a276aab4c72c11da340a1096d96225d7 20-Feb-2018 Maurice Lam <yukl@google.com> Set CheckableLinearLayout to focusable

So that the layout can be expanded using keyboard navigation.

Test: ./gradlew test
Bug: 72835973
Change-Id: I4fb22e0579c73cb423d52354a5887b13cc1ea77d
rc/com/android/setupwizardlib/view/CheckableLinearLayout.java
647b83757b7c257e2f0e800ee79deb4605a9abdc 17-Feb-2018 Maurice Lam <yukl@google.com> Suppress / fix error prone warnings

Deal with the new set of warnings introduced by new error prone
version.

Test: `make` doesn't spit out warning messages anymore
Change-Id: I1eee8e5f89f3726e9b66f0bd3fe86154ebb4b79a
rc/com/android/setupwizardlib/TemplateLayout.java
rc/com/android/setupwizardlib/view/Illustration.java
f034e011b28982afa69d8198bb9f56a589e19808 16-Feb-2018 Maurice Lam <yukl@google.com> Use google-sans-medium for GLIF buttons

Test: Manual, Existing tests pass
Bug: 73252680
Change-Id: Idb6c8821fc07eceae86f5574e3f4ec82cf3fcb8f
es/values/config.xml
af1e11f0746eb35cf2d624cef59876aba86676d0 14-Feb-2018 Maurice Lam <yukl@google.com> Merge "Add setIcon(int) to IconMixin"
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
rc/com/android/setupwizardlib/template/IconMixin.java
67c5421074b7395bc9f6a69412f0c61404b2f457 14-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add method to retrieve color from partner apk"
9f0065b61120ff3814a28395b57f79d499079bb4 14-Feb-2018 Ajay Nadathur <ajayns@google.com> Add method to retrieve color from partner apk

bug: 73077257
Test: Manually tested and verified
Change-Id: Ia90998780913966d3953011591d9f46e088ef963
rc/com/android/setupwizardlib/util/Partner.java
267a0cc22a71b37b71b3e79da2ccaace5a185123 13-Feb-2018 Maurice Lam <yukl@google.com> Add navigation bar divider color

Test: Manual
Bug: 72750512
Change-Id: Id2d80d618134056edf95b183943690c33fdbd763
es/values/colors.xml
c9c5c4431a920e8a22d96bf3721e2c5377c9b57b 02-Feb-2018 Maurice Lam <yukl@google.com> Set the back button sysUiVisibility as well

Changes to window sysUiVisibility is not picked up after the window
is laid out, so add a call to set the decor view's sysUiVisibility as
well.

Test: ./gradlew connectedAndroidTest
Bug: 72840994
Change-Id: I6f0744599f46adf1840738f226b4394e5b7ed1df
rc/com/android/setupwizardlib/util/SystemBarHelper.java
f2c8c89ad6048dd304f36928f1cddacbe7dbd920 30-Jan-2018 Maurice Lam <yukl@google.com> Add timeout to consecutive tap gesture

Test: ./gradlew test
Bug: 72202690
Change-Id: Ia227cc38cfb54e4f33d34adfffdc6c38543060d5
rc/com/android/setupwizardlib/gesture/ConsecutiveTapsGestureDetector.java
78bc2e0c900935ed00e111a0c4b93b50d883e2b9 12-Jan-2018 Maurice Lam <yukl@google.com> Implement GLIF v3 button style

Buttons are now sentence case and uses Google sans font if available.

Test: ./gradlew test
Bug: 71759812
Change-Id: Ibb42b58306163f387837600ca52e73065c2b0d9d
es/values/attrs.xml
es/values/config.xml
es/values/styles.xml
cd62078b7cc0eb272104769e48156e66463a95a2 09-Jan-2018 Maurice Lam <yukl@google.com> Use light nav bar for GLIF V3 on API v27+

Test: ./gradlew test
Bug: 70896202
Change-Id: I742e807bca40b0a77158293f0d0cce52bc0cad3f
es/values/colors.xml
69e544a563c8590e63367d84a1590752587d59cc 12-Jan-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "More app bar support in GlifLayout"
f344307345a421dc89650799c38ad74ced44ee38 11-Jan-2018 Maurice Lam <yukl@google.com> Add error-prone to gradle build

So that error prone failures can be caught before dropping to
Google3.

Test: make
Change-Id: I0ff6f7a4c124433d907703fd1204395c34bab6bf
rc/com/android/setupwizardlib/items/ButtonBarItem.java
3a3d478a4b8805992f9558fa8128261970d2ee99 03-Jan-2018 Maurice Lam <yukl@google.com> More app bar support in GlifLayout

- Add app:suwStickyHeader attribute to GlifLayout to specify a
custom app bar layout, which can be a Toolbar.
- Create indirection attribute ?attr/suwGlifIconStyle to allow apps
to override the GLIF icon style.

Test: ./gradlew test
Bug: 68826871
Change-Id: I6384db970582c56431b6085bb172f6ca28099f9d
es/layout/suw_glif_blank_template_content.xml
es/layout/suw_glif_header.xml
es/layout/suw_glif_list_template_content.xml
es/layout/suw_glif_template_content.xml
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/TemplateLayout.java
5153bc0ae2fbe31e66a83cd014df0e7f7a7b436f 20-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Extend Alert theme and not dialog"
0fcfb29db37045d6606a1623d6947aa69311413b 20-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Change accent color in GLIF V3"
c96284d7b6de85967e31ad0497d891dbabdb7e00 20-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Rename GM progress bar to FourColor"
7285677e040945d6b4235b40a7f70317b9b0eaad 19-Dec-2017 Ajay Nadathur <ajayns@google.com> Extend Alert theme and not dialog

bug: 69930374
Test: Manually tested and verified
Change-Id: Id005df7bd78c8fc25ba61fca417be237ceebb046
es/values-v22/styles.xml
7e2975b101dfd7a4e24c52918d3ed5e7d3ae820a 15-Dec-2017 Ajay Nadathur <ajayns@google.com> Update dialog styles to material 2

bug: 69930374
Test: Manually tested
Change-Id: I3921dc09dca9c11e7c5b86e29f3ab88436559578
es/values-v22/styles.xml
es/values/styles.xml
e22d7c2b358d9c0f362627d3194b051719f2ba5c 16-Dec-2017 Maurice Lam <yukl@google.com> Change accent color in GLIF V3

Change the accent color to Google Blue 600 for better contrast. The
button color change in ag/3301076 was mostly reverted because the
color will be automatically picked up from the updated accent color.

Test: Manual, Existing tests pass
Bug: 69930196
Change-Id: I2fad5b029357afec9402ef8de5810fa0e092a713
es/color-v23/suw_flat_button_highlight.xml
es/values/attrs.xml
es/values/colors.xml
es/values/styles.xml
2cb1021b95ed1d74aa0357db93f3f8155698a4af 15-Dec-2017 Maurice Lam <yukl@google.com> Rename GM progress bar to FourColor

Test: Existing tests pass
Bug: 63074068
Change-Id: Ib0ab34b556934de71920862fbd1d4b194f3db8a8
es/layout/suw_glif_loading_screen.xml
es/values-v21/styles.xml
462823c777bad4404ec02c80124dc51926e75e29 14-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update text field style to Material 2 for suw"
37ba83338aa29464357f4a03df8c7b4038d932e7 14-Dec-2017 Maurice Lam <yukl@google.com> Merge "Revert "Revert "Changes needed to upgrade to new gradle version"""
60c18c807b38550403284997db6d79aa416eb9fa 12-Dec-2017 Ajay Nadathur <ajayns@google.com> Update text field style to Material 2 for suw

bug: 69930300
Test: Manually tested
Change-Id: I3079891881f00ab38d5d3bab8291e8ff1829e491
es/drawable-v21/suw_edit_text_bg_shape.xml
es/drawable-v21/suw_edittext_bg.xml
es/values-v21/styles.xml
es/values/attrs.xml
es/values/colors.xml
es/values/dimens.xml
es/values/styles.xml
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
es/values/styles.xml
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
8f8401475a27d1a6a54ec8fbc12fea6f53a9bac7 13-Dec-2017 Colin Cross <ccross@android.com> Merge "Revert "Changes needed to upgrade to new gradle version""
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
es/values/styles.xml
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
f01f59b6a425b411b5d50c41c85da4842f443e1f 13-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Changes needed to upgrade to new gradle version"
ceea5ff728985c6a43c7c6de61ed2b7f530db483 05-Dec-2017 Maurice Lam <yukl@google.com> Implement new XL Progress bar

For screens without much content, the new style is to use an extra
large progress bar (same size as illustration).

Bug: 63074068
Test: ./gradlew test
Change-Id: If139e8eeb555cc684ce43a91524ad2da00b7dc93
es/drawable-v21/suw_fourcolor_progress_bar.xml
es/layout/suw_glif_loading_screen.xml
es/values-v11/styles.xml
es/values-v21/styles.xml
652b5baba3bc94a2e08f8ffba85d2719f62edf6f 07-Dec-2017 Ajay Nadathur <ajayns@google.com> Change SUW footer height

- Changed the height of footer to 72dp from 80dp
bug: 69930241
Test: Manually tested and verified the height of footer

Change-Id: I1e434d5d15b68e095b5baf8687d1cc1a7ec313fe
es/values/dimens.xml
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
es/values/styles.xml
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
ac5ce544be357085d4c28475db7613d4da4a32c0 05-Dec-2017 Maurice Lam <yukl@google.com> Merge "Add GLIF v3 theme and make buttons Google Blue 600"
a5cc73845d6c947d0277478c6a09e2c99e45b6e6 05-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Specify colorBackground in material theme"
8b52391bba333441da82aed544bd58fae9586f15 01-Dec-2017 Maurice Lam <yukl@google.com> Add GLIF v3 theme and make buttons Google Blue 600

Test: ./gradlew test
Bug: 69930196
Change-Id: Iba6be8daad2f27925647e43a6a1c5e19c03fb7bb
es/color-v23/suw_flat_button_highlight.xml
es/values/attrs.xml
es/values/colors.xml
es/values/styles.xml
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
4d2145974cef3022ec4162d77ef50d74a720c4f0 22-Nov-2017 Maurice Lam <yukl@google.com> Specify colorBackground in material theme

Lollipop and Marshmallow have different background colors. Specify
the color in SuwThemeMaterial so they are consistent across OS
versions.

Test: Manual
Bug: 69563212
Change-Id: Ice36a8f74796c0dd804fa897d74188c9ff88354d
es/values/colors.xml
e2d1593a5a52765e60094542141b75c4e9a0ca04 21-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Always compose GlifPatternDrawable using alpha"
33b56523998c90d5313b3f8f7a1f2eb29099e562 08-Nov-2017 Maurice Lam <yukl@google.com> Always compose GlifPatternDrawable using alpha

The color filter approach is broken in P, and the alpha approach
achieves the same result despite being slightly less efficient.

Test: Manual
Bug: 69039551
Change-Id: I1e1ee0bc89723995da69f272995b4825316a78dc
rc/com/android/setupwizardlib/GlifPatternDrawable.java
e9637dfe4be78747a96fc5a9fd8f44edf7bbeb65 07-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Allow GlifLayout to not request fullscreen"
00e551ce2deaeb4414fc5a387d8ea8de6a19876c 03-Nov-2017 Maurice Lam <yukl@google.com> Allow GlifLayout to not request fullscreen

For usage with app bars or inside another layout, GlifLayout should
not request fullscreen. Add a flag to allow disabling that.

Test: ./gradlew test
Bug: 68826871
Change-Id: Ie6a7f91628af5b861e8ba91e62a3f1c9c390aebf
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.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
es/layout/suw_glif_header.xml
rc/com/android/setupwizardlib/template/IconMixin.java
88d7f0d37007e13601b6ead3ca039ece20ef94d7 31-Oct-2017 Ajay Nadathur <ajayns@google.com> Intent extra PRE_DEFERRED_SETUP should be copied

Test: Robolectric tests updated, manually tested and verified extra
copied
Change-Id: I282ab5e0121fb41be5f082eec77019d3e6d3a369
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
beea4d67b53a2ee83eb85df452fdac5add971754 17-Oct-2017 Ajay Nadathur <ajayns@google.com> Add "isPreDeferredSetupWizard" to WizardManagerHelper

bug: 67782334
Test: Manually tested
Change-Id: Ic75eac6fd743a526e2cf61a12eecf66da7fa02b1
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
03d0ddd3cb4c314fb5e6e6c19e02e34319246773 06-Sep-2017 Ajay Nadathur <ajayns@google.com> Add API to expose player's current position am: 616fd7a886
am: 70a4a1f7f3

Change-Id: I5749c42b49589fab0f29108a6a3be41770fba228
70a4a1f7f3ee4036f7c994f8f115e6018ab57382 06-Sep-2017 Ajay Nadathur <ajayns@google.com> Add API to expose player's current position
am: 616fd7a886

Change-Id: I91c21161d96fad0c9744d13fcc7fcd41bae766c8
8d48b26adcbac4a42edffffb9e699eb38a1a961d 06-Sep-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: Ic3bd4a006b17bcb36e60b3b5f5fcf22242d6711b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
es/values-bn/strings.xml
es/values-hi/strings.xml
es/values-te/strings.xml
616fd7a886200e2366cfc0dca4b9050bf61a6f30 25-Aug-2017 Ajay Nadathur <ajayns@google.com> Add API to expose player's current position

bug: 63084868
Test: Manually tested
Change-Id: Ic0807e9acd8ab37b910ecc718f17044eefa80c15
rc/com/android/setupwizardlib/view/IllustrationVideoView.java
f24b902f26eb2e1c25736c0f205ac9e215b91099 30-Aug-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I334f713d0e23b35ceebf9ebeb45308b0dfd004eb
es/values-hi/strings.xml
es/values-mr/strings.xml
es/values-te/strings.xml
74098f24035dcc157fe9a9cd542defcd6fefa60e 27-Aug-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: Ica3a3f0e2bbb680dfb35c86e0940fe06c236d998
Auto-generated-cl: translation import
es/values-mr/strings.xml
16bb52a67c60c147d5d681ffcf573acedb5ba7e0 24-Aug-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: I9a663646228e95ae006a0b1fd328e1c06ff98c33
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
es/values-hi/strings.xml
43140832d2721bdc033071ff115bdcb66eebfded 21-Aug-2017 Maurice Lam <yukl@google.com> Merge "Add getText to Partner.java" into oc-mr1-dev am: 81f18acfda
am: 547275a114

Change-Id: If7c36a54b2a46a2b5fde7935ad8c676f4b016485
547275a114cf01acae1bb77ffc41bed109cb5b58 21-Aug-2017 Maurice Lam <yukl@google.com> Merge "Add getText to Partner.java" into oc-mr1-dev
am: 81f18acfda

Change-Id: If57c9f11d5a33b693af9baec5c359264eb61a622
81f18acfdac60f419b90eb31b6e0c6700807ef9a 21-Aug-2017 Maurice Lam <yukl@google.com> Merge "Add getText to Partner.java" into oc-mr1-dev
cb38f9b86c595ad8010384c331edcecdbae2dcb3 18-Aug-2017 Maurice Lam <yukl@google.com> Add getText to Partner.java

Test: Existing tests pass
Bug: 64547057
Change-Id: Ie98297d50a545952e861f79fba9c680550c64d29
rc/com/android/setupwizardlib/util/Partner.java
b1d671824517f5303961cf3d802ed515194f9aa6 16-Aug-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ia3952b887f83e1af5e0134455694dec6325b667d
es/values-en-rCA/strings.xml
fef3d11f566d2da42d839266a5ba18b91be6e8a9 12-Aug-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: Ic1e67887f748126543ebb9bcf583f98f1bdb4bf6
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
es/values-en-rCA/strings.xml
es/values-en-rXC/strings.xml
61e7b52b325b928b985952d18a8c1057a23db091 06-Aug-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: I846a256b0c7f168dac7b372520de7120e9a4cd58
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
es/values-en-rXC/strings.xml
321851f6ffaf9af8c26d934689675a55b4c43257 26-Jul-2017 Bill Yi <byi@google.com> Revert "Import translations. DO NOT MERGE"

This reverts commit 6042ea8d3f0c789e61b8530a815f0da253996d17.

Change-Id: I22b5dbda88c93cd028745fc4e9582150cec8def8
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-az/strings.xml
es/values-b+sr+Latn/strings.xml
es/values-be/strings.xml
es/values-bg/strings.xml
es/values-bn/strings.xml
es/values-bs/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et/strings.xml
es/values-eu/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl/strings.xml
es/values-gu/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy/strings.xml
es/values-in/strings.xml
es/values-is/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka/strings.xml
es/values-kk/strings.xml
es/values-km/strings.xml
es/values-kn/strings.xml
es/values-ko/strings.xml
es/values-ky/strings.xml
es/values-lo/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk/strings.xml
es/values-ml/strings.xml
es/values-mn/strings.xml
es/values-mr/strings.xml
es/values-ms/strings.xml
es/values-my/strings.xml
es/values-nb/strings.xml
es/values-ne/strings.xml
es/values-nl/strings.xml
es/values-pa/strings.xml
es/values-pl/strings.xml
es/values-pt-rBR/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sq/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta/strings.xml
es/values-te/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur/strings.xml
es/values-uz/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
6042ea8d3f0c789e61b8530a815f0da253996d17 25-Jul-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: I17c2c5957d9eaab581330b20fc6925def9a0d111
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-az/strings.xml
es/values-b+sr+Latn/strings.xml
es/values-be/strings.xml
es/values-bg/strings.xml
es/values-bn/strings.xml
es/values-bs/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et/strings.xml
es/values-eu/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl/strings.xml
es/values-gu/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy/strings.xml
es/values-in/strings.xml
es/values-is/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka/strings.xml
es/values-kk/strings.xml
es/values-km/strings.xml
es/values-kn/strings.xml
es/values-ko/strings.xml
es/values-ky/strings.xml
es/values-lo/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk/strings.xml
es/values-ml/strings.xml
es/values-mn/strings.xml
es/values-mr/strings.xml
es/values-ms/strings.xml
es/values-my/strings.xml
es/values-nb/strings.xml
es/values-ne/strings.xml
es/values-nl/strings.xml
es/values-pa/strings.xml
es/values-pl/strings.xml
es/values-pt-rBR/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sq/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta/strings.xml
es/values-te/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur/strings.xml
es/values-uz/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
2fc80693722673f25c67d062c6e7cc2436acc24b 07-Jul-2017 Maurice Lam <yukl@google.com> Add stackable button bar style

The gravity change caused incompatibility with existing code. So
instead we create SuwGlifButtonBar.Stackable style for the stackable
version.

Test: Manual
Bug: 63399819
Change-Id: I146dbc4f7f2a2019cfe964f59f0a73c099845f30
es/layout/suw_glif_footer_button_bar.xml
es/values/styles.xml
5e98278ebfad7aa858fbfcc4dd53db7442f9bc15 28-Jun-2017 Maurice Lam <yukl@google.com> Add ButtonBarLayout

Add custom (linear) layout which will stack the buttons vertically
when there is not enough horizontal space.

Test: Manual
Bug: 62488121
Change-Id: I8d5cc72d07514627e800382267f8850531fce3d2
es/layout/suw_glif_footer_button_bar.xml
es/values/config.xml
es/values/dimens.xml
es/values/styles.xml
rc/com/android/setupwizardlib/template/ButtonFooterMixin.java
rc/com/android/setupwizardlib/view/ButtonBarLayout.java
5e12def0e205065561e1e64c849bcc7e1df2cccb 31-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Make IllustrationVideoView's MediaPlayer protected"
ffb2d8f2de805c6e717053caef48db1839e00d64 25-May-2017 Maurice Lam <yukl@google.com> Make IllustrationVideoView's MediaPlayer protected

So that subclasses can listen to events from the media player.

Test: Existing tests pass
Bug: 37752561
Change-Id: If1c4e3bec245b3e72f183dc9a11753418d74f13a
rc/com/android/setupwizardlib/view/IllustrationVideoView.java
198bd0ddb15ad479e0d0d7214645a3c067f271a1 19-May-2017 Maurice Lam <yukl@google.com> Make scaled illustration videos less jagged

Apply a workaround, forcing the textureview to be scaled in order to
apply the anti-aliasing effects to the video.

Test: Manual
Bug: 35950394
Change-Id: I2a1d04b818d2b27b1acd2f77f8201ba1087f2197
rc/com/android/setupwizardlib/view/IllustrationVideoView.java
9395f90b26e072b2748db315aaffef27c257a82d 13-May-2017 Maurice Lam <yukl@google.com> Add IllustrationVideoView to setup wizard library

- Upstreamed setup wizard's IllustrationVideoView to SuwLib
- Modified the view to automatically listen to window focus changes
to play and pause the video
- The view will now release the MediaPlayer as well in
onSurfaceTextureDestroyed
- Added checkstyle_suppression XML so it will ignore the
"__constructor__" magic method name from the style check.

Bug: 36584499
Test: ./gradlew connectedAndroidTest test
Change-Id: Id045467d5d544a5f54464a0c938d3d56e758e455
es/values/attrs.xml
rc/com/android/setupwizardlib/view/IllustrationVideoView.java
2da78450d5e9723ca93fa39bfdc3f8dd27b41e89 12-May-2017 Maurice Lam <yukl@google.com> Add layout to size illustrations

- Add FillContentLayout, which is a (frame)layout which, when set
to fill the remaining space of its parent, will make sure its
children are sized between minWidth/minHeight and
maxWidth/maxHeight.
- Renamed styleable SuwIntrinsicSizeFrameLayout to be consistent with
the name of the view that uses it.

Test: ./gradlew connectedAndroidTest test
Bug: 38210310
Change-Id: I5b2aa6cfe8b4a05843de25d39cae776609f3d161
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/com/android/setupwizardlib/view/FillContentLayout.java
rc/com/android/setupwizardlib/view/IntrinsicSizeFrameLayout.java
3fdc4007fdd9928b18f0a9480f0ccc5ef4388de8 09-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Import translations. DO NOT MERGE"
8223d9eb1d29950449cc87adc58b9bcc59bd7601 09-May-2017 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: I5cce964de505aba5e877b71bbd09cdedf1c4611a
Auto-generated-cl: translation import
es/values-pt-rBR/strings.xml
es/values-pt/strings.xml
41b878f67035ddb859785b34ddd921962f8c1131 09-May-2017 Maurice Lam <yukl@google.com> Add footer stubs to blank template am: af3208e2c3
am: eaea02f277

Change-Id: Idb8d7939dd0af381296ece6329f81ed4142d08e2
af3208e2c321905c04aea593a6ed3064908b37ef 08-May-2017 Maurice Lam <yukl@google.com> Add footer stubs to blank template

Test: ./gradlew test
Bug: 38043070
Change-Id: I91aae8667f1eef37f8c3cccb879871afefb90823
es/layout/suw_glif_blank_template_card.xml
es/layout/suw_glif_blank_template_compact.xml
es/layout/suw_glif_blank_template_content.xml
8d64616b817eaaf3c761969ef19e608f278614a7 04-May-2017 Andrew Sapperstein <asapperstein@google.com> Update setupwizardlib to use google-sans.

Bug: 36855735
Test: manual, opened fingerprint settings
Change-Id: I79eb2ee5e7bfb5a98d87e41d89c06bb7014a22e4
es/values/styles.xml
c8acb8d45326291ba39f5d75fed18dd412f4fb5f 02-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Set GLIF v1 background color to true white/black"
c57872c2603e788b3802d340f55079ceffe3e25d 01-May-2017 Maurice Lam <yukl@google.com> Set GLIF v1 background color to true white/black

To make sure the same video asset can be used for both GLIF v1 and
v2, change the background of v1 to be #ffffff and #000000 to match
GLIF v2.

Bug: 37686500
Test: Manual. Existing tests updated
Change-Id: I70c60f8a9dfade6dbac376f01f26023bac1c7aee
es/values/colors.xml
es/values/styles.xml
0679c56ba4c46a70d8c9c48d89be833e6390b2b5 01-May-2017 Maurice Lam <yukl@google.com> Merge "Fix primary button shadow clipping"
d3b18ba144783829ce8e0cd127c99de2ff5614cd 29-Apr-2017 Maurice Lam <yukl@google.com> Fix primary button shadow clipping

The button on the right side of the button bar was previously clipped
by the parent layout.

Bug: 37856001
Test: Manual
Merged-In: I4c422b6e4158aea5a4c5992962943bd0e8f2ecc2
Change-Id: I4c422b6e4158aea5a4c5992962943bd0e8f2ecc2
es/values/styles.xml
c1f3d2dd00158bbc802295dd3432dd7889f78286 29-Apr-2017 Maurice Lam <yukl@google.com> Fix primary button shadow clipping

The button on the right side of the button bar was previously clipped
by the parent layout.

Bug: 37856001
Test: Manual
Change-Id: I4c422b6e4158aea5a4c5992962943bd0e8f2ecc2
es/values/styles.xml
364d9cd8b8274709e46414b1d1bf6d91ec97160c 28-Apr-2017 Ido Ofir <iofir@google.com> Fix an issue with deferred setup wizard flag not being copied to new
intents. Also adds a new helper function to check said flag.

Test: added robolectric tests

Change-Id: I261dd01b81700ef27f7ae07580d53ef40531a596
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
f4ea6284112411bcfaf50628ef70019f6e08f68b 27-Apr-2017 Maurice Lam <yukl@google.com> Merge "Allow setting DividerInsetEnd"
9d04ba9b03b6bb074bfc41665021e3a1d4b43013 27-Apr-2017 Maurice Lam <yukl@google.com> Merge "Update background colors"
6011b35deae30839cd454e0ec5866487e90860f5 26-Apr-2017 Maurice Lam <yukl@google.com> Allow setting DividerInsetEnd

- Added XML attribute suwDividerInsetEnd, and replaced
suwDividerInset with suwDividerInsetStart.
- Modified the themes so that the divider insets are set
automatically. If the activity uses GLIF (v1) or material, and the
list does not have icons, it should set
app:suwDividerInsetStart="?attr/suwDividerInsetStartNoIcon"
in the Glif[Recycler/List]Layout

Test: ./gradlew connectedAndroidTest test
Bug: 37677772
Change-Id: Ia4cb9954dd7e3c59cbc72db8937989557689061b
es/values-sw600dp/dimens.xml
es/values/attrs.xml
es/values/styles.xml
rc/com/android/setupwizardlib/GlifListLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/template/ListMixin.java
04842698dfd4bd6a9a2d941b641e979bc7505686 26-Apr-2017 Maurice Lam <yukl@google.com> Update background colors

Update light theme background color to real white #ffffff,
and dark theme background color to real black #000000 for GLIF v2.

Test: Manual
Bug: 37686500
Change-Id: Ic013d23ebba24350e0a0598ef9d78a1c13e46592
es/values/colors.xml
es/values/styles.xml
3bc363635d113bc30b65617c34592b6d28773f99 21-Apr-2017 Maurice Lam <yukl@google.com> Merge "Update tertiary button style"
3ef160726f24ee064a368942dc6c84a1655f8eae 21-Apr-2017 Maurice Lam <yukl@google.com> Update tertiary button style

- Use Roboto medium for v21+ (That font is not supported for versions
below that)
- Center align the link in GLIF v2

Test: Manual
Bug: 37552391
Change-Id: I39a9c54983c2081b2c7eaabea39d2f1ce496be04
es/values-v21/styles.xml
es/values/styles.xml
b4500f7c3f872c73fcca9ba6447bc61da421b0a9 21-Apr-2017 Maurice Lam <yukl@google.com> Merge "Update footer style to match redlines"
31d308a933f9472cf5f56eb0c10febb77e793b8f 21-Apr-2017 Maurice Lam <yukl@google.com> Merge "Allow set LinkSpan click listener on RichTextView"
c49fff1a7353de186c2f5dfabadfd4aeec27effc 20-Apr-2017 Maurice Lam <yukl@google.com> Update footer style to match redlines

- Removed minimum width on the primary button
- Removed bottom padding, so the buttons are now perfectly center
aligned

Test: Manual + existing tests pass
Bug: 35448201
Change-Id: I328fab1a13587c43b8add8902f74bd528f5822f7
es/values/dimens.xml
51f4609c813c2336bd12eaf7d6a719fd7f2fc5f2 19-Apr-2017 Maurice Lam <yukl@google.com> Allow set LinkSpan click listener on RichTextView

In addition to allowing setting a LinkSpan click listener in the
context, also allow setting it on RichTextView itself.

Test: ./gradlew connectedAndroidTest
Change-Id: I6b300068db0e68d351d635897220535a5aa92c93
rc/com/android/setupwizardlib/span/LinkSpan.java
bb9086d69daf97f22eb096ecb6055b8360958ac7 15-Apr-2017 Ajay Nadathur <ajayns@google.com> Customize Item callbacks and support existing background in
RecycleItemAdapter

- Added support for custom backgrounds in RecyclerItemAdapter.
- Added callbacks in Item to allow overriding state/level
that gets copied from icon to drawable

Test: Tests added, verified that changes work
Change-Id: I33c883e0a1a0b76ccccaf8a61ab0bb49f46da3fb
rc/com/android/setupwizardlib/items/Item.java
c8fc4211a744cb947c732d959ef34bf10d48798c 18-Apr-2017 Maurice Lam <yukl@google.com> Fix edge case for ItemGroup notify propagation am: 65128dc621
am: 706457cf5b

Change-Id: Ib8399247b07001125a9537338e968cb6351bb72f
65128dc6219435ec82477235e117efdf94c75101 17-Apr-2017 Maurice Lam <yukl@google.com> Fix edge case for ItemGroup notify propagation

When removing the last item in a nested ItemGroup, make sure
getChildPosition returns the position of where the item would have
been so that the removal notification can be propagated properly.

Test: ./gradlew connectedAndroidTest test
Bug: 37361727
Change-Id: I50f5ceb50c2c7432056427a9d11a181dc384f4e7
rc/com/android/setupwizardlib/items/ItemGroup.java
e8e31761bf24c666e61c01aead1d089102e75918 14-Apr-2017 Maurice Lam <yukl@google.com> LinkSpan find listeners in wrapped contexts

Change LinkSpan to also find OnClickListeners in wrapped contexts,
so even if the TextView is inflated with a ContextWrapper, it will
still propagate the click correctly.

Test: ./gradlew test
Change-Id: Iad000023545d2111b6e844da75f81574e9fe942f
rc/com/android/setupwizardlib/span/LinkSpan.java
6fa591591a061850317676527d96b2dd7f65022a 11-Apr-2017 Maurice Lam <yukl@google.com> Match direct boot unaware receivers for Partner

In Partner.java, since we don't actually execute code in the package,
it is safe to match direct boot unaware receivers as well.

Test: ./gradlew connectedAndroidTest test
Bug: 36984206
Change-Id: I5ad017458db7d4af2d5a753a3f7663721291402e
(cherry picked from commit a3f1dc094f749e873f0c182691dca2d9e928736e)
rc/com/android/setupwizardlib/util/Partner.java
a3f1dc094f749e873f0c182691dca2d9e928736e 11-Apr-2017 Maurice Lam <yukl@google.com> Match direct boot unaware receivers for Partner

In Partner.java, since we don't actually execute code in the package,
it is safe to match direct boot unaware receivers as well.

Test: ./gradlew connectedAndroidTest test
Bug: 36984206
Change-Id: I5ad017458db7d4af2d5a753a3f7663721291402e
rc/com/android/setupwizardlib/util/Partner.java
24885729e3571ebca96c3fb8041f882d79e0fc0c 06-Apr-2017 Maurice Lam <yukl@google.com> Fix description item with material theme

SuwItemTitle.Description style can be used with material theme and
therefore should not reference GLIF specific attributes. Created new
attribute suwItemDescriptionTitleStyle so that GLIF item can use a
GLIF specific style to adjust description text alignment, while
material theme will use the normal SuwTitle style.

Test: ./gradlew connectedAndroidTest test
Bug: 37033526
Change-Id: I0d162bf6984f6a2fbbf04143a256fb70862527b0
es/layout/suw_items_description.xml
es/values/attrs.xml
es/values/styles.xml
c416fc6377cf4241db6fc950c17981ddd37d2484 05-Apr-2017 Maurice Lam <yukl@google.com> Merge "Rename GLIF Pixel to GLIF v2"
e46be9bcf0dd195989b10768ceb57dd2c70095a9 03-Apr-2017 Maurice Lam <yukl@google.com> Rename GLIF Pixel to GLIF v2

Since we are giving the option to OEMs to use the center alignment
theme, rename it to something not Pixel specific.

Test: Tests updated. ./gradlew connectedAndroidTest test
Bug: 36857917
Change-Id: I09b0ebb743ccaa0ad6b215a12576ce1109a3fa31
es/values/styles.xml
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
cdb56e724e7d1f47101ea448cdea3886ec71efc7 03-Apr-2017 Maurice Lam <yukl@google.com> Merge "Add baselineAligned to SuwGlifButtonBar style"
7808f1d743c03193e7060d472e0170ec7c062fa1 01-Apr-2017 Maurice Lam <yukl@google.com> Add baselineAligned to SuwGlifButtonBar style

The visual styles doesn't require aligning baseline, and the
performance is better when turned off according to lint.

Test: Manual visual inspection showed no changes. Existing tests pass
Change-Id: I6d6a436035d3a33c8d14677bc3f59e72b7cc2fa5
es/values/styles.xml
480197a1b5933758cd357187b268105de42e15dd 31-Mar-2017 Maurice Lam <yukl@google.com> Merge "Rename SuwLib directories"
f6b2d025f617ddadd5b6d18ff2c61f39a2085163 29-Mar-2017 Maurice Lam <yukl@google.com> Merge "Add default branch to switch statement"
7204767830ba57c641422aeb98a74be719a51e08 28-Mar-2017 Maurice Lam <yukl@google.com> Notify the correct position when removing the last item

Change ItemGroup#getChildPosition to return the position even for
empty childrem, so that when removing the last item in a nested
ItemGroup, the notification propagation will still be correct.

Test: ./gradlew connectedAndroidTest test
Bug: 36634677
Change-Id: I612e0c624dabee1bfaa6133fe976527e85523634
(cherry picked from commit 4dd5de226fefd5c2fdf040543157357f53ea932e)
rc/com/android/setupwizardlib/items/ItemGroup.java
0fa3a152a7486daf0b989d190aa44bb8572bbe1f 29-Mar-2017 Maurice Lam <yukl@google.com> Merge "Notify the correct position when removing the last item"
83862bb59558fc044de9aa0d6e9407be53af8b81 28-Mar-2017 Maurice Lam <yukl@google.com> Rename SuwLib directories

Rename eclair-mr1 to gingerbread to reflect the min SDK version
change, and full-support to recyclerview to better reflect what's
inside the directory

Also added comments and applied style fixes to keep checkstyle happy.

Test: Existing tests pass
Change-Id: I20332f718f2aae04092d5e45de944b1efce1a596
es/values/dimens.xml
d3f04cf30b5ac1427f2a8aeb30b55fd89f73cbae 28-Mar-2017 Maurice Lam <yukl@google.com> Add default branch to switch statement

Test: Existing tests pass
Change-Id: Ia35e54130deee2e447b605730807fc35fd70399f
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
30fdf76d59d2aa2d28f2b1e4af6d02d6a7c847c7 28-Mar-2017 Maurice Lam <yukl@google.com> Fix floating point precision loss

766.85714f loses precision as a floating number, so remove the last
decimal place.

Test: Existing tests pass
Change-Id: Icf85055819d63c925dc54c04a83a513adb599ea3
rc/com/android/setupwizardlib/GlifPatternDrawable.java
4dd5de226fefd5c2fdf040543157357f53ea932e 28-Mar-2017 Maurice Lam <yukl@google.com> Notify the correct position when removing the last item

Change ItemGroup#getChildPosition to return the position even for
empty childrem, so that when removing the last item in a nested
ItemGroup, the notification propagation will still be correct.

Test: ./gradlew connectedAndroidTest test
Bug: 36634677
Change-Id: I612e0c624dabee1bfaa6133fe976527e85523634
rc/com/android/setupwizardlib/items/ItemGroup.java
339cbc0f38d81adda4d2f9bf44a5514e2f027031 27-Mar-2017 Maurice Lam <yukl@google.com> Don't set null tint color on Lollipop

There is a bug in Lollipop framework where setting a null progress
tint will cause NPE when drawn.

Test: ./gradlew connectedAndroidTest
Change-Id: I0ba0aa8847f6ab2b0608f55c96814d383de67277
rc/com/android/setupwizardlib/template/ProgressBarMixin.java
17e8d19de7fe82c0bc149265d787cfb40f227e81 25-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add ability to require scroll to GlifLayout"
b74aad867d3f354f38420ed88e2c9649e604bd5d 25-Mar-2017 Maurice Lam <yukl@google.com> Merge "Add getThemeRes to WizardManagerHelper"
0ceb8d53e39ebb5bc103863787afb39ec5c41ad8 18-Mar-2017 Maurice Lam <yukl@google.com> Add ability to require scroll to GlifLayout

Generalize RequireScrollHelper and turn it into a mixin to allow
GlifLayout to use require scrolling.
This is only applicable to GLIF with sticky footer, since inline
content button requires scrolling by definition.

Also added Robolectric test support for full-support, by moving
full-support/test's contents into full-support/test/instrumentation
and put the new Robolectric tests in full-support/test/robotest.

Bug: 36387078
Test: ./gradlew connectedAndroidTest test
Change-Id: Ib07ec0ddf07affa30c46e786f4e9be7853a243c4
es/layout/suw_glif_template_content.xml
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/GlifListLayout.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/template/ListViewScrollHandlingDelegate.java
rc/com/android/setupwizardlib/template/RequireScrollMixin.java
rc/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegate.java
rc/com/android/setupwizardlib/util/AbstractRequireScrollHelper.java
rc/com/android/setupwizardlib/util/ListViewRequireScrollHelper.java
rc/com/android/setupwizardlib/util/RequireScrollHelper.java
rc/com/android/setupwizardlib/view/NavigationBar.java
e749c2c1f2f664d2798ea9c482375f33f5371bf0 24-Mar-2017 Maurice Lam <yukl@google.com> Add getThemeRes to WizardManagerHelper

Add helper method to get the base theme defined by setup wizard. This
is intended for use by clients who doesn't require extra theme
attributes in their activities (i.e. use @style/SuwThemeGlif directly
rather than extending it).

Test: ./gradlew test
Change-Id: I22872d918c346bd7adffe4be909d73fae23f44dc
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
ee2a6a670db446954ee9d532a4a9c565164539ec 21-Mar-2017 Maurice Lam <yukl@google.com> Implement ExpandableSwitchItem

Implement the switch item that is expandable when the text label is
tapped.

Bug: 36388000
Test: ./gradlew connectedAndroidTest test
Change-Id: Ic476164f5abebe1e879b0ee3a8c2e429e1b74372
es/values/dimens.xml
rc/com/android/setupwizardlib/view/CheckableLinearLayout.java
ab45bdf67a01ba13efb45334cc43f9632de6f034 26-Feb-2016 Maurice Lam <yukl@google.com> Support RecyclerView notifications in items

Propagate the recycler view notifications
notifyItem{Changed/Removed/Inserted} in ItemHierarchy so that
recycler view animations can be used with ItemHierarchy more
easily.

Test: ./gradlew connectedAndroidTest test
Bug: 36388000
Change-Id: I583952044995b174baec2610422611f6d40a9a11
rc/com/android/setupwizardlib/items/AbstractItem.java
rc/com/android/setupwizardlib/items/AbstractItemHierarchy.java
rc/com/android/setupwizardlib/items/Item.java
rc/com/android/setupwizardlib/items/ItemAdapter.java
rc/com/android/setupwizardlib/items/ItemGroup.java
rc/com/android/setupwizardlib/items/ItemHierarchy.java
53f9de0cc4b08886f1636cde9db67728ae9464f2 16-Mar-2017 Maurice Lam <yukl@google.com> Propagate EXTRA_THEME in WizardManagerHelper

The theme should be copied as a wizard manager extra.

Test: ./gradlew connectedAndroidTest test
Change-Id: I5750146fadc3f3d5365418f0076086e631a3598b
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
d4454f4582e023f7e274b4545dea6ab8d001a1ce 08-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add suwFooter attribute to GlifLayout"
ddb2b33813c78757251518b68ea900f95e9060fc 08-Mar-2017 Maurice Lam <yukl@google.com> Merge "Fix warnings in SuwLib"
48c121912f865be865e564a4d0a899988a100d37 07-Mar-2017 Maurice Lam <yukl@google.com> Add suwFooter attribute to GlifLayout

Add the suwFooter attribute so custom footer layouts can be easily
added, in conjunction with <aapt:attr> tag.

Test: ./gradlew connectedAndroidTest test
Bug: 36009807
Change-Id: Id7d937486451e34bdc30775a0f5f3dfcde47598f
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
925f4b24fc2f635271cf381c92f7bd9dca569197 04-Mar-2017 Maurice Lam <yukl@google.com> Pull button bar style into its own style

This allows clients to customize the button bar more easily, using
the style with <aapt:attr> tags.

Test: Existing tests pass. ./gradlew connectedAndroidTest test
Change-Id: Ife40b4a0d124692a332cd95d2af10050689e30e7
es/layout/suw_glif_footer_button_bar.xml
es/values/styles.xml
9ac3d54040b4dae6addc224fd8a69bf62ee84a83 06-Mar-2017 Maurice Lam <yukl@google.com> Fix warnings in SuwLib

Fix various issues flagged by compiler and ErrorProne, including
raw types, unchecked casts, missing overrides and others.

Test: Existing tests pass. `./gradlew connectedAndroidTest test`
Change-Id: I4008504430760b436d6dc6c52a9dfb169dcfa49b
rc/com/android/setupwizardlib/items/Item.java
rc/com/android/setupwizardlib/items/ReflectionInflater.java
rc/com/android/setupwizardlib/template/Mixin.java
eb7c2d1e90dec37cf5a9293e4e3f0dd857ca1ef9 04-Mar-2017 Maurice Lam <yukl@google.com> Merge "Add scroll indicators to GLIF Pixel theme"
d86822922f64ae9551cb40365996d1ecc31617b7 03-Mar-2017 Maurice Lam <yukl@google.com> Merge "Make status bar white on GLIF pixel theme"
58388e79699ef3d201d1c6707a6ee2f7ebd80f6e 03-Mar-2017 Maurice Lam <yukl@google.com> Merge "Add SuwGlifButton.Tertiary style"
039a55c144bc968ca9e242640ea107df10ac2867 03-Mar-2017 Maurice Lam <yukl@google.com> Add scroll indicators to GLIF Pixel theme

Add the scroll indicators to clearly indicate the divide between
status bar, content area, and footer, even though they all have the
same background color.

The scroll indicator will only be shown if there are content beyond
the fold.

Test: ./gradlew connectedAndroidTest test
Bug: 35446596
Change-Id: I5419e4f443a2414f8c983241b8fc61cadb48ef68
es/layout/suw_glif_list_template_content.xml
es/layout/suw_glif_template_content.xml
es/values/attrs.xml
es/values/styles.xml
39056e5dc4b068745c2d9be69e5cd0c008bdc117 03-Mar-2017 Maurice Lam <yukl@google.com> Make status bar white on GLIF pixel theme

Add attributes suwBackgroundBaseColor and suwBackgroundPatterned to
GlifLayout, which allows the GLIF Pixel theme to display a solid
off-white status bar background instead of the pattern in regular
GLIF.

Test: ./gradlew connectedAndroidTest test
Bug: 35446596
Change-Id: Icbf3608882367ce00188fd124df5d2ba0de00864
es/values/attrs.xml
es/values/styles.xml
rc/com/android/setupwizardlib/GlifLayout.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
es/layout/suw_glif_header.xml
es/layout/suw_items_description.xml
es/values/attrs.xml
es/values/styles.xml
rc/com/android/setupwizardlib/util/FallbackThemeWrapper.java
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
4ed1ae46ef6bb3740b8dae7d307c1fd3d136f7dc 02-Mar-2017 Maurice Lam <yukl@google.com> Add SuwGlifButton.Tertiary style

The style is designed to be used by clients directly in the content
area, as "link buttons", where there is no touch feedback on the
button.

Test: ./gradlew test
Bug: 35447970
Change-Id: I07593bc850cbdad9b82856b86226d63e77f26513
es/values/styles.xml
fca3ee628d9d5c1c1109f3df6e02cdd31c57c000 22-Feb-2017 Maurice Lam <yukl@google.com> Fix GLIF pattern for versions < L

For versions < L, setGlifPatternColor should still change the
background drawable, since they are visible on tablets.

Replaced the v21 specific attrs with attribute references in the
themes, removing the need for a separate version attrs.xml.

Moved GlifLayoutTest that doesn't require test XMLs to Robolectric,
so make SDK version testing easier. Robolectric on gradle doesn't
seem to have a good way to include test XMLs, so tests for XML
inflation are kept as instrumentation tests.

Test: ./gradlew connectedAndroidTest test
Change-Id: I36b3765848e462ee920c563a6fa335a0e67dd471
es/values-v21/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
25e383d0f80e2d0a7b42e73cd3ac499e431e6684 22-Feb-2017 Maurice Lam <yukl@google.com> Fix SuwButtonItem.Colored

The theme was broken for < L in the move to SuwGlifButton.Primary.

Test: ./gradlew connectedAndroid
(Running ButtonItemDrawingTest on KK catches the failure)

Change-Id: I4f0a16e6d42153acc7a66a64c6d9fb8fff093a6c
es/values/styles.xml
db0a8d653fb37519e10134470201f8e30bdb2c75 21-Feb-2017 Maurice Lam <yukl@google.com> Merge "Implement ButtonFooterMixin"
8721e6e37afdda2d3aba487334f96e270a57ad19 10-Feb-2017 Maurice Lam <yukl@google.com> Implement ButtonFooterMixin

The ButtonFooterMixin allows creating GLIF-compatible sticky footer
with buttons. The mixin assumes that buttons on the start side
(left for LTR) are borderless buttons and buttons on the end side
(right for LTR) are accent colored raised buttons.

Bug: 35448201
Test: ./gradlew connectedAndroidTest test
Change-Id: I26fc1a19290308f8d39466652308366e9677afbd
es/color-v23/suw_flat_button_highlight.xml
es/layout/suw_glif_footer_button_bar.xml
es/values-sw600dp/dimens.xml
es/values-v21/styles.xml
es/values/colors.xml
es/values/dimens.xml
es/values/styles.xml
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/template/ButtonFooterMixin.java
9e8d18dc62c8a933a16f83a03ebab080897fd38e 18-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add theme fallback"
e2a8d27c2a43cf0b48b80e5b05f893222c541e04 17-Feb-2017 Maurice Lam <yukl@google.com> Add theme fallback

- Add FallbackThemeWrapper, which behaves like ContextThemeWrapper,
except that the base context's theme attributes takes precedence
over the wrapper context's.
- Use the FallbackThemeWrapper in TemplateLayout (SetupWizardLayout
and GlifLayout), so that inflating them with the wrong theme will
not crash, but rather look wrong.

This allows SuwLib to add required attributes without risking
crashing clients that for some reason doesn't use the right themes.

Test: ./gradlew connectedAndroidTest
Change-Id: I694ad7279ce733659f6aa5d72e2087a09d3f1e22
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/TemplateLayout.java
rc/com/android/setupwizardlib/util/FallbackThemeWrapper.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
es/layout/suw_button.xml
rc/com/android/setupwizardlib/items/ButtonItem.java
78ecb456876c91591f73fec36603b990edc1f1a4 02-Feb-2017 Maurice Lam <yukl@google.com> Merge "Add ListMixin"
22b7cfc43d6e211c9529be51b3bcd93eb61206fc 01-Feb-2017 Maurice Lam <yukl@google.com> Remove line breaks in layout references

Robolectric is not able to handle them correctly.
https://github.com/robolectric/robolectric/issues/2126

Test: Existing tests pass. ./gradlew connectedAndroidTest
Change-Id: I25a49ae158fe2a757b34c57982f69c79214b52da
es/values/layouts.xml
d349adb3941c88ae27ec451acd19641ba03205df 26-Jan-2017 Maurice Lam <yukl@google.com> Add ListMixin

Add ListMixin to allow common interface to a TemplateLayout containing
lists.

Test: ./gradlew connectedAndroidTest
Change-Id: I6ebd2c5a83b14db534cf66e5de7fe12584441537
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifListLayout.java
rc/com/android/setupwizardlib/SetupWizardItemsLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/items/Item.java
rc/com/android/setupwizardlib/template/ListMixin.java
9c9d16cc343712aea864efc9b5f78942f76395b8 18-Jan-2017 Maurice Lam <yukl@google.com> Merge "Turn off DEBUG for SimpleInflater"
94b2ec08a88831548dcd811b016f953ca6f64ed5 18-Jan-2017 Maurice Lam <yukl@google.com> Merge "Remove material_blue constants"
d33fc41d66b7f2435bee7981613c62317d3a21fc 18-Jan-2017 Maurice Lam <yukl@google.com> Turn off DEBUG for SimpleInflater

Test: Existing tests pass
Change-Id: I71502f10a7883d0708c3f10a064e1f8cb5520ac9
rc/com/android/setupwizardlib/items/SimpleInflater.java
5ed761c1df4f5165a14218b64579e14af29d68a6 13-Jan-2017 Maurice Lam <yukl@google.com> Fix ReflectionInflater

Don't append default package when the tag name itself is qualified
(i.e. contains a '.').

Also moved the inflater test cases into test/instrumentation to the
same place as other instrumentation tests. (Other tests were moved
with the introduction of Robolectric tests)

Bug: 34254689
Test: ./gradlew connectedAndroidTest
Change-Id: I2f22613f80b4e3a65a73c4a4f8bd084ad3d4654f
rc/com/android/setupwizardlib/items/ReflectionInflater.java
0d61ee75de352c083130a9a36cc3460bcec111ca 12-Jan-2017 Maurice Lam <yukl@google.com> Merge "Refactor GenericInflater"
ae6590148b2af0848e8d8be391b840a4c19109ef 12-Jan-2017 Maurice Lam <yukl@google.com> Remove material_blue constants

Those constants were never released and there are no references to
it on code search.

Test: Existing tests pass (./gradlew connectedAndroidTest)
Change-Id: I231a719414e436dc4204302d6211da8923282fa7
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
c64c94744da6d3d139c24be7dd62cbb3ceae0eb5 06-Jan-2017 Maurice Lam <yukl@google.com> Refactor GenericInflater

Split GenericInflater into SimpleInflater, which wraps the XML parsing
into finding the tag name and an AttributeSet. The subclass is
responsible for creating the corresponding object for the given tag
name and AttributeSet.
ReflectionInflater is a subclass of SimpleInflater which will treat
the tag name as a class, and create the object via reflection using
the 2-argument constructor TagName(Context, AttributeSet).

Test: ./gradlew connectedAndroidTest
Change-Id: I81408f099f132b7bedb27a9b5425e3c18988aa52
rc/com/android/setupwizardlib/items/GenericInflater.java
rc/com/android/setupwizardlib/items/ItemInflater.java
rc/com/android/setupwizardlib/items/ReflectionInflater.java
rc/com/android/setupwizardlib/items/SimpleInflater.java
8999888bcb61b3d477e45cc8fdf8af13857d92e1 11-Jan-2017 Roozbeh Pournader <roozbeh@google.com> Rename language+country resources to just language

Bug: 26496609
Test: none
Change-Id: I6efaa01c357bbc83913c77bbc0925ceef3c39b3f
es/values-az-rAZ/strings.xml
es/values-az/strings.xml
es/values-be-rBY/strings.xml
es/values-be/strings.xml
es/values-bn-rBD/strings.xml
es/values-bn/strings.xml
es/values-bs-rBA/strings.xml
es/values-bs/strings.xml
es/values-et-rEE/strings.xml
es/values-et/strings.xml
es/values-eu-rES/strings.xml
es/values-eu/strings.xml
es/values-gl-rES/strings.xml
es/values-gl/strings.xml
es/values-gu-rIN/strings.xml
es/values-gu/strings.xml
es/values-hy-rAM/strings.xml
es/values-hy/strings.xml
es/values-is-rIS/strings.xml
es/values-is/strings.xml
es/values-ka-rGE/strings.xml
es/values-ka/strings.xml
es/values-kk-rKZ/strings.xml
es/values-kk/strings.xml
es/values-km-rKH/strings.xml
es/values-km/strings.xml
es/values-kn-rIN/strings.xml
es/values-kn/strings.xml
es/values-ky-rKG/strings.xml
es/values-ky/strings.xml
es/values-lo-rLA/strings.xml
es/values-lo/strings.xml
es/values-mk-rMK/strings.xml
es/values-mk/strings.xml
es/values-ml-rIN/strings.xml
es/values-ml/strings.xml
es/values-mn-rMN/strings.xml
es/values-mn/strings.xml
es/values-mr-rIN/strings.xml
es/values-mr/strings.xml
es/values-ms-rMY/strings.xml
es/values-ms/strings.xml
es/values-my-rMM/strings.xml
es/values-my/strings.xml
es/values-ne-rNP/strings.xml
es/values-ne/strings.xml
es/values-pa-rIN/strings.xml
es/values-pa/strings.xml
es/values-si-rLK/strings.xml
es/values-si/strings.xml
es/values-sq-rAL/strings.xml
es/values-sq/strings.xml
es/values-ta-rIN/strings.xml
es/values-ta/strings.xml
es/values-te-rIN/strings.xml
es/values-te/strings.xml
es/values-ur-rPK/strings.xml
es/values-ur/strings.xml
es/values-uz-rUZ/strings.xml
es/values-uz/strings.xml
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
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/TemplateLayout.java
rc/com/android/setupwizardlib/template/ColoredHeaderMixin.java
rc/com/android/setupwizardlib/template/HeaderMixin.java
rc/com/android/setupwizardlib/template/IconMixin.java
rc/com/android/setupwizardlib/template/Mixin.java
rc/com/android/setupwizardlib/template/NavigationBarMixin.java
rc/com/android/setupwizardlib/template/ProgressBarMixin.java
316d25768824c811cd12ef6abdbc75cca33ce2e4 13-Dec-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Set baseline align to false"
0d745a6f71e147fac73e026a999cb8685e67110c 13-Dec-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Remove copied annotation classes"
387acfe8033a72fd40aacd66f2bc87febc81cf8b 30-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Set baseline align to false

Test: (Manual) Lint stops complaining. Visually looks the same.
Bug: 33106412
Change-Id: I0dfd39338b32ef00ab64818f75bf242e183fba74
es/layout/suw_items_default.xml
es/layout/suw_items_description.xml
es/layout/suw_items_verbose.xml
63cdc5ccb7f1f61d0e752e38d7e57c690658a0ac 23-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Turn on fatal lint

Fix (or suppress) lint warnings and make it fatal again in the build
process.
Additionally, warnings are treated as errors now. If there are
warnings that are not applicable, add @SuppressLint or tools:ignore
to suppress the warning, so code reviewers can be aware of the lint
issue too.

Test: ./gradlew lint
Change-Id: I63c83ff1b95a0817dc2ac777adce0fa9f9ebd45a
ndroidManifest.xml
es/animator-ldrtl-v11/suw_slide_back_in.xml
es/animator-ldrtl-v11/suw_slide_back_out.xml
es/animator-ldrtl-v11/suw_slide_next_in.xml
es/animator-ldrtl-v11/suw_slide_next_out.xml
es/drawable-v21/suw_card_bg.xml
es/layout/suw_items_default.xml
es/layout/suw_items_description.xml
es/layout/suw_items_verbose.xml
es/layout/suw_navbar_view.xml
es/layout/suw_no_scroll_template_header.xml
es/values/dimens.xml
es/values/layouts.xml
es/values/styles.xml
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/util/DrawableLayoutDirectionHelper.java
e57bdc10c8e4a348c1410234e45346cf31215a34 08-Dec-2016 Ajay Kumar Nadathur Sreenivasan <ajayns@google.com> Merge "Increase click target of switch item"
903f83af5ba54075275b455a24c4273143fcb86a 07-Dec-2016 Maurice Lam <yukl@google.com> [SuwLib] Remove copied annotation classes

Use support-annotation instead.

Test: Existing tests pass (./gradlew connectedAndroidTest)
Change-Id: I9ef63db551e713f1ee26e7563da86b379d84c811
rc/com/android/setupwizardlib/GlifPatternDrawable.java
rc/com/android/setupwizardlib/TemplateLayout.java
rc/com/android/setupwizardlib/annotations/Keep.java
rc/com/android/setupwizardlib/annotations/VisibleForTesting.java
rc/com/android/setupwizardlib/util/Partner.java
rc/com/android/setupwizardlib/view/BottomScrollView.java
10b7eaad46ea96c5d0424b6ed6ab198cedadfc89 06-Dec-2016 Ajay Nadathur <ajayns@google.com> Increase click target of switch item

bug: 30279241
Test: Manually tested and verified that switch item has more space on
its left and click target expanded height wise as well.

Change-Id: Idfe64774a789bbfbd9bbdd05ee70ad58280ea4b0
es/values/dimens.xml
caedfeab5d74b41e78a3ab8d8aa50751c4dab95c 05-Dec-2016 Bill Yi <byi@google.com> Revert "Import translations. DO NOT MERGE"

This reverts commit f25e2ecfd3ca983397d0062afe5cf27645535690.

Change-Id: I1a8d0a78af47c9a578041e8fb772a5e278fc47db
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-az-rAZ/strings.xml
es/values-b+sr+Latn/strings.xml
es/values-be-rBY/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-bs-rBA/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-gu-rIN/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pa-rIN/strings.xml
es/values-pl/strings.xml
es/values-pt-rBR/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sq-rAL/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
f25e2ecfd3ca983397d0062afe5cf27645535690 03-Dec-2016 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: Id8311d94415b529330eb8c7271a14824f90aede9
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-az-rAZ/strings.xml
es/values-b+sr+Latn/strings.xml
es/values-be-rBY/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-bs-rBA/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-gu-rIN/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pa-rIN/strings.xml
es/values-pl/strings.xml
es/values-pt-rBR/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sq-rAL/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
07e92e75c51c9ea8c029abe679f16511522f2e25 02-Dec-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Add support annotations"
3ab5f2f3d5c518e372d4a1127be180b5b57af7ec 01-Dec-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Remove unused import"
4482fde98ebad2700ec1f8de5397abb90402b8b8 23-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Add support annotations

Add support annotations dependency, and add the annotations in where
suitable.

Test: Manual. "Inspect code" in Android studio no longer shows
nullability errors. Existing automated tests pass
Bug: 21559567
Change-Id: I47b1072c9b2a9e032318df49db6b86b6af8d206e
rc/com/android/setupwizardlib/GlifPatternDrawable.java
rc/com/android/setupwizardlib/view/NavigationBar.java
6e0e22635d5fa943f72251e534f37527d3b3468c 29-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Return PixelFormat in GlifPatternDrawable.getOpacity

getOpacity should return the pixel format. This change should not
have any visible effects, as PixelFormat.UNKNOWN = 0.

Test: Existing tests pass
Change-Id: I332d7cbe7c90f9a50b8171cd8e7ed3e09a0765a2
rc/com/android/setupwizardlib/GlifPatternDrawable.java
bba98a213159427abfe33a45733b94f61c8d23f1 29-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Remove unused import

Test: Existing test pass
Change-Id: I59454c02ab64ee9c6e3351c2d04050539eb05c8d
rc/com/android/setupwizardlib/util/SystemBarHelper.java
0d56446cc1c92346ec08b55ed50fe3920649193a 18-Nov-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Fix SDK version check for isUserSetupComplete"
e0275b558e533bd0665b87e2e78267801c2472cd 16-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix SDK version check for isUserSetupComplete

The system setting was introduced in JB MR1.

Test: ./gradlew connectedAndroidTest
Change-Id: I70b72981cf71eb39064048a80f6669c63b626070
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
75203b55e047db57a4b088f3cd58d59a108fa408 17-Nov-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "[SuwLib] Fix divider inset for sw600dp"
0557890500241f8e997d0d9d91538d52da1ee8bf 15-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix shadow cropping in raised buttons

Set clipToPadding to false to avoid cropping the shadow.

Bug: 31166949
Test: Manual. Inspected that button shadows are no longer cropped
Change-Id: I68aebaa45b934f86eb093f4d9cdbbbc9b856abd0
es/layout/suw_items_button_bar.xml
es/values/styles.xml
ad9269e9ce72bd6217893b5b4eb3e204fdbbf788 08-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix divider inset for sw600dp

Test: ./gradlew connectedAndroidTest
Bug: 32722554
Change-Id: I405a079a0be25a29294de91ba8fc185426cbf63c
es/values-sw600dp/dimens.xml
a6d30093e9308a88fc875b484cf16cda385c2f98 04-Nov-2016 Maurice Lam <yukl@google.com> [SuwLib] Replace colorPrimary with custom attribute

Replace android:colorPrimary with suwColorPrimary because the former
is only available on API 21 or above.

Test: ./gradlew connectedAndroidTest
Bug: 32405650
Change-Id: I57bb2b87771a5169004fca310b6284de88fb2f14
es/values-v21/attrs.xml
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
bc89919a0287256bf8255e8013c1c7c2ccf49f58 25-Oct-2016 Ajay Nadathur <ajayns@google.com> [SetupWizard] GLIF determinate progress bar should have blue background

Test: Manually tested and verified blue background present. Also added
unit test
bug: 32148755
Change-Id: I0e2e9e346ed6952bdcbae6e7bcc3eeab552ab262
rc/com/android/setupwizardlib/GlifLayout.java
515c0b156d03f7ea348303c75e37ee4c16d90557 12-Aug-2016 Maurice Lam <yukl@google.com> Share GlifPatternDrawable bitmap cache

Reduce memory usage of GlifPatternDrawable by
- Setting max bitmap cache scale to 1.5x (similar to
VectorDrawableCompat, which caps at 2048px)
- Use ALPHA_8 mask instead of ARGB8888
- Share the cache across all pattern drawables, using a SoftReference

The memory allocation of a single bitmap cache, measured on Pixel C,
dropped from 17MB to 2.3MB.

Memory consumption was measured in Android studio.
1. Open SetupLibrarySample app in Android Studio
2. Run app
3. Open "Android Monitor" tab, and go to Monitors tab
4. Press "Trigger GC" in Studio
5. Press "Start Allocation Tracking"
6. Start a new activity in the test app
7. press "Stop Allocation Tracking"

Test: ./gradlew connectedAndroidTest
Bug: 30813561
Change-Id: Ic78d6f2bdfa6a18a7dd2afc73f9647e2a7ed4cf1
rc/com/android/setupwizardlib/GlifPatternDrawable.java
05acfbb2e7c7f2c992b530b98f8a9333ec6b17f0 30-Jul-2016 Ajay Nadathur <ajayns@google.com> [SetupWizard] Set id of ButtonItems.

bug:30511478
Change-Id: Ia7366dcee93ae1c8223990cab2e3f431fdc4418e
rc/com/android/setupwizardlib/items/AbstractItemHierarchy.java
rc/com/android/setupwizardlib/items/ButtonItem.java
101fee26f30060860fd8229e0237d582690d7b74 13-Jul-2016 Ajay Nadathur <ajayns@google.com> [SetupWizard] Increase vertical spacing between copy and UI lists
am: db520408f6

Change-Id: Icc8e270b277a84421bc12941d6d5f5553570c429
db520408f6334fb647928bc98cc22df4144182c9 13-Jul-2016 Ajay Nadathur <ajayns@google.com> [SetupWizard] Increase vertical spacing between copy and UI lists

bug:29997811
Change-Id: I004421fbb66a64609a6fa71417b85df0a184afc4
es/values/dimens.xml
2d68a2e89b7adbdf2a3df77463625e72434fd4fe 08-Jul-2016 Ajay Nadathur <ajayns@google.com> Merge \"[SetupWizard] Change description/title size of GlifLayout\" into ub-setupwizard-ceridwen
am: 4db4efafef

Change-Id: I9ba72af996346ddf99e97ee746c051e771d1a225
4db4efafef458f0211726f9fbc3f726a0181efb5 08-Jul-2016 Ajay Kumar Nadathur Sreenivasan <ajayns@google.com> Merge "[SetupWizard] Change description/title size of GlifLayout" into ub-setupwizard-ceridwen
98b3bcd661746cc57bb5706567dffe5d2746361b 30-Jun-2016 Ajay Nadathur <ajayns@google.com> [SetupWizard] Change description/title size of GlifLayout

bug:29834790
Change-Id: I4d28d9d886f3247c486cd7fa0e8b8dd2ddcbe78a
es/values-sw360dp/dimens.xml
es/values-sw600dp/dimens.xml
21f8fa3ce34032584fe45e10a2951048b57adb29 07-Jul-2016 Maurice Lam <yukl@google.com> [SuwLib] Add footer support for GlifLayout
am: 453ab158fe

Change-Id: I3eac6dbf126b19c9e6567a8f7fe04526e4da8dfd
453ab158fe4b4e285aa3338e75f67d4bed409250 06-Jul-2016 Maurice Lam <yukl@google.com> [SuwLib] Add footer support for GlifLayout

Add a ViewStub for GlifLayout footers, so that clients can get the
ViewStub using findViewById, and then inflate it to any layout they
want.

Bug: 29992922
Change-Id: Iaa36cbf6aa55690f38f9d1f2d32ff0b435b26345
es/layout/suw_glif_list_template_content.xml
es/layout/suw_glif_template_content.xml
c9e8387b4674a0921e97f418bc9e1f96158bbf8b 29-Jun-2016 Maurice Lam <yukl@google.com> Merge \"[SuwLib] Position card correctly when keyboard is up\" into ub-setupwizard-ceridwen
am: a84372fb0b

Change-Id: Ia285871ccca70b806161a5023e63347a18ac5cee
2c42b3f95a9319fc36f1dea5e775e2fab13a0a25 16-Jun-2016 Maurice Lam <yukl@google.com> [SuwLib] Position card correctly when keyboard is up

When the keyboard is shown in the tablet layout, position the card
correctly by using linear layout with 2 invisible weighted views.

Bug: 29420837
Change-Id: I85008800f16a4a8c6b7b2f8f78d702ac5674434a
es/layout/suw_glif_blank_template_card.xml
es/layout/suw_glif_list_template_card.xml
es/layout/suw_glif_template_card.xml
es/values/attrs.xml
rc/com/android/setupwizardlib/view/IntrinsicSizeFrameLayout.java
77635eab4ad21816d87c8f17b460a856c1042a8e 22-Jun-2016 Maurice Lam <yukl@google.com> [SuwLib] Null check if progress bar is not in template
am: d66273847c

Change-Id: I73205f7af229c2a8e86dea04776273674e2b43c5
d66273847cb8cb69513db37e26e6ab0ee0590cc3 22-Jun-2016 Maurice Lam <yukl@google.com> [SuwLib] Null check if progress bar is not in template

Bug: 28848765
Change-Id: If447167cb0bb3d112d797389d0f8d790b02e3557
rc/com/android/setupwizardlib/GlifLayout.java
080ca7210858ef63979df555783711056c2e61e6 21-Jun-2016 Maurice Lam <yukl@google.com> Merge \"[SuwLib] Allow peeking progress bar\" into ub-setupwizard-ceridwen
am: 50e31a5e90

Change-Id: I69730dd37fc8defe194fa7be7ddc89f0eb01454b
b6fb8bb15f4c6b08eb7f875c21df1005a8679594 10-Jun-2016 Maurice Lam <yukl@google.com> [SuwLib] Allow peeking progress bar

Add GlifLayout.peekProgressBar that will get the progress bar from
the view if it is already installed.

Bug: 28848765
Change-Id: Ica686f843013007a7abe6b1d67e26de14b95ec75
rc/com/android/setupwizardlib/GlifLayout.java
d3a72e981f248429282363f9963e27769b9baa05 01-Jun-2016 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: I9aeee630256d04a7a612f939fe8dada3a7b76549
Auto-generated-cl: translation import
es/values-uz-rUZ/strings.xml
71e9601c8b6ac50ceb6994ba2925fed8469a9b1e 23-May-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Remove button from parent after createButton" into ub-setupwizard-ceridwen
am: 381c77b8d6

* commit '381c77b8d67f8332d2984f85067a59a2f7dc3921':
[SuwLib] Remove button from parent after createButton

Change-Id: If9daceb03cb5bb1cb292373f3f65c335347901f5
381c77b8d67f8332d2984f85067a59a2f7dc3921 23-May-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Remove button from parent after createButton" into ub-setupwizard-ceridwen
644d278e6047a0b170f635182532a720b3bb120b 23-May-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Make Glif template fill remaining space" into ub-setupwizard-ceridwen
am: c037804592

* commit 'c037804592c263710bd58549e80b1169f11b1165':
[SuwLib] Make Glif template fill remaining space

Change-Id: I004b6543289c517a34081cbf47ea5fac6a4aa94e
a8e0755e1b526174fe42b0d7215d3c6a6106aca2 21-May-2016 Maurice Lam <yukl@google.com> [SuwLib] Remove button from parent after createButton

Since the button for a ButtonItem is reused, it may be moved to a
different view parent after re-binding. In order to make sure the move
is successful, the button must be first removed from the current parent
before returning.

Bug: 28317915
Change-Id: Ice2a7d1a5f33870775dfd26c1bff816de70526e9
rc/com/android/setupwizardlib/items/ButtonItem.java
684fb320116e0d938692844c43430d8a8cd1f1d2 21-May-2016 Maurice Lam <yukl@google.com> [SuwLib] Make Glif template fill remaining space

Fill up the remaining space of the screen by default. This allows
screens like fingerprint settings to fill up the remaining space of
the screen with the fingerprint indicator.

Bug: 28810925
Bug: 28867526
Change-Id: I21ed1f215186de2f5133b112ac88627eab482dad
es/layout/suw_glif_template_content.xml
0485563705d5c3cb6af6539cb2d696c038abbbff 23-May-2016 Bill Yi <byi@google.com> Import translations. DO NOT MERGE

Change-Id: I2e5b6c4a0ede9a65b41a9086c9970b2718fa0a4e
Auto-generated-cl: translation import
es/values-my-rMM/strings.xml
es/values-sw/strings.xml
es/values-uz-rUZ/strings.xml
8057b3994f9c7d70eeed7e1e05f54c7cd054da1e 19-May-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Tune layout to match specs" into ub-setupwizard-ceridwen
am: b58dc454fc

* commit 'b58dc454fc20cf88edd7feba247d62c67bc920a1':
[SuwLib] Tune layout to match specs

Change-Id: I40aef9607f71f4a7ccc66420b0a171e271b78497
78700b330fcf8e82f6d965a96a4ce77b54a14397 18-May-2016 Maurice Lam <yukl@google.com> [SuwLib] Tune layout to match specs

- Use RichTextView in items layouts
- Align icon to top even in verbose view

Bug: 28317915
Change-Id: I043d06a155cbf775b3a17b38164fca6ea96afea2
es/layout/suw_items_default.xml
es/layout/suw_items_description.xml
es/layout/suw_items_verbose.xml
da9f4d16bf8c6609fd92d2b1bf1614b756c7d10e 16-May-2016 Baligh Uddin <baligh@google.com> Import translations. DO NOT MERGE

Change-Id: Id3ad5934f3e7263c7d666a7ac6d17ba8f454bb01
Auto-generated-cl: translation import
es/values-pa-rIN/strings.xml
fac603973be4ce77a2ac7ee848ee486b1c1f6940 12-May-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Update GLIF dark theme" into ub-setupwizard-ceridwen
ea4c0db9dacc427770d863f5c61d6410c1000bc4 11-May-2016 Maurice Lam <yukl@google.com> [SuwLib] Update GLIF dark theme

Update GLIF dark theme to align with the UX specs.

Bug: 28704351
Change-Id: I944fc7dce47f8cbab584ccabe9763aba0276a682
es/values/colors.xml
e56d1ebc7d8f62db8d4ee6342af61ae2d5583ec1 07-May-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix header style

Fixed various margins and paddings in the header style.

Bug: 28595212
Change-Id: I85ca3e1f7abb836c791f7225da4316748812845d
es/layout/suw_items_description.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
081551e44a801f439f0e0f30008303dd765c118f 03-May-2016 Maurice Lam <yukl@google.com> [SuwLib] GLIF pattern update

Implement GLIF pattern according to latest UX spec, which is to
overlay a grayscale pattern at 20% opacity on top of the solid accent
color.

Bug: 28601978
Change-Id: I89f54a434d54e1cac64363588fd06736d67c51e1
rc/com/android/setupwizardlib/GlifPatternDrawable.java
81276cf689dcabb075d82661369598c4fbb942f6 28-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix GLIF accent color

Set the accent color of GLIF to #4285f4, instead of sharing one with
the material theme.

Bug: 28429261
Change-Id: I94405d889faa575bd8ca64665e9a01f98e8071ac
es/values/colors.xml
7f2a6e95f20408e055bb8b965b9e2bc664eec86b 28-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Check instance state type before casting

Bug: 28390168
Change-Id: Ic8cb9c35b29fe05f1edc6c8fa7c0bd7d23cd4fdf
rc/com/android/setupwizardlib/SetupWizardLayout.java
84979a6b2874d09762404c3c8a902f4aad016d01 26-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Support GLIF preference

Bug: 26427729
Change-Id: Ie95b0031bacef316ccff9bc9f1a4b048016a9353
rc/com/android/setupwizardlib/GlifLayout.java
10e37de3e93691ec7600cb25ccca6b50841a4460 14-Apr-2016 Jeff Davidson <jpd@google.com> Copy IS_FIRST_RUN extra in copyWizardManagerExtras.

Bug: 27822363
Change-Id: I915be45c13df95cc3c8de9cde63d5e83909c2e03
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
de9f081976b6121f93b6debca4554226c125e12f 08-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix override annotations

Add @Override annotations where there should be

Change-Id: I57e33c9367bbc716c120b410ce96b43b4d0f8bbb
rc/com/android/setupwizardlib/items/ItemInflater.java
edecd8a2a72ea81bd45202d53cd7ebedde70a34b 06-Apr-2016 Steven Ng <stevenckng@google.com> Merge "[SetupWizard] Move consecutive taps detector to setupwizardlib" into ub-setupwizard-belgarath
f7ac91e934941cc7a796337aba8ac4e5c198c22e 06-Apr-2016 Steven Ng <stevenckng@google.com> [SetupWizard] Move consecutive taps detector to setupwizardlib

bug:27064348
Change-Id: I1051c0f9f224a7698fcb32a863aca94e4a571c64
rc/com/android/setupwizardlib/gesture/ConsecutiveTapsGestureDetector.java
140ea8aed151504114c40fe26d3ef3e1a5eaeb32 05-Apr-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Force list header shadow to be drawn on top" into ub-setupwizard-belgarath
c1d426c953eb27d7019341086157de9668b84e6c 03-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Force list header shadow to be drawn on top

Bug: 27974183
Change-Id: Ibc1b2251e6a444723b55c32b929d3846bcafbdc7
es/layout/suw_list_header.xml
es/values/dimens.xml
ccdce77ebc3a173c5cbe59abc4ba6dda9567a432 01-Apr-2016 Maurice Lam <yukl@google.com> [SuwLib] Remove recycled icon

Remove recycled icon before setting the state and level, so it will
not unintentionally change some other drawable's state and level.

Bug: 27944413
Change-Id: Id98096638781b207234794e9e2296c0463a51daf
rc/com/android/setupwizardlib/items/Item.java
e1798444aa7e8bd6c81c5013c03bccb581d7f591 31-Mar-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Upstream LinkSpan and AnnotatedTextView" into ub-setupwizard-belgarath
00358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1a 25-Mar-2016 Maurice Lam <yukl@google.com> [SuwLib] Implement ButtonBarItem

Implement ButtonBarItem which can contain one or more buttons to be
displayed in a horizontal row.

Bug: 27600894
Change-Id: Id3879ee8fc0bd09c04bc8d98a0bbd301d1b410b8
es/layout/suw_items_button_bar.xml
es/values-v21/styles.xml
es/values/attrs.xml
rc/com/android/setupwizardlib/items/ButtonBarItem.java
rc/com/android/setupwizardlib/items/ButtonItem.java
rc/com/android/setupwizardlib/items/ItemGroup.java
rc/com/android/setupwizardlib/items/ItemInflater.java
d832154e333a3a45b5faecd518b664ddd297183c 25-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Upstream LinkSpan and AnnotatedTextView

Upstream LinkSpan and AnnotatedTextView to easily create
accessibility-friendly rich text TextViews with links.

Bug: 27886391
Change-Id: I20137fb454c4b9d820263c8ce326380c1db2ef20
rc/com/android/setupwizardlib/span/LinkSpan.java
rc/com/android/setupwizardlib/span/SpanHelper.java
2def2bf2156581c6bde6d6baa4583ccd97f2f670 25-Mar-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Cache GlifPatternDrawable in Bitmap" into ub-setupwizard-belgarath
8d8efd86c72cdecefb133bd3bc3ee676233d2f2e 25-Mar-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Catch RuntimeException during template inflation" into ub-setupwizard-belgarath
3aee7b9de403e669e24ce68da1b390ab74288364 25-Mar-2016 Maurice Lam <yukl@google.com> [SuwLib] Catch RuntimeException during template inflation

On platform versions < M, RuntimeException is thrown when an
attribute is not found. This is changed to InflateException since M.
Catch the more generic RuntimeException so we will show the more
helpful error message on previous versions as well.

Bug: 27153117
Change-Id: I6367f2f2c6adfaab0c3dc1297249d08225c99d9c
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
a2f04916533b900d3661c9e8c9d98b71276fde13 24-Mar-2016 Maurice Lam <yukl@google.com> [SuwLib] Cache GlifPatternDrawable in Bitmap

Avoid rendering the path every time by caching the GlifPatternDrawable
on a Bitmap.

Bug: 27821812
Change-Id: I8eefcf662763ec05d11b53a0a02e3f39764075ae
rc/com/android/setupwizardlib/GlifPatternDrawable.java
8d5326358e2f2a48847b65223c21071647c0f7e5 24-Mar-2016 Maurice Lam <yukl@google.com> [SuwLib] Request apply window inset when attached

Bug: 25973134
Change-Id: Icaddf416e386624e9d8d4b06072a650e266ee9d6
rc/com/android/setupwizardlib/view/StatusBarBackgroundLayout.java
a8c0365b2a7f9d102ee16bc28d270088a7d898b5 19-Mar-2016 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I27fd060f3df1c6ff3f0412f1bc5dc5cb6f37f984
Auto-generated-cl: translation import
es/values-be-rBY/strings.xml
99586481628659cd2982a0248bc0d09a6ec4590e 18-Mar-2016 Maurice Lam <yukl@google.com> [SuwLib] Improve wrong theme error message

Improve the error message in SetupWizardLayout and GlifLayout to
mention the correct themes when there is an InflateException.

Bug: 27153117
Change-Id: I0b76713b820fd26fd2c8808819887e360c3e87a3
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
6ddcdc3c6c177c71d5feb5369a91682302944d56 17-Mar-2016 Maurice Lam <yukl@google.com> Merge "[SetupWizard] Fix override annotation" into ub-setupwizard-belgarath
ed5b44715a8f8091154710a7547e6286c0efa6ea 17-Mar-2016 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 27721314
Change-Id: Id00e38a9be288da55a30d43d6a01fb60dad702c3
es/values-bs-rBA/strings.xml
8e2e803f9d5a0c99ade0ee21749b4184bc888d18 17-Mar-2016 Maurice Lam <yukl@google.com> [SetupWizard] Fix override annotation

Change-Id: I6d730523fcee0ff40b796ff5cc9d6fea32c29997
rc/com/android/setupwizardlib/SetupWizardListLayout.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
es/values/attrs.xml
6cd984308b537924865bde77c2ee13d072cd9a48 10-Mar-2016 Udam Saini <udam@google.com> Exposes a way to get the header view.

This is needed inside settings to find the header view.

bug:27591940
Change-Id: I49d3c84583faacb4a42b3321e57d2e3b025a38f0
rc/com/android/setupwizardlib/SetupWizardLayout.java
f5b558b34cd2b1e05e85c4fd124e62e71a7151d8 22-Feb-2016 Udam Saini <udam@google.com> Offsets IME input including navigation bar.

bug:27063940
Change-Id: I55897640ff607176231492d2d9e0f218a8ee24ae
rc/com/android/setupwizardlib/util/SystemBarHelper.java
bf4afac02228e42af171bbb5f3db11977be487b1 20-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Allow setting progress bar color

Bug: 26458108
Change-Id: Icf736a0ce9f615efc0ab1dfecac17d01358ead92
rc/com/android/setupwizardlib/SetupWizardLayout.java
b40f7a74f7f07209b27b96fb87dfe613b3ebd0e6 18-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Fix list summary style

- Define TextAppearance.SuwItemSummary style used by material theme.
- In compat themes, propagate the appcompat theme attributes used to
the framework attributes.

Bug: 27227203
Change-Id: I13f16078989a8b010f4c16d2a63952daf6d10e67
es/values/styles.xml
6b214086f6dfcea081773682f4c49504576d6e7b 17-Feb-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Move some styles to main/v21" into ub-setupwizard-belgarath
096279305c13216fe28b88aed0dba67dd5112ae8 13-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Increase bottom margin for description

Bug: 27104912
Change-Id: I457745b6dec9d42950684c37635bf9dfb84f2d7d
es/layout/suw_items_description.xml
es/values/dimens.xml
dd4e96bb355091c290a04703aa229ee98b27ad7f 13-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Move some styles to main/v21

Move the styles to main/v21 so that even the eclair-mr1-compat and
full-support will try to resolve platform attributes instead of support
lib attributes on v21 or above.

Bug: 27152471
Change-Id: I410ae39adf052427192ada09bf7a0961b1e909d9
es/values-v21/styles.xml
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
rc/com/android/setupwizardlib/SetupWizardLayout.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
es/layout/suw_no_scroll_template_card.xml
es/layout/suw_no_scroll_template_card_wide.xml
es/layout/suw_no_scroll_template_header.xml
es/layout/suw_no_scroll_template_header_collapsed.xml
15391fc05a0fc45e9af85b653abffa41df575e91 06-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Add divider insets

Allow SetupWizardListLayout and SetupWizardRecyclerLayout to have
divider insets.

Change-Id: I879469b15692e86d24336b13a8ee9d1a796bb036
es/values/attrs.xml
es/values/dimens.xml
rc/com/android/setupwizardlib/GlifListLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
198d2a5fda3e94aeb5b7561e9fe78250e742df83 04-Feb-2016 Maurice Lam <yukl@google.com> Merge "[SuwLib] Add suw_items_description" into ub-setupwizard-belgarath
fb4e0307e4601ffd4ad643a341e74cf9259a0b59 04-Feb-2016 Udam Saini <udam@google.com> Adds icon color to library

bug:26964797
Change-Id: I47299c500cc35372941d74d00c10b6ec51393468
es/values/attrs.xml
es/values/colors.xml
b2ded0c9166ffda73fabf813f6bd455890a595b6 03-Feb-2016 Maurice Lam <yukl@google.com> [SuwLib] Add suw_items_description

Add @layout/suw_items_description, for use in the items framework as
the first "body copy" item of a screen. It is expected to be used in
conjunction with android:enabled="false", and used without an icon.

Bug: 26878942
Change-Id: I255ae70bca7405c473759108129d1115eabf9815
es/layout/suw_items_description.xml
505cf2637c0648144cd502377580c631609883ff 01-Feb-2016 Ajay Kumar Nadathur Sreenivasan <ajayns@google.com> Merge "Setup wizard material description text needs top margin" into ub-setupwizard-belgarath
16d74a75c63317cd04da5452f03e3f7457b746f8 29-Jan-2016 Ajay Nadathur <ajayns@google.com> Setup wizard material description text needs top margin

- Added margin so that there is some space between title and the image
- Tested on nexus 6.
- Tested on nexus 9
bug:26773387
NOTE: This is a cherry-pick of 8ddbe7e3841c642270cfe4b9a465407caf152b7b from master
Change-Id: I306f62044f6a025c14d245a13c5f3997b7be80c3
es/values/dimens.xml
2286e48a268aaa0dc57b93b878c3a632c627acec 30-Jan-2016 Udam Saini <udam@google.com> Adds a stable ids attribute for recycler views

bug:26877107
Change-Id: Ia1eb9646f887a6e0b61613997558d08da85d057b
es/values/attrs.xml
0e9b312956dd28cef21473337800919eb0a54b2d 28-Jan-2016 Maurice Lam <yukl@google.com> [SuwLib] Add sticky header to recycler view

Change-Id: Ib06ab550c16471fbdae3c348f9c91dd42893a138
rc/com/android/setupwizardlib/SetupWizardLayout.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
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/util/AbstractRequireScrollHelper.java
rc/com/android/setupwizardlib/util/ListViewRequireScrollHelper.java
rc/com/android/setupwizardlib/util/RequireScrollHelper.java
ac40f3676511e1c7c09a948f5cb8481e5ea12d57 21-Jan-2016 Maurice Lam <yukl@google.com> [SetupWizard] Add GlifLayout.setPrimaryColor

Bug: 26458108
Change-Id: Ia7be66fcf1efd60e65a759006f72b3a0589d0401
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
d6708911f6f2fa7dd060536a118b5efb3c5e174f 22-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] Add dark GLIF theme (placeholder)

Add placeholder for dark GLIF theme, which is an extension of the
dark system themes with same overlay values as the light variant.
The color values of the overlays will be updated as necessary.

Change-Id: If7aa2e4b849c26300d4d8ab606be7b74cc33620f
(cherry picked from commit 0c0f30d332afd782dd107ef11f7fa76fb2fdd165)
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
ef441ba2e03cd6f9466091ec07f266696009751a 20-Jan-2016 Maurice Lam <yukl@google.com> [SuwLib] Set max height on GLIF icon

Bug: 26458205
Change-Id: I327a8948fef50a3099f27a098acce40a4b5d57dd
es/values/dimens.xml
es/values/styles.xml
38a3832bf55aeb5dc24904d4d1ddf391dffa7d7b 19-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] Add preference integration support

Change-Id: I2e756bcea1512886958ec70c80ae6f4616c9ed81
es/layout/suw_glif_blank_template_card.xml
es/layout/suw_glif_blank_template_compact.xml
es/values-sw600dp/layouts.xml
es/values/layouts.xml
rc/com/android/setupwizardlib/util/DrawableLayoutDirectionHelper.java
21a04dc2c4d43b455dc1c1250a90dc84738b2a00 17-Dec-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Allow setting visibility of items"
34cbad456cd8db53552489c9214b1514e4484ccf 16-Dec-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I5f40f368475208748159caf808b1408e9ec5d416
Auto-generated-cl: translation import
es/values-b+sr+Latn/strings.xml
575ec4f0150a3607d0b6902a9b52866c170822f9 14-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] Allow setting visibility of items

Added setVisible and android:visible to Item so that it will be
hidden if not visible.

Change-Id: If8d2e3ec95c2f1aaffe8991c283f5c474e1f459a
es/values/attrs.xml
rc/com/android/setupwizardlib/items/Item.java
0a51b2852ce9940075774191dce7b81ce91eb4a1 11-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] Add progress bars to GLIF layouts

Change-Id: I5a32cabcc1d89cfb978fbceb3d3f4811bccaea92
es/layout/suw_glif_header.xml
es/values/dimens.xml
rc/com/android/setupwizardlib/GlifLayout.java
52c54556297ace8d0fc789cc74ffed0b4b39ce4b 10-Dec-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Implement pattern drawable background"
2150682fc7e01197f05833e1314e426e5ffd7b94 10-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] Allow setting view IDs for items

Add getViewId method for Items which will be assigned to the view ID.
This helps especially in testing, for UiAutomator to find the views
needed for the tests.

Change-Id: Ie88fbffc357eca9303d37830ace44511e5d81aa7
rc/com/android/setupwizardlib/items/Item.java
c3eebe9f664af4b77e5948a14bf266b25dc25cc8 14-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement pattern drawable background

- Implement the pattern background for GLIF using a custom drawable.
The drawable draws the paths manually as specified in the SVG, for
backwards compatibility.
- Use a FrameLayout subclass to draw the custom status bar background
in the case of phone layouts, and set draw the background directly
for tablet / clamshell layouts.

Bug: 25650709
Change-Id: I527bb47efa143ec43c1030b57087fd2414d7045b
es/layout/suw_glif_list_template_card.xml
es/layout/suw_glif_list_template_compact.xml
es/layout/suw_glif_template_card.xml
es/layout/suw_glif_template_compact.xml
es/values/attrs.xml
es/values/layouts.xml
rc/com/android/setupwizardlib/GlifLayout.java
rc/com/android/setupwizardlib/GlifPatternDrawable.java
rc/com/android/setupwizardlib/view/StatusBarBackgroundLayout.java
38064bc73a1ae04d94557ed35fb2f12b737a8898 08-Dec-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Update landscape card orientation"
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
rc/com/android/setupwizardlib/GlifListLayout.java
cbbf1cfcf70397f5ae8cfbaae63c1031c16577a9 04-Dec-2015 Maurice Lam <yukl@google.com> [SuwLib] Update landscape card orientation

In GLIF card layout landscape, the card should also be landscape, so
swapping the width and height dimens for landscape orientation.

Change-Id: I0a584bc6ecca42847f2307900b83907dacb182cb
es/values-land/dimens.xml
678740df07b7df6708d7b1dafd492e3e4236cea2 03-Dec-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Implement tablet layouts"
5912e9a15f5ce8ea287bd773c8a5bc4334591a26 25-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement tablet layouts

Implement suw_glif_*_template_card, and move the existing
implementation to suw_glif_*_template_content, which is included in
the card layout using <include>. Clients can use the common layout
by its old reference (e.g. suw_glif_list_template) since those are
aliased according to the respective screen sizes.

Bug: 25726515
Change-Id: I54d04c40b69b3dc0b71ca4fd395d1efbc7aa15e9
es/layout/suw_glif_list_template.xml
es/layout/suw_glif_list_template_card.xml
es/layout/suw_glif_list_template_content.xml
es/layout/suw_glif_template.xml
es/layout/suw_glif_template_card.xml
es/layout/suw_glif_template_content.xml
es/values-sw600dp/layouts.xml
es/values/dimens.xml
es/values/layouts.xml
es/values/styles.xml
0c0a00a3fbf90e5c80fd67dc002b6a680b7744ac 30-Nov-2015 Udam Saini <udam@google.com> [SetupWizard] Makes headers unselectable

bug:25863140
Change-Id: I95bf3abd8050d316b831bc5fec15a864393b051a
rc/com/android/setupwizardlib/view/StickyHeaderListView.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
es/layout/suw_glif_recycler_template.xml
es/values/attrs.xml
es/values/dimens.xml
rc/com/android/setupwizardlib/GlifListLayout.java
rc/com/android/setupwizardlib/util/DrawableLayoutDirectionHelper.java
9cce95b839bb5a266e87108ac65df1ce2ba09c44 13-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement verbose item layout

A verbose item is an item with smaller font-size that is intended for
more text-heavy items, including the body-copy.

Also duplicated the styles for suw_items_default layout instead of
duplicating the entire layout file.

Bug: 25726515
Change-Id: I2839d96f26fcd46e574e498a2c7f6385d86c9041
es/layout/suw_items_default.xml
es/layout/suw_items_verbose.xml
es/values/dimens.xml
es/values/styles.xml
0f78c23805fa88c766d130caf2b3b55d572705fb 23-Nov-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Implement GlifRecyclerLayout"
b01f3ef075d501d1f61e6f61794a5cadd3ff2026 21-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement GlifRecyclerLayout

Bug: 25726515
Change-Id: Ibb60af51928bb5fc828761c55430cc8d31fe5c98
es/layout/suw_glif_recycler_template.xml
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifLayout.java
784067993e0ade309b787deeffd41ab53f3dfaed 23-Nov-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Tune dimensions to match redlines"
d82a8423c95a68fb3a9375c3b2040e8f36fe1d1b 20-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Tune dimensions to match redlines

Bug: 25726515
Change-Id: I96778e4aa23cede0d5f507abf728c5ea84e298ec
es/values/dimens.xml
es/values/styles.xml
e15b8a2489610e3a6fe0a5bc2e26625b067631e0 20-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement GlifListLayout

Bug: 25726515
Change-Id: I192f33635e9919c02adfdb2c9afa1652dd84aab2
es/layout/suw_glif_header.xml
es/layout/suw_glif_list_template.xml
es/layout/suw_glif_template.xml
es/values/attrs.xml
rc/com/android/setupwizardlib/GlifListLayout.java
fce4cf6161b2a1644ad21034f0afe4087d659ab4 19-Nov-2015 Maurice Lam <yukl@google.com> [SetupWizard] Implement GlifLayout

Bug: 25726515
Change-Id: Ib4ba64e648e52a9859fb6509a9ce41c692a20aa2
es/layout/suw_glif_template.xml
es/values/attrs.xml
es/values/dimens.xml
es/values/styles.xml
rc/com/android/setupwizardlib/GlifLayout.java
35cc29c9f307191962cd7124db14eb7b78c9407e 17-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Add GLIF theme

Add a GLIF theme declaration to setup wizard library, which is just
a direct copy of SuwThemeMaterial.Light for now, and will be updated
as more of the new visual design is implemented.

Bug: 25726515
Change-Id: I3f55662192c05012b9a93d77f7b1303f4a792fe5
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
b29488505be15c3982283662f903cec53320b72f 16-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Deprecate material blue themes

GMS core is still holding a reference to the material blue themes
that will be tricky to remove. Deprecate the constants for now.

Change-Id: Icbc30cd5e8d8aad78008b6cf37fcf3db723c2c50
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
a19d2597a1dc53cd71d82bb98ed0b4a5b6ad9b35 16-Nov-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Remove sendActionResults"
cfff9b6d4d9a0c3b22601a5e90888e89c58e9bbc 14-Nov-2015 Maurice Lam <yukl@google.com> Merge "Revert "[SuwLib] Remove material_blue theme values""
647dc702649512dc47f88eaf5e9058f8452537c7 14-Nov-2015 Maurice Lam <yukl@google.com> Revert "[SuwLib] Remove material_blue theme values"

This reverts commit 7df47886e1d74fb2a5a25b129133f4dd9f1986bc.

Change-Id: Id21b1b89476612efd6cae04eb67b22a6dfbfe964
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
f23224964ad3b68091342ab48d02e5b96c1c73e2 14-Nov-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Remove material_blue theme values"
5dd0c48e1b40e6319caf2406cd7e84e1545f7c95 14-Nov-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Put margin sides into attribute"
f821bd86bc4090bd75226b8264417a305f0398d5 13-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Put margin sides into attribute

Put margin sides into attribute so it can be easily modified in a
theme.

Change-Id: Ib011e1725e9e7996efcf4a332a569230842871ca
es/values/attrs.xml
es/values/styles.xml
229aa7c82e77ee36543df0ce6035a61ab2418152 12-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Remove sendActionResults

Remove sendActionResults since it cannot be used properly with
startActivityForResult, which is the recommended way to start the
NEXT action.

Change-Id: Iae00af85b8725119accf343ad1556818e97d4bb3
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
7df47886e1d74fb2a5a25b129133f4dd9f1986bc 13-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Remove material_blue theme values

The values are part of a plan that hasn't panned out, so cleaning up
the constants to avoid confusion.

Change-Id: I1501ffb59a0dad9145d8c20d16999bceda15dcfd
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
c3a4e07feacd7e9cff6d0fc6ddbe86c90d6f7087 12-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Add isLightTheme for strings

Add isLightTheme method to be able to directly tell whether a string
represents a light or dark theme.

Change-Id: Ib49cdcbb9047e235189a451b42f20b5cba5eb42a
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
6ab34e2e3bffde2f51505f3d2189a14fdb6958be 22-Oct-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Add nested items support"
960c0ea0b1d36904beef0f01715dd43a211e88ca 09-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Add nested items support

Add nested items support to items framework, which allows ItemGroups
to be placed inside another ItemGroup. Handling of children elements
are at discretion of the parent, but for the case of ItemGroup it
will provide a flattened view of the items.

Change-Id: I17bfd8ee276bf47d388873e68e67324c755425b3
es/values/attrs.xml
rc/com/android/setupwizardlib/SetupWizardItemsLayout.java
rc/com/android/setupwizardlib/items/AbstractItem.java
rc/com/android/setupwizardlib/items/AbstractItemHierarchy.java
rc/com/android/setupwizardlib/items/GenericInflater.java
rc/com/android/setupwizardlib/items/IItem.java
rc/com/android/setupwizardlib/items/Item.java
rc/com/android/setupwizardlib/items/ItemAdapter.java
rc/com/android/setupwizardlib/items/ItemGroup.java
rc/com/android/setupwizardlib/items/ItemHierarchy.java
rc/com/android/setupwizardlib/items/ItemInflater.java
9b7afd94fe215cb00b6a9ce035b2c323e3c7c96f 16-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Fix lint errors

The log tags were too long and lint was complaining, breaking the build
on ub-setupwizard-master. Removing the logs. Also completed javadocs
for sendActionResults.

Change-Id: Icdacd6257f0812888172eec0e2d446437f6cd205
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
b0e31d59b646b89d8570f4baa12494d9a2292f67 16-Oct-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Add list_container layout"
d9bfa264d7b2bf57ee60c45f53d0ce20a89937c5 15-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Add list_container layout

Add list_container layout in no scroll templates to allow support
preference framework to inflate a recycler view inside.

Bug: 24929660
Change-Id: Ie42d13b39060a7270ba307a55564a768140a9bef
es/layout/suw_no_scroll_template_card.xml
es/layout/suw_no_scroll_template_card_wide.xml
es/layout/suw_no_scroll_template_header.xml
es/layout/suw_no_scroll_template_header_collapsed.xml
86eeff4257ff263a7adcff5caa34d2d3e31ba180 15-Oct-2015 Russell Brenner <russellbrenner@google.com> Merge "Add multi-script support"
dd9f0b31a84f289557d7ae405c7a74e2c6fbb05a 22-Sep-2015 Russell Brenner <russellbrenner@google.com> Add multi-script support

Added API for sending results back to WizardManager, including the
new bundle extra, to replace the extras for the script URI and action
ID.

Bug: 23392273
Change-Id: Idcd04ea47679bfc9f9a8293a022d28d32c9e2acc
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
59441c01edcceaae457ab2ef7f5094745ed450e1 13-Oct-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Adjust a11y event for header"
2f6da982127c0fe48d9f4002a94e4212076fadb2 13-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Adjust a11y event for header

Exclude StickyHeaderListView's header from item count in a11y event.

Bug: 24871684
Change-Id: Idffa8e073e4852164d9797c739194dde71d8a3fb
rc/com/android/setupwizardlib/view/StickyHeaderListView.java
48dd827be07471f59aae71eb026253cc1ab7ef97 12-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Support icons in items framework

Change-Id: Idd6ce39a9d4be2914ae3f8747c86b173d578f468
es/values/dimens.xml
rc/com/android/setupwizardlib/items/Item.java
b922482e73fc63840d86b78898d0165ffcad1c72 09-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Make Items editable

Add setters to the properties of items to make them editable.

Change-Id: I04ab8a0fd31f52e60a699198fe1422bed5163e61
rc/com/android/setupwizardlib/items/Item.java
c5bf1cb9cb52f95f862eedb8d4f2c71c1ff1a79f 09-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Single-line item

Hide the summary TextView if summary is not set, so that the title
will be centered vertically.

Change-Id: Idbc5f35f7ce48a7338eb0b7061ef5d02b74b7b65
rc/com/android/setupwizardlib/items/Item.java
5bf291fde3dfd64f264d525534730514a279c8fc 06-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement Items framework

Items framework is a framework modeled after preferences, which uses
XML to inflate a collection of items. Instead of using activity or
fragment directly like preferences, a ListAdapter is created and you
can use that with any existing ListViews.

SetupWizardItemsLayout is a convenient wrapper around
SetupWizardListLayout which will automatically inflates
android:entries in its attributes to populate the list.

Note: A recycler view adapter is under consideration

Change-Id: I5eb8853c160cf86fa5b6f21a01dfa4b0030643f6
es/values/attrs.xml
rc/com/android/setupwizardlib/SetupWizardItemsLayout.java
rc/com/android/setupwizardlib/items/GenericInflater.java
rc/com/android/setupwizardlib/items/Item.java
rc/com/android/setupwizardlib/items/ItemAdapter.java
rc/com/android/setupwizardlib/items/ItemGroup.java
rc/com/android/setupwizardlib/items/ItemInflater.java
95abb283deb209532bbbae4ade3f5cc149a548a6 09-Sep-2015 Maurice Lam <yukl@google.com> [SuwLib] Make getScrollView public

Make getScrollView public so that client apps can get the scrollview
without using findViewById and making assumptions about the type.

Change-Id: I79b73e4b2a02831147b49e7d9137b7954759c360
rc/com/android/setupwizardlib/SetupWizardLayout.java
deb6095015294260a2edeecb31410543bf867509 27-Aug-2015 Maurice Lam <yukl@google.com> Merge "[SUWLib] Update secondary text style"
b2a947a1b8bad1e855beab6e3f0a75269b7a09b2 26-Aug-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add showSystemBars method"
99231ff98b97a82811f889636ad6dae6d371275b 10-Jun-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add showSystemBars method

Added showSystemBars method that will undo the visbility flags added
by hideSystemBars.

Change-Id: Iaaa2f2e96089ebf3696f747f51d9174dc0d2bb09
rc/com/android/setupwizardlib/util/SystemBarHelper.java
d47272c0b72077c9c3f274ae0fb90086cf1a04c1 26-Aug-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: Id77b82b0033cb2e11c30348665f03875ff83916a
Auto-generated-cl: translation import
es/values-zh-rHK/strings.xml
b38561602db3fc1b31c7ee907da41ec2c53e4764 19-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Fix javadocs

Convert existing javadocs, which is more plain-text-ish, to javadocs
using proper HTML and javadoc tags.

Bug: 21444334
Change-Id: Iea79b3371c4e1c1c99515abd1c1492f37ad38d05
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/TemplateLayout.java
rc/com/android/setupwizardlib/util/Partner.java
rc/com/android/setupwizardlib/util/SystemBarHelper.java
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
rc/com/android/setupwizardlib/view/Illustration.java
rc/com/android/setupwizardlib/view/NavigationBar.java
rc/com/android/setupwizardlib/view/StickyHeaderListView.java
rc/com/android/setupwizardlib/view/StickyHeaderScrollView.java
7f58f097f6add0cc55ae0d9c6767b3d40d6517b9 01-Aug-2015 Maurice Lam <yukl@google.com> [SUWLib] Update secondary text style

Use framework default color 54% black as textColorSecondary, and
make change SuwRadioButton to use the regular SuwDescription
TextAppearance.

Bug: 21933409
Change-Id: I1d99c5038cc0c46fb750381d3e5d625058766d38
es/values/colors.xml
es/values/styles.xml
91051468dbc273da8d7e7608640e833a71d011e2 07-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Tint navigation button icons

- Remove the dark variant of button icons, since it is now tinted
to the desired color
- Use DrawableCompat.setTintList to tint the drawables to the same
color used as text
- Use textColorPrimary as the navigation text color, since the spec
now matches the default textColorPrimary implementation of material
theme (This changes the disabled color from 20% alpha to 26% alpha)
- Configured the build to take two different implementations of
NavigationBarButton. The platform build is the same as Button,
since drawable tinting is natively supported. The comapt build
uses DrawableCompat in the support library to tint any compound
drawables
- Removed all xxxhdpi assets since that was introduced in L, but
vector assets are used in L instead.
- For the vector drawables, use tint instead of fillColor so that the
state in the ColorStateList will be taken into account.

Bug: 22129308
Change-Id: Id0c7b40ad3e71c2c66a0e89df4522865a61e923e
es/drawable-anydpi-v21/suw_navbar_ic_back.xml
es/drawable-anydpi-v21/suw_navbar_ic_more.xml
es/drawable-anydpi-v21/suw_navbar_ic_next.xml
es/layout/suw_navbar_view.xml
es/values-v21/styles.xml
es/values/attrs.xml
es/values/colors.xml
es/values/styles.xml
rc/com/android/setupwizardlib/view/NavigationBar.java
3fa6e08ea0e8b2a9deff3096893cfa49761e2ac7 07-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Enable lint for setup wizard library

Fix existing lint issues and enforce lint in all builds done in the
ub-setupwizard-* tree. Lint will not be run or enforced in included
builds (e.g. GMS core builds which builds setup wizard library from
source using build.gradle file)

Change-Id: I7c1f8e2dce38d455ff5b635f80255e09baea1263
es/values/styles.xml
rc/com/android/setupwizardlib/view/Illustration.java
bdfc0132ff90a333de202adfbf204cdc8139e632 13-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Refactor out TemplateLayout

Refactor TemplateLayout as a base class for SetupWizardLayout, which
is a generic layout that takes the "android:layout", inflates that as
a template and put its children in the "container".

Change-Id: Id7977787ffa6cdb5df7a4cb8172ce1fa6a52ed45
es/values/attrs.xml
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/TemplateLayout.java
4b88e9f4d96e0e2f51187ef817b4d60079259a14 04-Aug-2015 Maurice Lam <yukl@google.com> Merge "[SuwLib] Avoid infinite loop in SystemBarHelper"
803f8b1dc47a4adebfab7434b6d8e410f80de14f 01-Aug-2015 Maurice Lam <yukl@google.com> [SuwLib] Avoid infinite loop in SystemBarHelper

Set the maximum number of retries allowed by SystemBarHelper to
peek for the decor view to 3.

Bug: 22846994
Change-Id: Ia69cb28deb8c182a7f31890d20cc687218b93200
rc/com/android/setupwizardlib/util/SystemBarHelper.java
ac7e8666e60d50f5f3dfef2d44b783cbfe3afd52 22-Jul-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I18dae2cad61b9e14e8c54ca58f7755171c70b810
Auto-generated-cl: translation import
es/values-pt-rBR/strings.xml
e799d27f01f2dd6a5b7d39c05c4be81552a30de4 23-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Use anydpi for vector drawables

Use anydpi for vector drawables so they take precendence over the
bitmap compatibility versions.

Change-Id: I92bed4aef50050503d7e88be3cf244251d069184
es/drawable-anydpi-v21/suw_navbar_ic_back.xml
es/drawable-anydpi-v21/suw_navbar_ic_more.xml
es/drawable-anydpi-v21/suw_navbar_ic_next.xml
es/drawable-v21/suw_navbar_ic_back.xml
es/drawable-v21/suw_navbar_ic_more.xml
es/drawable-v21/suw_navbar_ic_next.xml
f081e79b20c1ff1d6883b1affa559cacd5e105fb 09-Jun-2015 Maurice Lam <yukl@google.com> am 74a2813e: Merge "[SetupWizardLib] Allow showing keyboard in immersive dialogs" into ub-setupwizard-alatar

* commit '74a2813e8f4867ef32b05c3f275d0a7e887c36dd':
[SetupWizardLib] Allow showing keyboard in immersive dialogs
74a2813e8f4867ef32b05c3f275d0a7e887c36dd 09-Jun-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Allow showing keyboard in immersive dialogs" into ub-setupwizard-alatar
35ef4eb340353962f23cab81a33b2ddbdfce1da7 09-Jun-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Allow showing keyboard in immersive dialogs

Addd the flag SOFT_INPUT_IS_FORWARD_NAVIGATION when hiding dialog
system bars so that if the dialog wants focus to show IME by default,
it can do so.

Bug: 20639199
Change-Id: I87dc40bbaae71572bbe4b94b92be40342f117613
rc/com/android/setupwizardlib/util/SystemBarHelper.java
d0261a881860fb7daed804bea6c042f328e334ed 08-Jun-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: Ib67ace362f4f24e50fd9895d11523a9eb6219e5a
Auto-generated-cl: translation import
es/values-kk-rKZ/strings.xml
e9f5cb060fe0f4b064bdc5d314d0355fd492c844 08-Jun-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I17f6b344fe681dc3bbfdabaa51bec74f2d841371
Auto-generated-cl: translation import
es/values-kk-rKZ/strings.xml
fbdbd9161d203c59b2630752ddee0e7e66bae8a3 05-Jun-2015 Maurice Lam <yukl@google.com> am 1a970801: Merge "[SetupWizardLib] Check box styles" into ub-setupwizard-alatar

* commit '1a9708016810992f8ca3394189939f372c47816c':
[SetupWizardLib] Check box styles
1a9708016810992f8ca3394189939f372c47816c 05-Jun-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Check box styles" into ub-setupwizard-alatar
69ebd3159bcd408d4787a0fc3dff073da5b2c34a 05-Jun-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Check box styles

Add style for setup wizard check boxes according to setup wizard
design guidelines.

Change-Id: Idbbf7b14bcc73631352b4741d4d37579e7cac988
es/values/dimens.xml
es/values/styles.xml
0d1d53cc27004b7fe3950ad51aa4456b7a9b6d9b 05-Jun-2015 Maurice Lam <yukl@google.com> am 5e9c2cf9: Merge "[SetupWizardLib] Add radio button style" into ub-setupwizard-alatar

* commit '5e9c2cf9ad95ba57d587f0404bab4b2cfdb728b7':
[SetupWizardLib] Add radio button style
5e9c2cf9ad95ba57d587f0404bab4b2cfdb728b7 05-Jun-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add radio button style" into ub-setupwizard-alatar
9a3337d4b0ab077ea247fcb70a252a8c26489a72 05-Jun-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add radio button style

Add radio button style according to UX guidelines.

Bug: 21561511
Change-Id: I71f31968a69a7da55841e466cd557b8b0eaea5d7
es/values-v21/styles.xml
es/values/dimens.xml
es/values/styles.xml
74cf3794c62ae9cb825e158dc3a53dd7886e1a09 04-Jun-2015 Maurice Lam <yukl@google.com> am fa7b14ac: [SetupWizardLib] Change header max lines to 2

* commit 'fa7b14ac2034f3c88c1b6d7ac5f05d669d7b80e8':
[SetupWizardLib] Change header max lines to 2
fa7b14ac2034f3c88c1b6d7ac5f05d669d7b80e8 03-Jun-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Change header max lines to 2

Bug: 21612053
Change-Id: I84051130bb36c3a7835d549aed2255ac5eab5937
es/values/styles.xml
84a854ebb14fde852e21676f294feff9abdb54ac 03-Jun-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I77e060e791bf9e990188769d5cd2468a48f03fb9
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pl/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
880f28f559c87b1b2fcc979c791c8b7c63e3fe9e 03-Jun-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I552e21bec824ff78d3e2aa5c9a84173cdbdfe942
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-az-rAZ/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-gu-rIN/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pa-rIN/strings.xml
es/values-pl/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sq-rAL/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
3d3d6bda003b7621f8e9eff88fafc950b562cf21 01-Jun-2015 Maurice Lam <yukl@google.com> am ebafff0f: Merge "[SetupWizardLib] Support for ObjectAnimator" into ub-setupwizard-alatar

* commit 'ebafff0f5fb7dec144e50b3230a39faf2096c242':
[SetupWizardLib] Support for ObjectAnimator
ebafff0f5fb7dec144e50b3230a39faf2096c242 01-Jun-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Support for ObjectAnimator" into ub-setupwizard-alatar
8c10c403c063aff3f17c4949b0fe9a88536ae580 29-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Support for ObjectAnimator

Support for animator to animate SetupWizardLayout horizontally, which
requires adding a setXFraction method, changing the translationX with
respect to the width of the view.

Also moved annotations to com.android.setupwizardlib.annotations
package to avoid class loading problems in clients that use support
annotation library.

Bug: 20110840
Change-Id: Ibfb900323bcf4f32c8ded4c4a6dbf4765f17751a
es/animator-ldrtl-v11/suw_slide_back_in.xml
es/animator-ldrtl-v11/suw_slide_back_out.xml
es/animator-ldrtl-v11/suw_slide_next_in.xml
es/animator-ldrtl-v11/suw_slide_next_out.xml
es/animator-v11/suw_slide_back_in.xml
es/animator-v11/suw_slide_back_out.xml
es/animator-v11/suw_slide_next_in.xml
es/animator-v11/suw_slide_next_out.xml
rc/com/android/annotations/VisibleForTesting.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/annotations/Keep.java
rc/com/android/setupwizardlib/annotations/VisibleForTesting.java
rc/com/android/setupwizardlib/util/Partner.java
rc/com/android/setupwizardlib/view/BottomScrollView.java
6f5e9e3055677af7b0da3852f4a7995c62e14485 01-Jun-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I35f14887bd9ca512c1a3229389217e75340fb1b1
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pl/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
4e9f6413d1f8a48bef0c72d911bf04899c240c0c 31-May-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I81051a83e7516c9440b074e81403eb983b6903b1
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-az-rAZ/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-gu-rIN/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pa-rIN/strings.xml
es/values-pl/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sq-rAL/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
6c2b146d28f2444124f2aec23bcd924c18767428 30-May-2015 Geoff Mendal <mendal@google.com> Merge "Import translations. DO NOT MERGE"
44fcea3143cbaa04342ca5d7d0707dbc4aa87703 30-May-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I684a8b211da80d804e21f0fc5923e3a590761bfd
Auto-generated-cl: translation import
es/values-az-rAZ/strings.xml
eb2bd041ed2bfc7644083132f9cc46d14600866c 30-May-2015 Maurice Lam <yukl@google.com> am 657d1835: Merge "[SetupWizardLib] Update comments for SystemBarHelper" into ub-setupwizard-alatar

* commit '657d18359b7b671d0d5fb0aeb918dadce4366281':
[SetupWizardLib] Update comments for SystemBarHelper
17a05d12e492bcf6479e805e4c5626cc8ae474bb 30-May-2015 Maurice Lam <yukl@google.com> am 99581175: Merge "[SetupWizardLib] Sort colors.xml" into ub-setupwizard-alatar

* commit '99581175e43c72ed929dc1a54c99ce1061baed0f':
[SetupWizardLib] Sort colors.xml
456dd0ee183fe9639aed5ceb96a6c9467422b3d6 30-May-2015 Maurice Lam <yukl@google.com> am 624e47bb: Merge "[SetupWizardLib] Add support for require scrolling" into ub-setupwizard-alatar

* commit '624e47bb19724c1195cabb235f150ffcb1656097':
[SetupWizardLib] Add support for require scrolling
657d18359b7b671d0d5fb0aeb918dadce4366281 30-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Update comments for SystemBarHelper" into ub-setupwizard-alatar
99581175e43c72ed929dc1a54c99ce1061baed0f 30-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Sort colors.xml" into ub-setupwizard-alatar
624e47bb19724c1195cabb235f150ffcb1656097 30-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add support for require scrolling" into ub-setupwizard-alatar
8fc85be65673f6ec8b3202d8b3fc644a3adeeded 30-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Update comments for SystemBarHelper

Update the comments to mention that adjustResize is needed for
SystemBarHelper.setImeInsetView to have effect.

Change-Id: I66de333911b8baf3a74c064d55e609e74ee74172
rc/com/android/setupwizardlib/util/SystemBarHelper.java
96ca65b2fe6afbe909a4a82aef47e2d3b17b3e84 30-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Sort colors.xml

Keep the colors in alphbetical order.

Change-Id: Ic020384d086b1ce6b3d6e33622d9d899a6f40963
es/values/colors.xml
2d77e072fed129b34e473c7f77246a2b064fab7d 29-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add support for require scrolling

Add SetupWizardLayout.requireScrollToBottom method that will register
a RequireScrollHelper on the layout. When the helper is registered
and the content view can scroll, the next button will be hidden and a
down-arrow button is shown, which will scroll the page down when
clicked.

Change-Id: Ib9ddcbeec24169cc00265fe107deb1b5099cba8d
es/drawable-v21/suw_navbar_ic_more.xml
es/layout/suw_navbar_view.xml
es/values-v21/styles.xml
es/values/attrs.xml
es/values/strings.xml
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/util/RequireScrollHelper.java
rc/com/android/setupwizardlib/view/NavigationBar.java
cef703619047cd2f90623d8b55f48259ff4672db 29-May-2015 Maurice Lam <yukl@google.com> am 93131f35: Merge "[SetupWizardLib] Remove layout_width height from styles" into ub-setupwizard-alatar

* commit '93131f35c30eb68107f04cbba8fde02e232d5b9b':
[SetupWizardLib] Remove layout_width height from styles
93131f35c30eb68107f04cbba8fde02e232d5b9b 29-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Remove layout_width height from styles" into ub-setupwizard-alatar
152bc6b1d19aa4e2b62541685b23048c11546b6c 28-May-2015 Maurice Lam <yukl@google.com> am 6c093727: Center nav bar button icon

* commit '6c093727dc5ab7b13f142506803b1d98a642c910':
Center nav bar button icon
6c093727dc5ab7b13f142506803b1d98a642c910 28-May-2015 Maurice Lam <yukl@google.com> Center nav bar button icon

Center the navigation bar button icon when there is no text label.

Bug: 21465490
Change-Id: Ie2d890b29c721f6f2fb0608637b5a76ab389294e
es/values-v21/styles.xml
rc/com/android/setupwizardlib/view/NavigationBar.java
ee62a4c62fe414c6bc97ce7d4eb70ed2409e4f9e 28-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Remove layout_width height from styles

Remove layout_width and layout_height attributes from styles, because
it is too easy to unknowningly crash the app by changing to a
different style that doesn't have these attributes specified.

Change-Id: Ib37f833be08e8380e931458ed44a0c514b0858b3
es/values-v21/styles.xml
fa3cd78e4b68324c594335185789b6802f912cf4 21-May-2015 Maurice Lam <yukl@google.com> am 173c7bc8: Merge "[SetupWizardLib] Add tests for BottomScrollView" into ub-setupwizard-alatar

* commit '173c7bc879c47660f943f2a3cd67ed440f55d3d3':
[SetupWizardLib] Add tests for BottomScrollView
173c7bc879c47660f943f2a3cd67ed440f55d3d3 21-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add tests for BottomScrollView" into ub-setupwizard-alatar
dc96588ed77b6ef3f5d0129011fbeb6f85a50d34 21-May-2015 Russell Brenner <russellbrenner@google.com> am caf3ce9f: Add getHeaderText

* commit 'caf3ce9f8da61e59a7b7dacbce2e1f8e23d3231e':
Add getHeaderText
caf3ce9f8da61e59a7b7dacbce2e1f8e23d3231e 21-May-2015 Russell Brenner <russellbrenner@google.com> Add getHeaderText

Utility routine to return the current header.

Change-Id: I53a5d80a0b65f4388c429503bada9271a3286695
rc/com/android/setupwizardlib/SetupWizardLayout.java
578dd1c111c2461620777b315eab3a95bee9ecd1 21-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add tests for BottomScrollView

Test that BottomScrollView callbacks are called correctly.

Change-Id: Ia2e9e4149057b06794cdf85ba07c44efc0aec579
rc/com/android/setupwizardlib/view/BottomScrollView.java
ad9539486e1aad5592e371deb28662c14d33003b 11-May-2015 Maurice Lam <yukl@google.com> am bde9f28a: Merge "[SetupWizardLib] Guard translationY with SDK version" into ub-setupwizard-alatar

* commit 'bde9f28af53f6826c06e2afd8db5995f7f5ecff0':
[SetupWizardLib] Guard translationY with SDK version
ae78742ac7987df09fa1b1301b54427beebdf4f6 08-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Guard translationY with SDK version

setTranslationY was introduced in Honeycomb, add the version guard
before calling it in onScrollChanged.
Also update the sitcky header position during onLayout so it is
positioned correctly after orientation change.

Change-Id: I934de1762457129f5ca3a0afe56aac430aa6c3b4
rc/com/android/setupwizardlib/view/StickyHeaderScrollView.java
a44d03463ba39663296b36e821fee86a6c652880 08-May-2015 Maurice Lam <yukl@google.com> am 3c154790: Sanity check margins before applying

* commit '3c154790e7c6668c60237bcde0fc6f5fa22884b0':
Sanity check margins before applying
3c154790e7c6668c60237bcde0fc6f5fa22884b0 07-May-2015 Maurice Lam <yukl@google.com> Sanity check margins before applying

Check that margins are smaller than the height of the view before
applying the margins when setting the IME inset view.

Bug: 20891203
Change-Id: I91420ac3f9aa97a1d6034545e2f507a5a71a0ca8
rc/com/android/setupwizardlib/util/SystemBarHelper.java
8f06158c03c8435880706ad574a61341eaa658e6 07-May-2015 Maurice Lam <yukl@google.com> am 0332b436: Merge "Revert "[SetupWizardLib] Force layout after setting margin"" into ub-setupwizard-alatar

* commit '0332b43621349b38c33457492b0a70fba37a04a0':
Revert "[SetupWizardLib] Force layout after setting margin"
0332b43621349b38c33457492b0a70fba37a04a0 07-May-2015 Maurice Lam <yukl@google.com> Merge "Revert "[SetupWizardLib] Force layout after setting margin"" into ub-setupwizard-alatar
916380f7eb2360a35d7c9fc2ec6e05ba76fa07f3 07-May-2015 Maurice Lam <yukl@google.com> Revert "[SetupWizardLib] Force layout after setting margin"

This reverts commit 69893e24fd4d57cde5aaca022eb7bd5a7f859d14.

Change-Id: I7382a06634ba8941edacb59012675df9e0b67c92
rc/com/android/setupwizardlib/util/SystemBarHelper.java
c2dbd7670374d382e0a9ccf1ad3d6ac3bab87421 07-May-2015 Maurice Lam <yukl@google.com> am b3020fef: Merge "[SetupWizardLib] Force layout after setting margin" into ub-setupwizard-alatar

* commit 'b3020fef9476e0a864bb1609e5c17ee936ca1249':
[SetupWizardLib] Force layout after setting margin
b3020fef9476e0a864bb1609e5c17ee936ca1249 07-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Force layout after setting margin" into ub-setupwizard-alatar
69893e24fd4d57cde5aaca022eb7bd5a7f859d14 07-May-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Force layout after setting margin

The IME inset view was not being re-laid out with the most update
system inset for some reason, so force the layout after setting the
margin.

Bug: 20891203
Change-Id: Iec03afc0615f45f746c2249667c8525098ce285a
rc/com/android/setupwizardlib/util/SystemBarHelper.java
2cdb558c32fa2160b87cb20aaf3d1da5297346cf 05-May-2015 Maurice Lam <yukl@google.com> am c333d500: Merge "[SetupWizard] Fix shadow for ListView" into ub-setupwizard-alatar

* commit 'c333d5002d0c005ecbb16034e92752b95c0e39ed':
[SetupWizard] Fix shadow for ListView
c333d5002d0c005ecbb16034e92752b95c0e39ed 05-May-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizard] Fix shadow for ListView" into ub-setupwizard-alatar
965db30b5baa77d6d33b0d468050e20e692d3f47 04-May-2015 Maurice Lam <yukl@google.com> [SetupWizard] Fix shadow for ListView

Fix the shadow cast by the illustration for ListViews on phone
portrait by not clipping the header view.

Bug: 20731843
Change-Id: I4d6cc759191278698609401b0d4a764bd9e3d1a0
es/layout/suw_list_header.xml
es/layout/suw_list_template_header.xml
e5fdabea4c26ab7a892b86e50c72c45ec9c45f9e 30-Apr-2015 Maurice Lam <yukl@google.com> am 88b1c748: Merge "[SetupWizardLib] Use translationY to stick header" into ub-setupwizard-alatar

* commit '88b1c74890e40c2699ce830c381b49e13c780485':
[SetupWizardLib] Use translationY to stick header
88b1c74890e40c2699ce830c381b49e13c780485 30-Apr-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Use translationY to stick header" into ub-setupwizard-alatar
d34dfbf3986889f6ba11803d17b3cf190e8c6e0e 30-Apr-2015 Maurice Lam <yukl@google.com> am b703dcd4: Merge "[SetupWizardLib] Make progress bars yellow" into ub-setupwizard-alatar

* commit 'b703dcd41045adc3d73ab83d297443f29b441599':
[SetupWizardLib] Make progress bars yellow
b703dcd41045adc3d73ab83d297443f29b441599 30-Apr-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Make progress bars yellow" into ub-setupwizard-alatar
9a82909bc1509cf66c570c9b6f994ef9ed15ee00 29-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Make progress bars yellow

Set all indeterminate progress bars to yellow color by specifying
indeterminateTint in the theme.

Bug: 20663533
Change-Id: I3cc8a4e4afe6ccb727415833e8354892f9a6ece6
es/values/colors.xml
8f737a9be51f7dba8297190807272d3540eb3ddf 28-Apr-2015 Maurice Lam <yukl@google.com> am e86a1e8f: Merge "[SetupWizardLib] Draw progress bar on top" into ub-setupwizard-alatar

* commit 'e86a1e8f42ab360f74d5dccf8cf4f1973a536582':
[SetupWizardLib] Draw progress bar on top
4a6e72df08c92a696d6b5d35b197e86585952ed9 20-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Use translationY to stick header

Use setTranslationY to stick the header to the top for
StickyHeaderScrollView. This gives a few advantages like touch is
handled correctly automatically, the shadow is drawn correctly and
it works correctly with padding.

Bug: 16190933
Change-Id: Ic555b993dbc6cdec6ccd5109a51598dafa7fa2ba
rc/com/android/setupwizardlib/view/StickyHeaderScrollView.java
a72d7e27d6bab6d992d79fab2aa0dc12fa1fca04 28-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Draw progress bar on top

For tablet layouts (phone layouts doesn't have this problem), move
the progress bar element after the content, so that it's drawn in
front of the content instead of behind it.

Bug: 20559875
Change-Id: Ib71c72dae5438d0b739c5626c31cc5d851688b25
es/layout/suw_list_template_card.xml
es/layout/suw_list_template_card_wide.xml
es/layout/suw_no_scroll_template_card.xml
es/layout/suw_template_card.xml
es/layout/suw_template_card_wide.xml
aa7fad30f4b12ffb26f96d5834fb223fb5ee4a06 24-Apr-2015 Jorim Jaggi <jjaggi@google.com> am 7114577a: [SetupWizard] Add attributes for illustration size

* commit '7114577a094593dbf55b625146b3809800697030':
[SetupWizard] Add attributes for illustration size
7114577a094593dbf55b625146b3809800697030 23-Apr-2015 Jorim Jaggi <jjaggi@google.com> [SetupWizard] Add attributes for illustration size

Allow the client to change the illustration size by specifying
suwIllustrationAspectRatio and suwHeaderPaddingTop.

Change-Id: I0a3a91bbf9bf5672c7ba220560c723257f4a654a
es/layout/suw_list_header.xml
es/layout/suw_list_template_card.xml
es/layout/suw_list_template_card_wide.xml
es/layout/suw_no_scroll_template_card.xml
es/layout/suw_no_scroll_template_card_wide.xml
es/layout/suw_no_scroll_template_header.xml
es/layout/suw_template_card.xml
es/layout/suw_template_card_wide.xml
es/layout/suw_template_header.xml
es/values-land/dimens.xml
es/values-sw600dp-land/dimens.xml
es/values-sw600dp/dimens.xml
es/values/attrs.xml
es/values/dimens.xml
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/view/Illustration.java
b01e885bac69f64b860f2d26b4760d8c0186707c 23-Apr-2015 Maurice Lam <yukl@google.com> am a38fab1a: Merge "[SetupWizardLib] Fill viewport on phone portrait" into ub-setupwizard-alatar

* commit 'a38fab1af11a7c08355b12c617499b8743a03b8b':
[SetupWizardLib] Fill viewport on phone portrait
a38fab1af11a7c08355b12c617499b8743a03b8b 23-Apr-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Fill viewport on phone portrait" into ub-setupwizard-alatar
41aa41aa942708b8552050698fea6052ac2a4ad1 22-Apr-2015 Maurice Lam <yukl@google.com> am a2ad0846: [SetupWizardLib] Correct accent colors

* commit 'a2ad084605614326d98b1b52be75bcb42cac9312':
[SetupWizardLib] Correct accent colors
a2ad084605614326d98b1b52be75bcb42cac9312 22-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Correct accent colors

ag/676785 updated the light accent color instead of the dark accent
color, and this CL should fix it.

Bug: 19729981
Change-Id: Ibf8deae9c6916ca39c65d76b266618f620f56488
es/values/colors.xml
edb6d10025b9ce00ac0403aa1386fb3bc9e82894 22-Apr-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I559a5c7b6748e6e66a09ca73024af2be113fba6e
Auto-generated-cl: translation import
es/values-gu-rIN/strings.xml
es/values-pa-rIN/strings.xml
es/values-sq-rAL/strings.xml
bc9208430270f4649683d7d96298001d9aa55a08 22-Apr-2015 Maurice Lam <yukl@google.com> am 2152fdf0: [SetupWizard] Update dark theme accent color

* commit '2152fdf0b97f9e0685e80665dd0da941367320e4':
[SetupWizard] Update dark theme accent color
ae8dde9c89caebb23902907a97d81aa57f54c8b7 20-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fill viewport on phone portrait

Adjusted the layouts so that the content view will fill the available
space on the screen.

Bug: 20420307
Change-Id: I9093d4365f44afde8f58a811e4e9252ae7b43b58
es/layout/suw_no_scroll_template_header.xml
es/layout/suw_template_header.xml
2152fdf0b97f9e0685e80665dd0da941367320e4 21-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizard] Update dark theme accent color

Bug: 19729981
Change-Id: Ide7a92e7243d1cda1cf6b547da9ac5c7414dbfd5
es/values/colors.xml
e13cae889795a80eaf20e7f91b9f5b4a2890de6a 16-Apr-2015 Maurice Lam <yukl@google.com> am 30e6ffd2: Merge "[SetupWizardLib] Update theme colors" into ub-setupwizard-alatar

* commit '30e6ffd2892e90b691a6ba136885ce51e004192c':
[SetupWizardLib] Update theme colors
30e6ffd2892e90b691a6ba136885ce51e004192c 16-Apr-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Update theme colors" into ub-setupwizard-alatar
928afc082b6d70a590d621fc7a97d47663629e1f 16-Apr-2015 Maurice Lam <yukl@google.com> am 0fe74b9f: Merge "[SetupWizardLib] Limit header lines" into ub-setupwizard-alatar

* commit '0fe74b9fc7ca5e89b5fddaae45e77650bc6f0f36':
[SetupWizardLib] Limit header lines
9455cc786c9842dae9eb31b1d50b385305a7daaa 16-Apr-2015 Maurice Lam <yukl@google.com> am 5e79c37f: [SetupWizardLib] Fix shouldMirrorIllustration NPE

* commit '5e79c37fe4dbe2b9c082b68ea08f4fc76a76d6a8':
[SetupWizardLib] Fix shouldMirrorIllustration NPE
0fe74b9fc7ca5e89b5fddaae45e77650bc6f0f36 16-Apr-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Limit header lines" into ub-setupwizard-alatar
6f7c410394dab846d1a5875c74fe6d6a6d9d0e46 16-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Limit header lines

In SetupWizardLayout, limit the number of lines and ellipsize if it is
longer than that. The limit is 6 lines for tablet landscape and 3 for
all others.

Bug: 20267729
Change-Id: Ibc7f9f977ea576b7d23e46ce239056583c94d972
es/values-land/styles.xml
es/values/styles.xml
5e79c37fe4dbe2b9c082b68ea08f4fc76a76d6a8 15-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix shouldMirrorIllustration NPE

Change shouldMirrorIllustration to shouldMirrorDrawable which takes
a non-null drawable as argument, and pass in the corresponding
drawables when drawing the illustration and the background.

Bug: 20229779
Change-Id: Icf378bcb31f7ae5cfe5f8eee3c52923f3c6eb5cf
rc/com/android/setupwizardlib/view/Illustration.java
d7c3368d96843951a294839d5fd6cab183d81cff 09-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Update theme colors

Update the theme colors according to latest UX specs.

Bug: 19729981
Change-Id: Ib4f7781a5ddf78db415132a417db3515388f157c
es/values/colors.xml
60e5c1f1a8af2c5d89c38af02ae8646c3b12a0bb 08-Apr-2015 Maurice Lam <yukl@google.com> am 56a19113: [SetupWizardLib] Add isLightTheme method

* commit '56a19113d248d9ffdb462a0af6ba8a967635be66':
[SetupWizardLib] Add isLightTheme method
56a19113d248d9ffdb462a0af6ba8a967635be66 08-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add isLightTheme method

Add WizardManagerHelper.isLightTheme method to tell whether an
activity should use light theme or not.

Bug: 20110002
Change-Id: I41fc142489c9f1c1b9b91cd825f54447b856f58b
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
6db1f7fd0bbaedc4df177b672232ec3162c3ce8e 07-Apr-2015 Maurice Lam <yukl@google.com> am 0d6c44af: Merge "[SetupWizardLib] Adjust immersive flags for dialogs" into ub-setupwizard-alatar

* commit '0d6c44afe2731446e2b96c17ae0fd52e62ea1e54':
[SetupWizardLib] Adjust immersive flags for dialogs
5575246aae55ec053430d23b9bd515c8bb0cc51c 07-Apr-2015 Maurice Lam <yukl@google.com> am 64158e33: [SetupWizardLib] Fix Partner class and tests

* commit '64158e33c3ad618ed0eecef71fd20dd8e3c02568':
[SetupWizardLib] Fix Partner class and tests
0d6c44afe2731446e2b96c17ae0fd52e62ea1e54 07-Apr-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Adjust immersive flags for dialogs" into ub-setupwizard-alatar
64158e33c3ad618ed0eecef71fd20dd8e3c02568 07-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix Partner class and tests

Partner.java had a bug preventing it from fetching the default value
from the original package if the resource is not found in the
overlay. There is a corresponding issue in the test, which is using
its own resources for testing. Since the test package builds against
the source of the library, all resources in the library is also
available in the test package, and therefore the behavior of resource
not found in overlay package could not be tested. This CL fixes that
by using a MockResources object instead.

In addition, the attribute isOverlay was added to ResourceEntry so
clients can tell if the ResourceEntry came from the overlay or from
the fallback.

Change-Id: Ib0490277db502ea563171d79ab8491934dc43d01
rc/com/android/setupwizardlib/util/Partner.java
6be36beb1bdcd9211c504bbb1647d1f610ba2185 04-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Adjust immersive flags for dialogs

Remove the LAYOUT_ immersive flags and apply only HIDE_NAVIGATION and
IMMERSIVE_STICKY. This is because LAYOUT_ flags causes dialogs to not
resize for keyboard, and dialogs don't have to draw under the status
or navigation bars anyway.

Bug: 20091077
Change-Id: I96dc650a1d31046b30c6337b32c1bb91ee4548d2
rc/com/android/setupwizardlib/util/SystemBarHelper.java
589209c5b6a8636a4e88cd101eff614ba1f87f84 06-Apr-2015 Maurice Lam <yukl@google.com> am d61674ef: [SetupWizardLib] Add progress bar support

* commit 'd61674efcfaa9f591a44fc75d59566cdd5b409eb':
[SetupWizardLib] Add progress bar support
d61674efcfaa9f591a44fc75d59566cdd5b409eb 03-Apr-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add progress bar support

Added methods showProgressBar, hideProgressBar and isProgressBarShown
to SetupWizardLayout, that will show the bar if the corresponding
ViewStub exists.

This implementation has an improvement over existing Setup Wizard
implementations in that it supports ListViews as well as ScrollViews,
and the progress bar will be sticky together with the header instead
of being scrolled away.

Change-Id: Ifd7acae36a9b244d759b6528bb5dfdc3e1d15091
es/layout-v21/suw_progress_bar.xml
es/layout/suw_list_header.xml
es/layout/suw_list_template_card.xml
es/layout/suw_list_template_card_wide.xml
es/layout/suw_list_template_header_collapsed.xml
es/layout/suw_no_scroll_template_card.xml
es/layout/suw_no_scroll_template_card_wide.xml
es/layout/suw_no_scroll_template_header.xml
es/layout/suw_no_scroll_template_header_collapsed.xml
es/layout/suw_progress_bar_stub.xml
es/layout/suw_template_card.xml
es/layout/suw_template_card_wide.xml
es/layout/suw_template_header.xml
es/layout/suw_template_header_collapsed.xml
es/values/dimens.xml
rc/com/android/setupwizardlib/SetupWizardLayout.java
49c72c5f917df6ba5592e3b9e5ae116786baaee1 01-Apr-2015 Maurice Lam <yukl@google.com> am e7b519c1: [SetupWizardLib] Fix nav bar button alpha

* commit 'e7b519c1769be4e43fff8c9a909cb1ba15f25ebb':
[SetupWizardLib] Fix nav bar button alpha
e7b519c1769be4e43fff8c9a909cb1ba15f25ebb 30-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix nav bar button alpha

Mutate the drawables on the button before setting the alpha, and set
the relative compound drawables (needed for RTL-supported layouts)
and the normal compound drawables (needed for pre-JB-MR1 layouts).

Bug: 19994341
Change-Id: I236f371ca9bd24ab039c6ddef0c3fd12640c607c
rc/com/android/setupwizardlib/view/NavigationBar.java
0d73002b7aceed5d7c0338ca74ff25250787ecfa 31-Mar-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: Ic4634d5d86f123187ac015a227b3e3dce3e77808
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pl/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rCN/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
452558270fd3a2b836be33673ab81ce07e4a600c 30-Mar-2015 Maurice Lam <yukl@google.com> am 83c3c518: [SetupWizardLib] Fix setup wizard crash

* commit '83c3c51890c8cee83822fd41d323728b8ed2b254':
[SetupWizardLib] Fix setup wizard crash
83c3c51890c8cee83822fd41d323728b8ed2b254 30-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix setup wizard crash

Check for null before trying to set alpha on the drawables of the
button. Also call setTextColor so that the text alpha of the button
is also set (in addition to just the drawables).

Bug: 19982609
Change-Id: I1d5c19d792ada1fa8b31902a2b0e27ff80af597f
rc/com/android/setupwizardlib/view/NavigationBar.java
a183f1a46eec94c32a4da8fb7eaba63dca81646b 30-Mar-2015 Maurice Lam <yukl@google.com> am 2cd3a505: Merge "[SetupWizardLib] Add isSetupWizard" into ub-setupwizard-alatar

* commit '2cd3a5058ef157486d7d3c0f391f89dff808e81d':
[SetupWizardLib] Add isSetupWizard
bc60ae4e0ee0116facc9bdc21d6da8a470303ce3 27-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add isSetupWizard

Add WizardManagerHelper.isSetupWizard for clients to tell whether an
intent came from Setup Wizard. Also added WizardManagerHelperTest.

Bug: 19964066
Change-Id: I71166571814be356c1bf34f37692795f99f4b592
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
5e9b02ef72403231363d697dc0f71d398bac350d 28-Mar-2015 Maurice Lam <yukl@google.com> am 9f936767: [SetupWizardLib] Eclair compat build

* commit '9f9367672191190f903955d09a4314d40869acc6':
[SetupWizardLib] Eclair compat build
9f9367672191190f903955d09a4314d40869acc6 27-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Eclair compat build

Bug: 19929602
Change-Id: I0e3ed9024461ec50efe2258031c1d2648f0d333f
es/layout/suw_navbar_view.xml
es/values/styles.xml
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/view/Illustration.java
rc/com/android/setupwizardlib/view/NavigationBar.java
rc/com/android/setupwizardlib/view/StickyHeaderListView.java
4c4303ff1ca811ce0e3eb8ce534c3dd0c8541370 26-Mar-2015 Maurice Lam <yukl@google.com> am eb0dd6bb: Merge "[SetupWizardLib] Fix back button bug" into ub-setupwizard-alatar

* commit 'eb0dd6bb277ddbb91b6f77d2eccc6b58c74dc52a':
[SetupWizardLib] Fix back button bug
eb0dd6bb277ddbb91b6f77d2eccc6b58c74dc52a 26-Mar-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Fix back button bug" into ub-setupwizard-alatar
e96ec75d23e82b352ab1393dbac8d6372ceb62d7 26-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Fix back button bug

Fix bug in SystemBarHelper.setBackButtonVisible and added unit tests
to the class.

Bug: 19936103
Change-Id: I252e0069ee7b21d25422859a51f51dcbe4c6a7d5
rc/com/android/setupwizardlib/util/SystemBarHelper.java
533cacf4cdde7c912d05018b8278646a2a20b35f 25-Mar-2015 Maurice Lam <yukl@google.com> am 504a2f6f: Merge "[SetupWizardLib] Add no-scroll templates" into ub-setupwizard-alatar

* commit '504a2f6f465c9a924c365b60e034cb1d084aee1b':
[SetupWizardLib] Add no-scroll templates
504a2f6f465c9a924c365b60e034cb1d084aee1b 25-Mar-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add no-scroll templates" into ub-setupwizard-alatar
3348f057960a958d8c081871b30854ec066a47e7 25-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add no-scroll templates

Added the no-scroll templates to the library, usually for use with
views that handles its internal scrolling. Examples of this are
WebViews and RecyclerViews. Note that the phone portrait layout has
a caveat that the illustration will not scroll away.

Change-Id: I12701f6e2692d41d0488f7b579fb15e2b136100d
es/layout/suw_no_scroll_template_card.xml
es/layout/suw_no_scroll_template_card_wide.xml
es/layout/suw_no_scroll_template_header.xml
es/layout/suw_no_scroll_template_header_collapsed.xml
es/values-land/layouts.xml
es/values-sw600dp-land/layouts.xml
es/values-sw600dp/layouts.xml
es/values/layouts.xml
ad05462a5227a9167a168ab8430549e9b0fe557f 25-Mar-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: Ie7b195d01af7c1b27b692ab5b953d02596a67f6c
Auto-generated-cl: translation import
es/values-hy-rAM/strings.xml
51910e44cdf8b4bf8c7035dada7828d9b24c4e35 23-Mar-2015 Maurice Lam <yukl@google.com> am cbce1423: Merge "[SetupWizardLib] Use AppCompat themes for icsCompat" into ub-setupwizard-alatar

* commit 'cbce1423d80d54d13f64bb718d9d42c6abbf2a05':
[SetupWizardLib] Use AppCompat themes for icsCompat
cbce1423d80d54d13f64bb718d9d42c6abbf2a05 23-Mar-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Use AppCompat themes for icsCompat" into ub-setupwizard-alatar
a36954a3da0c07f81e31bcb7e83b746d293cabae 20-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Use AppCompat themes for icsCompat

Always use the AppCompat themes for icsCompat builds, even on v21+
because support library's FragmentActivity et al requires that.

Change-Id: Ie67ce494ab58e3e6f39eb92a8014a83a1737f8ee
es/values-v21/styles.xml
2e007deb9c3fce7f05cab6d40555daf7283eeafe 23-Mar-2015 Maurice Lam <yukl@google.com> am 2a007876: Merge "[SetupWizardLib] Add getNavigationBar" into ub-setupwizard-alatar

* commit '2a0078763fab06c1ab9c783b67a5346ee28d86c5':
[SetupWizardLib] Add getNavigationBar
2a0078763fab06c1ab9c783b67a5346ee28d86c5 23-Mar-2015 Maurice Lam <yukl@google.com> Merge "[SetupWizardLib] Add getNavigationBar" into ub-setupwizard-alatar
7e5f0f0ea3b3075258cac9d26f90fd97c1a71dca 23-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Add getNavigationBar

Add getNavigationBar method to SetupWizardLayout

Change-Id: I49eeb5cfee2917d5b4e3f552f9c3b68747dcd79a
rc/com/android/setupwizardlib/SetupWizardLayout.java
c7033d3cf7044b8b6de130466398ceffb9c98187 23-Mar-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I5fc4cee198275f94f9aaaecea52f8b67e087ef71
Auto-generated-cl: translation import
es/values-zh-rCN/strings.xml
779e26aba36c951d6725256d87301325bf8d6e74 21-Mar-2015 Geoff Mendal <mendal@google.com> Import translations. DO NOT MERGE

Change-Id: I9e392e683d0ef9ed704d5678f327a50509c3cec6
Auto-generated-cl: translation import
es/values-af/strings.xml
es/values-am/strings.xml
es/values-ar/strings.xml
es/values-bg/strings.xml
es/values-bn-rBD/strings.xml
es/values-ca/strings.xml
es/values-cs/strings.xml
es/values-da/strings.xml
es/values-de/strings.xml
es/values-el/strings.xml
es/values-en-rAU/strings.xml
es/values-en-rGB/strings.xml
es/values-en-rIN/strings.xml
es/values-es-rUS/strings.xml
es/values-es/strings.xml
es/values-et-rEE/strings.xml
es/values-eu-rES/strings.xml
es/values-fa/strings.xml
es/values-fi/strings.xml
es/values-fr-rCA/strings.xml
es/values-fr/strings.xml
es/values-gl-rES/strings.xml
es/values-hi/strings.xml
es/values-hr/strings.xml
es/values-hu/strings.xml
es/values-hy-rAM/strings.xml
es/values-in/strings.xml
es/values-is-rIS/strings.xml
es/values-it/strings.xml
es/values-iw/strings.xml
es/values-ja/strings.xml
es/values-ka-rGE/strings.xml
es/values-kk-rKZ/strings.xml
es/values-km-rKH/strings.xml
es/values-kn-rIN/strings.xml
es/values-ko/strings.xml
es/values-ky-rKG/strings.xml
es/values-lo-rLA/strings.xml
es/values-lt/strings.xml
es/values-lv/strings.xml
es/values-mk-rMK/strings.xml
es/values-ml-rIN/strings.xml
es/values-mn-rMN/strings.xml
es/values-mr-rIN/strings.xml
es/values-ms-rMY/strings.xml
es/values-my-rMM/strings.xml
es/values-nb/strings.xml
es/values-ne-rNP/strings.xml
es/values-nl/strings.xml
es/values-pl/strings.xml
es/values-pt-rPT/strings.xml
es/values-pt/strings.xml
es/values-ro/strings.xml
es/values-ru/strings.xml
es/values-si-rLK/strings.xml
es/values-sk/strings.xml
es/values-sl/strings.xml
es/values-sr/strings.xml
es/values-sv/strings.xml
es/values-sw/strings.xml
es/values-ta-rIN/strings.xml
es/values-te-rIN/strings.xml
es/values-th/strings.xml
es/values-tl/strings.xml
es/values-tr/strings.xml
es/values-uk/strings.xml
es/values-ur-rPK/strings.xml
es/values-uz-rUZ/strings.xml
es/values-vi/strings.xml
es/values-zh-rHK/strings.xml
es/values-zh-rTW/strings.xml
es/values-zu/strings.xml
9a551bde9a5f3cae7475bd4f1f9b3c20b7c8e159 19-Mar-2015 Maurice Lam <yukl@google.com> am a722cfbd: [SetupWizardLib] Flip Illustration for RTL on JB

* commit 'a722cfbd655876203db00e86ab6749a1e4d2eeb5':
[SetupWizardLib] Flip Illustration for RTL on JB
a722cfbd655876203db00e86ab6749a1e4d2eeb5 18-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Flip Illustration for RTL on JB

On JB MR1 and MR2, RTL layouts are supported but
Drawable.isAutoMirrored is not available. On those versions in
Illustration check the application supportRtl bit to see if the app
wants to support RTL, and flip the illustration according to that.

Change-Id: Iddf97da7f3371a532bc663c086801ef9fbdace7f
rc/com/android/setupwizardlib/view/Illustration.java
20a4f1ac5bd26e02563fd9ea85fc25e2d1d27d3b 18-Mar-2015 Maurice Lam <yukl@google.com> am 2646e1d8: [SetupWizardLib] Changed project hierarchy

* commit '2646e1d82ec6d133b35b775f044e156fca6d9d75':
[SetupWizardLib] Changed project hierarchy
2646e1d82ec6d133b35b775f044e156fca6d9d75 17-Mar-2015 Maurice Lam <yukl@google.com> [SetupWizardLib] Changed project hierarchy

Moved res-ics to ics/res, and res, src, AndroidManifest to main/.
This fits more to the "canonical layout" expected by gradle, and
works around the issue where blaze is expecting every res directory
used by a target to be named the same (including its library
dependencies and its transitive dependencies).

Change-Id: I658e3c0a67a01f379c43d3fad82cd40f9aa8cd28
ndroidManifest.xml
es/anim-ldrtl/suw_slide_back_in.xml
es/anim-ldrtl/suw_slide_back_out.xml
es/anim-ldrtl/suw_slide_next_in.xml
es/anim-ldrtl/suw_slide_next_out.xml
es/anim/suw_slide_back_in.xml
es/anim/suw_slide_back_out.xml
es/anim/suw_slide_next_in.xml
es/anim/suw_slide_next_out.xml
es/drawable-v21/suw_card_bg.xml
es/drawable-v21/suw_navbar_btn_bg.xml
es/drawable-v21/suw_navbar_ic_back.xml
es/drawable-v21/suw_navbar_ic_next.xml
es/drawable/suw_layout_background.xml
es/layout/suw_list_header.xml
es/layout/suw_list_template_card.xml
es/layout/suw_list_template_card_wide.xml
es/layout/suw_list_template_header.xml
es/layout/suw_list_template_header_collapsed.xml
es/layout/suw_navbar_view.xml
es/layout/suw_template_card.xml
es/layout/suw_template_card_wide.xml
es/layout/suw_template_header.xml
es/layout/suw_template_header_collapsed.xml
es/values-land/dimens.xml
es/values-land/layouts.xml
es/values-sw600dp-land/layouts.xml
es/values-sw600dp/config.xml
es/values-sw600dp/layouts.xml
es/values-v21/styles.xml
es/values/attrs.xml
es/values/colors.xml
es/values/config.xml
es/values/dimens.xml
es/values/layouts.xml
es/values/strings.xml
es/values/styles.xml
rc/com/android/annotations/VisibleForTesting.java
rc/com/android/setupwizardlib/SetupWizardLayout.java
rc/com/android/setupwizardlib/SetupWizardListLayout.java
rc/com/android/setupwizardlib/util/Partner.java
rc/com/android/setupwizardlib/util/ResultCodes.java
rc/com/android/setupwizardlib/util/SystemBarHelper.java
rc/com/android/setupwizardlib/util/WizardManagerHelper.java
rc/com/android/setupwizardlib/view/BottomScrollView.java
rc/com/android/setupwizardlib/view/Illustration.java
rc/com/android/setupwizardlib/view/NavigationBar.java
rc/com/android/setupwizardlib/view/StickyHeaderListView.java
rc/com/android/setupwizardlib/view/StickyHeaderScrollView.java