3c5e3381983b1f2e98560a7bdbaadd4e7491144c |
|
01-Mar-2017 |
Diego Perez <diegoperez@google.com> |
Rename android.os.Build so it can be dynamically generated This will allow the android.os.Build class to be generated dynamically from the Studio side. In order to allow the "refactoring" of classses like android.os.Build, Create needed to be modified. While adding the test, I've also done a small clean-up of the AsmGeneratorTest to re-use some code. Bug: http://b.android.com/210345 Test: Added new test to AsmGeneratorTest Change-Id: Ie4e1209c1c60b7a33cb427dbd556a9741ec8f8b3
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
7dbf1fd919f64e8092f9be23ee9f29948aa287d4 |
|
24-Jan-2017 |
Diego Perez <diegoperez@google.com> |
Add ability to promote classes to public visibility Test: Added new PromoteClassClassAdapterTest Change-Id: I30f9ee259d39e2b2768c1ceb45aa2161983c5a5e (cherry picked from commit 294f0850f7623737899c9ea0b03cebc2cf7e4176)
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
9ae992a2532a4094f6e2d491ec995db2aeac020e |
|
03-Aug-2016 |
Diego Perez <diegoperez@google.com> |
Remove deprecated overriden methods in CreateInfo Change-Id: Ie0b669b188086af2d6fef8f7b7d170dadb422bdb
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
528ddbf71ab1cac494e9a1aa50b9c8b76ba29586 |
|
08-Jan-2016 |
Deepanshu Gupta <deepanshu@google.com> |
Java 8 in layoutlib-create Upgrade to ASM 5 and diamond operators. Also minor fixes here and there. Bug: 26442940 Change-Id: I5611ed0889aa94cca8655fec47799e1ddccb0150
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
2e0b6120e49129e06ef9ced7df9594c9749a0724 |
|
02-Dec-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Add ability to promote fields. This adds the ability to promote private fields to public ones to enable layoutlib to access them. This was first added in change b556decf75b2b084e1aed54ac7fa23a141eedb7f, but reverted in 847b0d3ad22a47e0bca3d8bc8168fea7a0ba2f80. This is essentially a revert of the change again, but without the SimpleMonthView related stuff. Also, promote the Choreographer's field as is needed to support animations. Change-Id: Iee45a465c7a1cadd362c1841385941e6232e4900
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
aacfb10a5d838fe1c2bf4606e3fe4f657b348ecd |
|
07-Aug-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Revert "LayoutLib: Switch SimpleDateFormat to icu." This reverts commit b556decf75b2b084e1aed54ac7fa23a141eedb7f. This is no longer needed as the SimpleDateFormat has been switched in the framework. Also, the revert leaves the change to intellij inspection profiles as is, because that change was independent of the main issue. Change-Id: I6f4d7d9ddc10262b087ad6a2604fa50562fac043
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
b36aba1d5921d075c673c55cb82b6ca8c990df3b |
|
07-Aug-2015 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Switch SimpleDateFormat to icu. Use ICU's implementation of SimpleDateFormat in LayoutLib. The format patterns used are not supported by java.text.SimpleDateFormat. The change required adding a mechanism for promoting visibility of fields in the framework in the create tool. TODO: Add additional tests in the create tool for this new functionality. Change-Id: Id0f4be41f9731c42a28919c32cc5ef271a656982
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
f4d62181569ea4f112046a5400acd24e5c5d196b |
|
19-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Make Context.getClassLoader() work. Context.getClassLoader() is used by the LayoutInflater and can be used by custom views. However, when called from the LayoutInflater, this needs to return only the Framework classes. This is so that the IDE gets a chance to instantiate the custom views, which helps in better error reporting and better fallback in case of exceptions, like MockView. To workaround this need of the same method returning different results based on where it's called from, the method call in LayoutInflater is renamed to getFrameworkClassLoader() and the new method is injected in Context. The implementation of getFrameworkClassLoader() maintains the existing behaviour of getClassLoader(). Context.getClassLoader() is now modified to return classes from both Framework and the app namespace. Also, update the list of packages to search for Framework views. Change-Id: I1a6be4aa1fc5c1c5520b5440a348a52f10b6eb3b
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
11d25a19eb84122aa07db570bca260b3fe6b4fd2 |
|
08-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Exclude KXmlParser from LayoutLib. The class was incorrectly being included in the LayoutLib. Change-Id: I3c86662efa068019fe9165f2fc49a00d0a1b7f2d
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
fa4c9e68fb1593d34b8b28baf0c40d722a14e829 |
|
16-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing files to fix libphonenumber for layoutlib. Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
707fa95775f9482ddd324426c0e127f3419748f6 |
|
11-Sep-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib Create: Remove references to non-std Java classes. Do not add the non-standard Java classes. Updates the references to all non-standard classes to new classes in com.android.tools.layoulib.create package. This also treats java.lang.AutoCloseable which is part of Java 7 similarly so that we can still run on Java 6. Change-Id: Iac5b272652e2780c9bb72d19f415d150948ca589
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
d98e133b3911b8db3430ce9d85efd5a6adcf70bf |
|
03-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Make Layoutlib compile on Java 6. Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
9d82886f763bdefda3e0a45925d85173cbfd3f23 |
|
27-Sep-2010 |
Raphael <raphael@google.com> |
layoutlib_create: Generate delegate to implement native methods. - Some new parameters are added to CreateInfo with the list of methods or classes to override with delegates. - DelegateClassAdapter and DelegateMethodAdapter do the work... see javadoc. Change-Id: I0657cd929837181d81c65db7051d8ccbdc59c741
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|
64100b3110618603e98c7efa164c323594172e18 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/AsmGeneratorTest.java
|