5eb51defe39f765d6ebe868dba7f187f7dd990f6 |
04-Sep-2012 |
Xavier Ducrohet <xav@android.com> |
Add some new native deletage to layoutlib. Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70
loatMath_Delegate.java
|
01b6c755dbcf24e71192dc44757e2eea2a426091 |
10-Jul-2012 |
Xavier Ducrohet <xav@android.com> |
Replace LruCache implementation for layoutlib. The android version depends on a custom version of LinkedHashMap which is not present on desktop VMs. This new implementation is done in a way that minimizes the difference between the two. Also some minor fixes. Change-Id: Ib27b0419f9d0e6ba4d4abb26b2ccd968af59eba8
ruCache.java
|
c3f979f6fecb8b46e9315fddb2a1f344bf1f1447 |
21-Feb-2012 |
Xavier Ducrohet <xav@android.com> |
Make sure resource references are resolved. XmlPullAttribute can query for attributes and return them in a given format. We need to make sure they are first resolved before trying to convert them to int/float/boolean/... Change-Id: I2aaced022a0382e501978c396e49d6191d53bdc8
ridgeXmlPullAttributes.java
|
7f9f99ea11051614a7727dfb9f9578b518e76e3c |
11-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Make some methods/fields package private so that layoutlib can access them. Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
ridgeXmlPullAttributes.java
|
ea670054d6c5b59b8481cbf796e6a1cd9f38b672 |
09-Aug-2011 |
Philip Milne <pmilne@google.com> |
Implement native println_native in android.util.Log for LayoutLib Change-Id: I2ab83a131468490cf789bf17f9c12b6360e953a4
og_Delegate.java
|
9a4fe29c8d92014d2d9a848e9116b8cc9d0842f9 |
10-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Annotate the custom delegate methods. Every method implementing a delegate needed by the layoutlib_create bytecode modification must now be annotated with LayoutlibDelegate. The methods in the original source code that are delegated are already automatically annotated. Now with the implementations being annotated we can do bi-directional tests and find not only missing implementations but also dead obsolete code. This will be useful when backporting to earlier versions of Android, or when native (non public) method disappear. In fact, the new test detected one such method in Shader. Change-Id: I491708b68ac2736ca5669aa86cd5e930a00f9db3
loatMath_Delegate.java
|
c2e9651bf386a1f7bf7fc706cf5424950570470c |
10-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib: New bridge implementation using the new API 5. Since the new API prepare for stateful layoutlib, major reorganization of the code. New "android" sub-package for all extended android classes. Also moved BridgeInflater in here so that all extended classes are in this package. Only delegates and classes replacing renamed classes are in their original android.* packages. Also created full file for the empty implementations of IWindow and IWindowSession. New "impl" for the dirty work implementation. Main package contains the basic implementation of the API. Most of the code that was in Bridge is now in .impl.LayoutSceneImpl, with the main init/inflate/render code split into the contrustrutor, inflate() and render(). Change-Id: Ie15b15e5a1b2388cd6ef82e518345b1fc02ec981
loatMath_Delegate.java
|
9c05b3972872d83c60bf5afe1a05f08c7753cd9a |
04-Nov-2010 |
Xavier Ducrohet <xav@android.com> |
Layoutlib native delegate: FloatMath. While the difference is pretty minor since it's a small class, the point is that the unit test will ensure that we detect new methods added to FloatMath more easily. Change-Id: Ia8bfee231cc4ae0cfeb18692be86d02649c187d5
loatMath.java
loatMath_Delegate.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
loatMath.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
loatMath.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
loatMath.java
|