• Home
  • History
  • Annotate
  • only in /frameworks/opt/car/setupwizard/library/src/
History log of /frameworks/opt/car/setupwizard/library/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
91dcd0d9d3489076abc01f3a894cac8790822085 17-May-2018 Rodrigo Lagos <rlagos@google.com> DO NOT MERGE Expose TitleBar so that elevation can be adjusted

Elevation is used to render a drop shadow, so also had to add a
background color to the titlebar to allow for proper rendering.

Bug: 79582906
Test: ran local tests
Change-Id: Iee5ab384b41ad3a46528a7a692d51e6558382e23
om/android/car/setupwizardlib/BaseActivity.java
om/android/car/setupwizardlib/CarSetupWizardLayout.java
6fd8a4056d8138b7040fe23e1cf1d4772681fbba 02-May-2018 Roshan Agrawal <roshanagrawal@google.com> DO NOT MERGE Remove private signature on methods

Methods probably shouldn't be final in the case that an extended
activity needs to be heavily modified/methods need to be exposed for
testing. Also moved back to the android-support-car dependency for pi.

Test: Library builds
Bug: 74451078
Change-Id: Ifafeb102101497435b3f10022e4b2ca0b6559abb
om/android/car/setupwizardlib/BaseActivity.java
om/android/car/setupwizardlib/CarSetupWizardLayout.java
om/android/car/setupwizardlib/util/CarWizardManagerHelper.java
150f83de6dccce7d3f4eb2904c1198729232ef58 12-Mar-2018 Roshan Agrawal <roshanagrawal@google.com> DO NOT MERGE Add tests for BaseActivity and CarWizardManagerHelper

Change-Id: I36ce4cacfcb62d0cd18e7e420411f0de28d046c5
Fixes: 78299006
Test: tests pass
om/android/car/setupwizardlib/BaseActivity.java
om/android/car/setupwizardlib/CarSetupWizardLayout.java
2b780ca656252e9ebe86226e152a010089bf01e0 13-Apr-2018 Anthony Chen <ajchen@google.com> Migrate to androidx namespace for support library.

Also, fix the tests so that they point to the correct resources.

Test: build CarSetupWizard and ensured to breakages
Test: build CarSetupSampleOverlay and ensured no breakages
Test: Run setupwizardlib tests.
Bug: 77601495
Change-Id: Ie9a88039f0f049c4f917c1001ba4a669c055690c
om/android/car/setupwizardlib/BaseActivity.java
3e77591416ad67c3049535d2d2b067191332552b 07-Mar-2018 Roshan Agrawal <roshanagrawal@google.com> Added BaseActivity

A BaseActivity that makes it easy to use the CarSetupWizardLayout with
fragments. Added a preupload file for linting.

Change-Id: I143fbf5453aaded9fd742d4c92eb4fa283de6691
Fixes: 74248029
Test: Library builds
om/android/car/setupwizardlib/BaseActivity.java
717f17929053b3dcff8667b222940d1fe7608f06 03-Mar-2018 kevinjm <kevinjm@google.com> Passing the deferred setup intent through nextAction

Test: Manual build
Fixes: 74128122
Change-Id: I6a9c7c0d94f56f3a3c2092054e5564a143d6d4c6
om/android/car/setupwizardlib/util/CarWizardManagerHelper.java
b4d2bf8196c915636537f0fc80a3bdc2e1665a33 11-Jan-2018 Roshan Agrawal <roshanagrawal@google.com> Support for Dealer Setup

Added support to recongize when the SUW is for the Dealer setup

Test: CarSetupWizardLibRoboTests pass
Change-Id: I7fdf494a21db454de356a4547704e252e870cfe2
om/android/car/setupwizardlib/util/CarWizardManagerHelper.java
cb12cb21c1e78399cc0fa31b7189c2ffcf904862 05-Jan-2018 Rodrigo Lagos <rlagos@google.com> Add ability to handle inplace locale change

When a user chooses a locale from the locale picker we need to
account apply the locale change to visisble views.

Bug: 69868688
Test: Added new test, tested locally, deployed to Mojavee
Change-Id: Ieeef307905a29ea1b16c0756e6bd1fad009930a7
om/android/car/setupwizardlib/CarSetupWizardLayout.java
2c33d5763b20c76b8cf6da83d706878513b1a9a5 04-Jan-2018 Roshan Agrawal <roshanagrawal@google.com> Add accessors for Determinate Progress Bar logic

Added accessors to set progress on a determinate ProgressBar, as well as
corresponding tests.

Change-Id: I1a9dfabc2474fb74ab964364c3ec1a83b0a79f76
Fixes: 71555710
Fixes: 71591367
Test: Robolectric Tests pass
Test: Library and AAE-SUW build
om/android/car/setupwizardlib/CarSetupWizardLayout.java
cdf2d44b435893b53ed08a3f602cbb7921219690 29-Dec-2017 Roshan Agrawal <roshanagrawal@google.com> Used TouchDelegate for back button touch area

Added a TouchDelegate to the CarSetupWizardLayout to increase the touch
target of the back button. The delegate is added and removed based on
whether the button is visible. A corresponding test has also been added.

Change-Id: I9f4280d27504e326a04af62693ad3bb5b1d09492
Fixes: 70513887
Test: builds
Test: Manual - touch target is increased
om/android/car/setupwizardlib/CarSetupWizardLayout.java
d807824fdea778c79e4720917c8217aa7b47610d 14-Dec-2017 kevinjm <kevinjm@google.com> Added support for multiple flat buttons, also stubbing

Now the user can designate the primary button to be flat rather than
having to use only the secondary button. This means that there can be
two flat buttons as well. Also stubbed out unecessary buttons that
aren't shown on all screens. Finally a few spacing changes.

Bug: 70638633
Test: Built and flashed
Change-Id: I409c50b4fe579d7cd388b5e0245bafb8becd8e25
om/android/car/setupwizardlib/CarSetupWizardLayout.java
01a03c9e67e2038f3c7eb7a570b036dfdd68afc0 13-Dec-2017 Roshan Agrawal <roshanagrawal@google.com> Move ProgressBar back into Application Bar

The Progressbar is now back at the bottom of the application bar.

Change-Id: If5fe9e178eb21cebdbf46057ecc33518fe18f26a
Fixes: 70397916
Test: Library builds
Test: Tests build and pass
om/android/car/setupwizardlib/CarSetupWizardLayout.java
bd249faf05db514f5b4b6cdd3ac2ffb9fe9f486f 12-Dec-2017 Rodrigo Lagos <rlagos@google.com> Correct typo on setToolbarTitleVisibile method name

Bug: 69868688
Test: Build ran test, deployed to Mojavee
Change-Id: Ib46d6e449dc854a5eb272097fff94f4ca217a582
om/android/car/setupwizardlib/CarSetupWizardLayout.java
f92933849d223609d016043dded7f16ca88f523e 11-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add header title to the wizard layout."
59290474d687ffcf36f6270a2113d712f1b00ea0 08-Dec-2017 Rodrigo Lagos <rlagos@google.com> Add header title to the wizard layout.

Bug: 69868688
Test: Updated test, tests pass, deployed to Mojavee and tested
Change-Id: I8813fa58708eced5b6845f852013cc8615343d86
om/android/car/setupwizardlib/CarSetupWizardLayout.java
5b4d4d58b471d1ff2e379577b7ff28899289770f 09-Dec-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Create CarWizardManagerHelper"
23fbfa450cc066167a93d560e42345ed776bc5a3 07-Dec-2017 Roshan Agrawal <roshanagrawal@google.com> Create CarWizardManagerHelper

Created a Car version of WizardManagerHelper to make it easy to create
intents to move back and forth in the flow.

Fixes: 68334042
Test: Library builds
Test: m RunCarSetupWizardLibRoboTests builds and tests pass
Change-Id: I21bdc55a42ce5ce64325cdba4fbab5dd3bb2e01a
om/android/car/setupwizardlib/util/CarWizardManagerHelper.java
om/android/car/setupwizardlib/util/ResultCodes.java
4a3c578832a6caff9eb838a7d3d4f03caa81abc1 08-Dec-2017 Roshan Agrawal <roshanagrawal@google.com> Fix ProgressBar location

ProgressBar now draws below toolbar rathen than within it.

Change-Id: Ieaf7751f4f58a5daf6e4909761b3a3b577852ab0
Fixes: 70350503
Test: library builds and tests pass
om/android/car/setupwizardlib/CarSetupWizardLayout.java
dac937b35da17ec27dd7aed5fe15fac114621f4f 04-Dec-2017 Roshan Agrawal <roshanagrawal@google.com> Update to better support color customization

Changed styling attributes to make it easier for users to customize the
color scheme

Test: Library and packages using it builds
Test: m RunCarSetupWizardLibRoboTests builds and tests pass
Change-Id: I0bfe9317c8723ca73b75901a7bccdf9dc7214b86
om/android/car/setupwizardlib/CarSetupWizardLayout.java
aa9ad9c5a79cc45651a6b6a7b698ca89d4679508 14-Nov-2017 Roshan Agrawal <roshanagrawal@google.com> Add ProgressBar to CarSetupWizardLayout

Added a progress bar and accessors to the layout. Added Robolectric
tests for the progress bar accessor functions.

Bug: 67319595
Bug: 67318214
Test: Library builds against bat_land
Test: RunCarSetupWizardLibRoboTests passes
Change-Id: I4e791740f1ddd56605cf698bc40b3e599da65956
om/android/car/setupwizardlib/CarSetupWizardLayout.java
a636b2634354710e38872b74b7af4f867c464e3f 08-Nov-2017 Roshan Agrawal <roshanagrawal@google.com> Setup CarSetupWizardLib Robolectric Testing

Added support for robolectric tests in CarSetupWizardLib.
Created CarSetupWizardLayout tests.

Change-Id: Ide9d163952675253b2417c8a17695d4b0f7d082c
Fixes: 68728633
Test: make RunCarSetupWizardLibRoboTests -j<numThreads> works
Test: CarSetupWizard still builds
Test: Able to purposely make tests fail
om/android/car/setupwizardlib/CarSetupWizardLayout.java
ab8a595efc6c6ce7aababe8ea0597aaef4206d05 01-Nov-2017 Roshan Agrawal <roshanagrawal@google.com> Create CarSetupWizardTheme

Created a CarSetupWizardTheme and related button styles. Added
Secondary Continue Button. Imported necessary resources and parent
styles from the Car Support Library.

Test: bat_land-userdebug builds
Test: Manual - styling of CarSetupWizard is as expected
Fixes: 67505986
Change-Id: If20e330c44e17828a24ee261e9fa4327c3bd494b
om/android/car/setupwizardlib/CarSetupWizardLayout.java
09e55e6acba309206e4bde1b329e719582a04e77 31-Oct-2017 Roshan Agrawal <roshanagrawal@google.com> Get CarSetupWizardLayout to work with AAE-SUW

Finish defining the attribute set and accessor functions so
that the CarSetupWizardLayout works with the AAE-SUW

Bug: 67319595
Test: NA
Change-Id: I8bb6c500a2b14937617f2802713c2db5f3807183
om/android/car/setupwizardlib/CarSetupWizardLayout.java
57371b47817e82b565b197cfbd7002390e6c1c36 18-Oct-2017 Roshan Agrawal <roshanagrawal@google.com> Initialization of AAE-SUW Support Library

Created the CarSetupWizardLayout and ability to make and include the
library. Moved some resources from CarSetupWizard into the library.

Test: Builds without error
Fixes: 67321167
Change-Id: Ie406df16fafabfc7f3ab4e0234006278ce0f9713
om/android/car/setupwizardlib/CarSetupWizardLayout.java