0358a99f349e418142779f328a3136b1f5f1565e |
|
29-Jan-2018 |
Michal Bendowski <bendowski@google.com> |
Layoulib updates for new prebuilts Test: N/A Change-Id: I9f8731e087aa931a7d0bec28125c8f66c7530118
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
ea67cc24efa37c1e472c2387c74b82912974b358 |
|
16-Jan-2018 |
Diego Perez <diegoperez@google.com> |
Add test to check ViewInfo boundaries Bug: 70320313 Test: This CL adds a new test Change-Id: Id3b4598ffbeb0030a76b71c35cfb1f9783cb30ec
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
dc249cf1b9aace3e6b9ebe05f51e23955cb11d22 |
|
28-Nov-2017 |
Diego Perez <diegoperez@google.com> |
Protect agains crashes in views If a view crashes it might stop the layout from being displayed. This CL prevents that in the most common situations. This allows for things like corrupt vector drawables not to break the layout. Test: Added new test Bug: 69456032 Change-Id: Id3626d1709bf6ae3abf7a5c9d0814bf0ada1dca5
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
bbacaf0b6c74fc744c17af1b01192863ab8c9389 |
|
24-Oct-2017 |
Diego Perez <diegoperez@google.com> |
Simplify setup of SessionParams using a builder Test: Existing tests pass Change-Id: Ic3ac2d99e6965fd25fdbeb6d720ee1142f390aec
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
dc3d0176993003aa949f0baf61327f1096f453d8 |
|
03-Oct-2017 |
Diego Perez <diegoperez@google.com> |
Fix ContextThemeWrapper Removing the overriden implementations of obtainStyledAttributes in Context to allow the chance of a modified Theme to be applied by the original version. Now, internalObtainStyledAttributes will be called from the Theme after the correct Theme has been set. Updated the test app to be able to add a new test. Test: New ContextThemeWrapper test in RenderTests Change-Id: I0c05b0afe6a48c9634864814715912416c96db6a Fixes: 66902070
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
0dc04faf67fc07a737e0ae006271cbf728b62749 |
|
25-Sep-2017 |
Diego Perez <diegoperez@google.com> |
Fix radial gradient Radial gradient center was being applied to non-transformed coordinates so it wasn't correctly mapped for different sizes of the viewport. Bug: 66168608 Test: Added new regression test Change-Id: I23c53b3611a5fbf08738f0fdd42685f24ea76ecd
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
3bb160dfd29664d1b428a2975de940335a19dc62 |
|
12-Sep-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Initial work for remote layoutlib"
|
548acea0e77f22da75da667faef138c02c17aa57 |
|
11-Sep-2017 |
Diego Perez <diegoperez@google.com> |
Apply local transformation to the gradient This fixes the problem of the gradient being not correctly generated for all sizes of the viewport. Change-Id: Idc2ec947cf5f659ec65eb5f6186ce005bf4bbf27 Fixes: 65495452 Test: Adds new gradient test
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
5c5efc433eb4cc81f59bcfaf28f5e72b38f7a829 |
|
01-Sep-2017 |
Diego Perez <diegoperez@google.com> |
Initial work for remote layoutlib This CL creates the API and proxies to support remote layoutlib (in a separate process). The classes are separated in three modules: client, common and server. The client includes the classes meant to be used from Android Studio. Server includes the new layoutlib server that will eventually end as a separate jar file from the client. TODO: - Support custom component class loading - Improve performance of remote streams and image transfers - Add Android build files Test: Adds initial test checking that it can pass renderActivity Change-Id: I34cf050ec099282683d87b75a576e4a3ad067fdd
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
aec75b2a26641d702f42c74ae2ab69e3242f073d |
|
19-Jul-2017 |
Jerome Gaillard <jgaillard@google.com> |
Add support for opening assets in layoutlib Bug: 63698836 Test: RenderTests.testAssetManager added Change-Id: I594212ef53587810ffe40905388eed0c166e49d7
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
5fe96f847cc6b35510cd6e97777c8b8b75d94671 |
|
17-Jul-2017 |
Diego Perez <diegoperez@google.com> |
getColorStateList should apply theme overlays Bug: 37324292 Test: Added new test for state lists and overlays Change-Id: I280a8b31d641ce4d14f4cc3095e8d954d72b1dd6
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
480856c6183a10c8b962e6607d962440fdf90fb2 |
|
05-Jul-2017 |
Charlie Tsai <chartsai@google.com> |
Fix parsing rule of pathData in Vector Drawable Using tab and return in the value of android:pathData is eligible. Test: Updated and passed RenderTests Bug: 37324620 Change-Id: Ie302efc3f93aa4d5d4e9f7a6654d6c929aca58e4
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
a99a7c8d528fdd5dbc8e80d3b1cab282a3add6df |
|
04-Jul-2017 |
Vadim Caen <caen@google.com> |
Fix 9patch padding for no/any dpi resourcesa If a 9patch image was in the nodpi or anydpi folder, the density of the image was 0 resulting in a float division by 0 when layoutlib tries to scale the padding of the 9patch. This fix set the density of the image to the same as the device when the 9patch comes from one of these folder. Bug: 37136109 Test: Added a render test Change-Id: If718659e6123f6d30bac8f2b35668093a6dbde43
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
b1bd12381b7b0b57eff6d9bb1a5ae23309ab2b5c |
|
22-Jun-2017 |
Jerome Gaillard <jgaillard@google.com> |
Add support for changing shape of adaptive icons The shape of adaptive icons can now be changed by passing a string describing the path of the shape through a flag inside LayoutlibCallback. Bug: 38161918 Test: testAdaptiveIcon expanded Change-Id: I25c6af6c7a3d4264d3c72e780d26b79cfe8db35c
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
b35cacc0b2f6d8b97e052ae14ed5971117dc8203 |
|
18-May-2017 |
Diego Perez <diegoperez@google.com> |
Implement Resources.getIdentifier in layoutlib Test: Added new tests Change-Id: I60a3e8c15d2e8e0a42ba520ee983845073f6b413
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
03faa7e778e24fbc3de3ec1212e265c2d04a8f47 |
|
18-May-2017 |
Diego Perez <diegoperez@google.com> |
Remove field injection Refactoring Resources to remove the field injection. This is needed to be able to move the existing code to ResourcesImpl. In the process, add relevant Nullable annotations and checks. Test: Existing tests pass Change-Id: Ibd3fe021ee0f7c9de01a79240581a410dfff681a
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
d4c426d085994b714f394b982451cc7fa27ff1b7 |
|
10-Apr-2017 |
Diego Perez <diegoperez@google.com> |
Inline some of the files into the tests Modify LayoutPullParser construction to make clear what the different constructors do and create a new one to build a parser just from a String. By using this constructor, the CL inlines some of the smaller files into the test for easier reading and maintenance. Test: Modifies existing tests Change-Id: Ieb20dcad4f62dc09252d01841bff37cf2c3c4a10
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
dd984ecd9e7b98dc5dca82359e1697205a784ccc |
|
14-Mar-2017 |
Diego Perez <diegoperez@google.com> |
Workaround for broken BitmapShader in AdaptiveIconDrawable This removes the need of using BitmapShader while we debug the problem in layoutlib. Bug: 36204957 Test: Added new test for adaptive icons Change-Id: I4ff9968b996a1563be8caa0873e7aec8fb5cb151
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
d77ccbd685786a7d4d7fd58d0ec63caa47926573 |
|
01-Mar-2017 |
Charlie Tsai <chartsai@google.com> |
Add the test function for rectangle shadow Add an XML layout file which contains some buttons with different elevations to test the shadow generation algorithm. Test: Added new rectangle shadow Change-Id: Ifcb5a48200846c33d89f66c162521f2c8565c95d
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
0986aa118c279a45fd21af0128f2f81e3d7daa6f |
|
20-Feb-2017 |
Diego Perez <diegoperez@google.com> |
Fix BridgeContext.resolveThemeAttribute color parsing When passed a color, resolveThemeAttribute was not parsing the value into the .data field. Bug: http://b.android.com/232870 Test: Added new test Change-Id: I9d91e3a70c24f1e71d9d89977fe79b0965e98893
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
7c22a707de1ed939ebd91079dff9df6cd5ffd401 |
|
13-Feb-2017 |
Diego Perez <diegoperez@google.com> |
Add dynamic font support This CL allows loading fonts from resources. Test: Added new fonts test Change-Id: Ic82239121cc3f78f2a22b22de42e54575c1f2d98
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|
73b706037584398de7581e52b0ef884aa4b71a1a |
|
13-Dec-2016 |
Diego Perez <diegoperez@google.com> |
Refactor tests structure Move all the render test utility methods to a separate class and leave only tests in RenderTests class (old Main). The idea is to improve the organization to allow to create a set of performance tests and also to allow the tests to grow more structured. Test: Just moved tests around Change-Id: I3b773d0745700dd2a52f937b9b668a2d374b8686
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/RenderTests.java
|