summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src/android/app
Commit message (Collapse)AuthorAgeFilesLines
* Update to using LayoutlibCallback.Deepanshu Gupta2015-04-151-11/+11
| | | | Change-Id: Ia89d418b0d40ca8efef8968a4a2a635616b945ac
* Revert "Move frameworks/base/tools/ to frameworks/tools/"Adam Lesinski2014-01-271-0/+104
| | | | This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
* Move frameworks/base/tools/ to frameworks/tools/Mike Lockwood2013-08-281-104/+0
| | | | Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
* LayoutLib: Annotate the custom delegate methods.Xavier Ducrohet2011-02-091-0/+3
| | | | | | | | | | | | | | | | | 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
* LayoutLib: Update layoutlib with revised API.Xavier Ducrohet2010-12-211-1/+1
| | | | Change-Id: I78929df621f48e85d9cbefe1f5590f9ce99bbaff
* Layoutlib: Load fragmentsXavier Ducrohet2010-11-081-0/+101
This change does the following: - Make the bridge context extend Activity instead of Context so that it can act as a view factory. This is needed because the Activity is used as factory for Fragment objects. - Override the default Fragment.instantiate(...) method through a delegate. This is done to load the Fragment classes located in the project (similar to custom views). Change-Id: If62e7c9ff2b7585677077ad825aa1c3591d1b5e0