History log of /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/DelegateMethodAdapter2.java
f1dee199a009fec5e3a5d1469f654098261f8b06 01-Oct-2011 Xavier Ducrohet <xav@android.com> Layoutlib: add support for ITextServicesManager.

This include a fix in layoutlib_create to properly handle
delegating a static method of an inner class (was broken and
only worked on non static method).

Added a few comments here and there to *_Accessor classes so
that it's a bit more obvious what they are for and how they are
used.

Change-Id: Ifc31dd1a006393bb0c08e22b6a17f500dd62e090
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.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/src/com/android/tools/layoutlib/create/DelegateMethodAdapter2.java