summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src/android/os
Commit message (Collapse)AuthorAgeFilesLines
* Add SystemProperties native method implementations.Deepanshu Gupta2014-08-051-0/+54
| | | | | Bug: http://b.android.com/73046 Change-Id: Ia695e7beb81f426509b646cfd929201f7e0a4ade
* Layoutlib: Update delegates for LDeepanshu Gupta2014-05-151-10/+13
| | | | | | Update delegate method signatures for L. Change-Id: Ie607293bcae60b2d3a61d1cad3ac5f04bda2a238
* Update layoutlib method for SystemClockDeepanshu Gupta2014-02-241-5/+0
| | | | | | | Update layoutlib to reflect changes from http://android-review.googlesource.com/83061/ Change-Id: If7326f3af2a97271ad1465382944e1f078b965d8
* Add missing native methods.Deepanshu Gupta2013-05-231-0/+20
| | | | Change-Id: I7b34e2ec0164520efc658053a80f307791a992b1
* Fix SDK layout rendering in Eclipse.Xavier Ducrohet2012-10-151-1/+1
| | | | Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
* Add some new native deletage to layoutlib.Xavier Ducrohet2012-09-041-0/+11
| | | | Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70
* Layoutlib: add support for ITextServicesManager.Xavier Ducrohet2011-10-031-0/+3
| | | | | | | | | | | | 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
* Make some methods/fields package private so that layoutlib can access them.Xavier Ducrohet2011-08-112-0/+48
| | | | Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
* Import the Layoutlib from hc-mr1.Xavier Ducrohet2011-06-031-0/+80
| | | | | | This is squash commit of all the missing patches. Change-Id: Ie081c46a173290646deddbde503a720d50c4400f
* LayoutLib: Annotate the custom delegate methods.Xavier Ducrohet2011-02-093-0/+10
| | | | | | | | | | | | | | | | | 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: return ViewInfo for all merged items + Build init.Xavier Ducrohet2011-01-251-0/+46
| | | | | | | android.os.Build is now initialized from the build properties parsed from the SDK build.prop file. Change-Id: If16953215ca90fb0beacb51bf405b89a5c8a34fa
* Layoutlib: Animation support.Xavier Ducrohet2010-11-292-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | New locking mechanims to prevent concurrent renderings. There's now a thread specific prepareThread() method (only prepares the looper) and its associated cleanupThread(). For the rendering itself, acquire must be called before doing any type of Android specific work on the scene (inflate or rendering) After instantiation, init() must be called, which also acts as acquire. Added a lot of checks to make sure method aren't called without acquire or if scenes try to be rendered while acquire was called from the same thread but on another scene. Animation implementation: - Handler delegate to use our own queue (since the animation runs through handler messages). This uses a callback to process the message. This callback is per-thread and only used in animation threads. - SystemClock delegate to provide clock implementation. - AnimationThread to handle playing the animation and calling back to the animation listener. Change-Id: Ia39aba7ed476759df1da3200e413fe3e92590d15
* Fix handling of reference XML file in layout filesXavier Ducrohet2009-08-131-0/+2
| | | | | This allows layout that references animation to properly load in the layout editor in ADT
* Mock ServiceManager and AccesibilityManager to make the view renders in ADTXavier Ducrohet2009-08-121-0/+70
BUG: 2049348