summaryrefslogtreecommitdiff
path: root/docs/html/sdk/sdk_toc.cs
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-11-24 11:26:40 -0800
committerXavier Ducrohet <xav@android.com>2010-11-29 12:05:43 -0800
commit2eea6fab1cbb0a5c8f913491c2d622c904759893 (patch)
tree51b7e87bbf94d0fdb6623710a59e142e823938c2 /docs/html/sdk/sdk_toc.cs
parent7750c2ac61d933cdb50114c2fc2e0a0c558a140e (diff)
Layoutlib: Animation support.
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
Diffstat (limited to 'docs/html/sdk/sdk_toc.cs')
0 files changed, 0 insertions, 0 deletions