6777f54fa44341dd4b23456c97d97c6e4ffe915f |
|
13-Nov-2015 |
Diego Perez <diegoperez@google.com> |
Fix delegation of methods within inner static classes Currently, delegation of inner static classes methods is broken since the rewritten method tries to pass an instance to the outer class. This updates the method generation to only pass the reference if the inner class is not static. Change-Id: I8493929cafdbd80968989b422af0f956fa65681a
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
|
282e181b58cf72b6ca770dc7ca5f91f135444502 |
|
24-Jan-2014 |
Adam Lesinski <adamlesinski@google.com> |
Revert "Move frameworks/base/tools/ to frameworks/tools/" This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
|
9f6a119c8aa276432ece4fe2118bd8a3c9b1067e |
|
28-Aug-2013 |
Mike Lockwood <lockwood@google.com> |
Move frameworks/base/tools/ to frameworks/tools/ Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
|
865c3bef54228a353fd449a093b0c8d155618296 |
|
18-Jun-2011 |
Raphael Moll <ralf@android.com> |
Laoutlib_creator: keep original of delegate methods. For specific methods, Layoublib_create can rewrite the implementation of a method to invoke a delegate instead of the original code. This allows layoutlib to implement native code or override existing behavior. This patch also 'saves' the original implementation of a rewritten method so that the delegate can access the original implementation as needed. Obviously this is only done for non-native methods. Given a non-native SomeClass.MethodName, we generate 2 methods: - A copy of the original method named "SomeClass.MethodName_original". The content is the original method as-is from the reader. - A brand new implementation of SomeClass.MethodName which calls to a non-existing method named "SomeClass_delegate.MethodName". The implementation of this 'delegate' method is done in layoutlib_brigde. Change-Id: I5ca2cd3ac55991a8e8a51c417e75ee447bf9e9e6
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
|
4b52ec49fee79b0488d6a9eaaa4ea5d74ce90905 |
|
08-Feb-2011 |
Xavier Ducrohet <xav@android.com> |
LayoutLib: Original import of Honeycomb's layoutlib. do not merge. frameworks/base.git @ f0a53435f14d23d9555fc46014352ee6a7baa647 Change-Id: Ibc215751693dc7650683b61bb458f7c8beaf8060
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/OuterClass.java
|