summaryrefslogtreecommitdiffstats
path: root/core/jni/android_view_RenderNodeAnimator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Stop pretending USE_OPENGL_RENDERER is a thingJohn Reck2014-12-181-8/+0
| | | | Change-Id: I732b490431fe90eafa00a00f3b5429f0d3a067e6
* am 7d74cb6c: am 14c43689: Merge "Fix issue with RNA destruction ↵John Reck2014-12-091-2/+7
|\ | | | | | | | | | | | | mid-animation" into lmp-mr1-dev * commit '7d74cb6c6139d42aad65fe1466ab4c5f8e029539': Fix issue with RNA destruction mid-animation
| * Fix issue with RNA destruction mid-animationJohn Reck2014-12-091-2/+7
| | | | | | | | | | | | | | | | | | Bug: 18521508 Fix an issue where an RNA's native object was destroyed before the java-side object was started Change-Id: I487fb476e0ecdf7000515f4f7320e8cfbc50a52b
* | resolved conflicts for merge of 08372601 to lmp-mr1-dev-plus-aospJohn Reck2014-11-211-3/+17
|\ \ | |/ | | | | Change-Id: I86b78ada4f30c23ae1232ac5a509986d5b8dc546
| * It's super critical to call nStartJohn Reck2014-11-211-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18204974 Even if we are canceling or ending an animation nStart() *must* be called, otherwise the native-side listener is not attached (lazy-attached for JNI cyclic reference reasons), and then Animator::callOnFinishedListener() no-ops as there's no listener set Add a lifecycle verifier to ensure that nStart is always called on animators that are attached and get finished Change-Id: Ibc345b5be97b6d3f95a11c361ebe020d030fd3b6
* | Frameworks/base: Replace LOG_FATAL_IF in core/jniAndreas Gampe2014-11-191-13/+9
| | | | | | | | | | | | | | | | | | | | Do not use LOG_FATAL_IF in JNI setup. This is one-time on startup and important enough to always check. Add a header with common helper definitions. Move to inlined functions instead of macros to clean up the code. Change-Id: Ib12d0eed61b110c45d748e80ec36c563e9dec7e5
* | Frameworks/base: Wall Werror in core/jniAndreas Gampe2014-11-131-5/+0
|/ | | | | | | | | | | Turn on -Wall -Werror in core/jni. Fix warnings. Clang TODO: For GCC we need to turn off Wunused-but-set-variable in the GL bindings. However, Clang doesn't have that warning and thus complains about an unknown pragma. It is necessary to make the pragma #ifdef-ed on the compiler being GCC. Change-Id: I14cab48d45c2771eef0432082356c47ed44a3d7f
* Disable RT-anim for AnimatorSetJohn Reck2014-09-051-0/+6
| | | | | | | | | Bug: 17317184 Unfortunately this will disable *all* RT animations in a scene, but we don't have more selective targetting currently Change-Id: I57e1c0ae43957f45229473bdcdaf34c05825fab7
* Animator stuffJohn Reck2014-08-271-24/+29
| | | | | | Bug: 17228458 Change-Id: Id884a429a512f9cd2be0ed16dbd0f10e92b4440d
* Use RoundRect clipping for circle reveal animationChris Craik2014-07-301-4/+3
| | | | | | | | bug:16630975 Also, remove inverse clipping feature from reveal animator. Change-Id: I770a4eb48cd123b0ca0f39d16a0f3eefd1be3653
* Add RT-enabled reveal animatorJohn Reck2014-07-181-3/+12
| | | | | | | | | Bug: 16161431 Also re-writes RevealAnimator to avoid using any listeners internally, removing the logic around shadowing the update listeners. Change-Id: I6ed8126398eed971a87f20bccb7584c9acafbb6c
* Fixes to startDelayJohn Reck2014-07-011-0/+6
| | | | | | | | | Bug: 15991758 Don't update the UI thread with final value until after startDelay Change-Id: Ie8bffb5a3ace353ec1d82943a4efcbd01c42c28f
* Animator refactoring & fixesJohn Reck2014-06-261-0/+6
| | | | | | | | | | | | Tweaks animators to have less unnecessary refcounting Pull animator management out into seperate class More control to tweak animator lifecycle, such as doing Java-side handling of start delay by attaching but not starting the animator Change-Id: I4ff8207580ca11fb38f45ef0007b406e0097281c
* Add setStartValue to RNAJohn Reck2014-06-021-0/+6
| | | | | | | | Bug: 15198607 Should be good-enough for Ripples to use for pseudo-chaining support. Change-Id: Ia8666928ccb69ae401cb583751632a52bd928b63
* Update ripple behavior, use render thread animationAlan Viverette2014-05-161-5/+18
| | | | Change-Id: Ib6bc1e08b05d29606f452961963d58b8fc866746
* Animator start value...John Reck2014-05-151-24/+14
| | | | Change-Id: Ifd35ed95a28c625086d7fa97764fe63ab4a997f1
* Add TimeInterpolator support to RNAJohn Reck2014-05-121-0/+13
| | | | | | Bug: 14678626 Change-Id: I6554e7fcd42c49fac3618ca792083bb68e358f55
* Refactor VirtualLightRefBase & JNIJohn Reck2014-05-091-9/+0
| | | | Change-Id: I8e244e7109e59d5be96871b23bb9b1201c7f9eaa
* Add CanvasProperty for drawCircleJohn Reck2014-05-021-28/+75
| | | | Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
* Add missing ifdefsJohn Reck2014-04-301-0/+6
| | | | Change-Id: I1c7c66cf81a31b56e6ae65d34b7936f9e8beec29
* RenderThread animator supportJohn Reck2014-04-291-0/+127
Change-Id: Icf29098edfdaf7ed550bbe9d49e9eaefb4167084