f8ea750455eec81e4e6d877b3e18e29a86d4ec95 |
|
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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
908a4f9a4372a9627e821b5800936095b0f0b5b0 |
|
08-Oct-2014 |
Deepanshu Gupta <deepanshu@google.com> |
am 4f133894: Exclude KXmlParser from LayoutLib. * commit '4f133894a6e98d8d30557ea42cec92cfb21fa5c9': Exclude KXmlParser from LayoutLib.
|
4f133894a6e98d8d30557ea42cec92cfb21fa5c9 |
|
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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
b80e42f93ff26984c410da0235dd10f463e5722a |
|
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Replace more Locale methods. This change replaces some methods of java.util.Locale. Some of them were added in 1.7 and some are not present in the Desktop VM. Change-Id: Ifdf8451bb2acf55e01dce8b5e15c40c8160107cc
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
f5fbff9b1aeb3abb94b7ee45f989b965424ee43f |
|
10-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Fix EditText rendering [DO NOT MERGE] Framework has overloaded java.lang.System.arraycopy() for char[]. The method is not present on the Desktop VMs. This change replaces the calls to this method by its more general alternative - the one using Objects. TODO: Make it more configurable and flexible to allow rewrite of any such methods in the future. Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f (cherry picked from commit fc3e93300733b4a161adb9cceebea6cda353d085)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
5cd9dde5a2a77c5095f985186d8f03147fd22870 |
|
15-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Support Locale.toLanguageTag on Java 6 Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
e1960cc0b541cda93db94de5bef42dff922b9ec3 |
|
10-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Fix System.arraycopy() Framework has specialized versions of java.lang.System.arraycopy() for all primitive data types. These versions are not present on the Desktop VM. This change replaces calls to any of the specialized versions with the more general alternative - the one using Objects. Note that this was already being done for char. Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
1160e6d2f7018117b0c29a7e2adba9ece36faec1 |
|
10-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Fix EditText rendering Framework has overloaded java.lang.System.arraycopy() for char[]. The method is not present on the Desktop VMs. This change replaces the calls to this method by its more general alternative - the one using Objects. TODO: Make it more configurable and flexible to allow rewrite of any such methods in the future. Change-Id: I6823b13e52b1c555eb257d02b79707d84e73236f
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
6f9baea47757fef4745de434e09bd552fddc1f03 |
|
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE] The bug caused some classes to be missed when computing the dependencies of the existing classes. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa (cherry-picked from 4a0f93bd32b8dd9b3c351680ad82e461d5111f38)
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
4a0f93bd32b8dd9b3c351680ad82e461d5111f38 |
|
01-Apr-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix visitFieldInsn in layoutlib_create. The bug caused some classes to be missed when computing the dependencies of the existing classes. Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
58037a4404e639d28695a0f1c17053b53b96b970 |
|
16-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing files to fix libphonenumber for layoutlib. Change-Id: I8102da6c1c4625e887293a8823770d199521c53f
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
1cf5df38f4bdafa1beb2674ca548ad6d9650766b |
|
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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
f7270ba9083e5b0069f73fc88aec439ab439275b |
|
05-Dec-2011 |
Tor Norbye <tnorbye@google.com> |
Upgrade layoutlib generation code to use ASM 4.0 Change-Id: I46b3854a05677dc7cadd217efb001dbb25631fbd
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
|