| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: http://b.android.com/73046
Change-Id: Ia695e7beb81f426509b646cfd929201f7e0a4ade
|
|
|
|
|
|
| |
Update delegate method signatures for L.
Change-Id: Ie607293bcae60b2d3a61d1cad3ac5f04bda2a238
|
|
|
|
|
|
|
| |
Update layoutlib to reflect changes from
http://android-review.googlesource.com/83061/
Change-Id: If7326f3af2a97271ad1465382944e1f078b965d8
|
|
|
|
| |
Change-Id: I7b34e2ec0164520efc658053a80f307791a992b1
|
|
|
|
| |
Change-Id: I0e9e85632012c0929b987ee9d0ccf7c25eece322
|
|
|
|
| |
Change-Id: Ib53df6c944ecd9680bf929afe03b08bcaa61ad70
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
|
|
|
|
|
|
| |
This is squash commit of all the missing patches.
Change-Id: Ie081c46a173290646deddbde503a720d50c4400f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
android.os.Build is now initialized from the build properties
parsed from the SDK build.prop file.
Change-Id: If16953215ca90fb0beacb51bf405b89a5c8a34fa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This allows layout that references animation to properly load
in the layout editor in ADT
|
|
BUG: 2049348
|