Home
last modified time | relevance | path

Searched refs:AnimationContext (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/hwui/
DAnimationContext.h30 class AnimationContext; variable
48 AnimationContext& context() { return mContext; } in context()
60 friend class AnimationContext;
61 explicit AnimationHandle(AnimationContext& context);
62 AnimationHandle(RenderNode& animatingNode, AnimationContext& context);
70 AnimationContext& mContext;
76 class AnimationContext {
77 PREVENT_COPY_AND_ASSIGN(AnimationContext);
80 explicit AnimationContext(renderthread::TimeLord& clock);
81 virtual ~AnimationContext();
DAnimationContext.cpp25 AnimationContext::AnimationContext(renderthread::TimeLord& clock) in AnimationContext() function in android::uirenderer::AnimationContext
31 AnimationContext::~AnimationContext() {} in ~AnimationContext()
33 void AnimationContext::destroy() { in destroy()
44 void AnimationContext::addAnimatingRenderNode(RenderNode& node) { in addAnimatingRenderNode()
51 void AnimationContext::addAnimationHandle(AnimationHandle* handle) { in addAnimationHandle()
55 void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { in startFrame()
67 void AnimationContext::runRemainingAnimations(TreeInfo& info) { in runRemainingAnimations()
78 void AnimationContext::callOnFinished(BaseRenderNodeAnimator* animator, in callOnFinished()
83 AnimationHandle::AnimationHandle(AnimationContext& context) in AnimationHandle()
86 AnimationHandle::AnimationHandle(RenderNode& animatingNode, AnimationContext& context) in AnimationHandle()
DRootRenderNode.h47 void doAttachAnimatingNodes(AnimationContext* context);
50 void runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info);
52 void trimPausedVDAnimators(AnimationContext* context);
54 void pushStagingVectorDrawableAnimators(AnimationContext* context);
81 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override;
DRootRenderNode.cpp114 void RootRenderNode::doAttachAnimatingNodes(AnimationContext* context) { in doAttachAnimatingNodes()
123 void RootRenderNode::runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info) { in runVectorDrawableAnimators()
190 void RootRenderNode::trimPausedVDAnimators(AnimationContext* context) { in trimPausedVDAnimators()
206 void RootRenderNode::pushStagingVectorDrawableAnimators(AnimationContext* context) { in pushStagingVectorDrawableAnimators()
252 class AnimationContextBridge : public AnimationContext {
255 : AnimationContext(clock), mRootNode(rootNode) {} in AnimationContextBridge()
266 AnimationContext::startFrame(mode); in startFrame()
271 AnimationContext::runRemainingAnimations(info); in runRemainingAnimations()
282 AnimationContext::destroy(); in destroy()
290 AnimationContext* ContextFactoryImpl::createAnimationContext(renderthread::TimeLord& clock) { in createAnimationContext()
DAnimator.h34 class AnimationContext; variable
80 void pushStaging(AnimationContext& context);
81 bool animate(AnimationContext& context);
95 void forceEndNow(AnimationContext& context);
132 void callOnFinishedListener(AnimationContext& context);
173 virtual void transitionToRunning(AnimationContext& context);
DIContextFactory.h26 class AnimationContext; variable
30 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) = 0;
DAnimatorManager.cpp112 AnimateFunctor(TreeInfo& info, AnimationContext& context, uint32_t* outDirtyMask) in AnimateFunctor()
133 AnimationContext& mContext;
185 explicit EndActiveAnimatorsFunctor(AnimationContext& context) : mContext(context) {} in EndActiveAnimatorsFunctor()
190 AnimationContext& mContext;
DAnimator.cpp153 void BaseRenderNodeAnimator::pushStaging(AnimationContext& context) { in pushStaging()
214 void BaseRenderNodeAnimator::transitionToRunning(AnimationContext& context) { in transitionToRunning()
233 bool BaseRenderNodeAnimator::animate(AnimationContext& context) { in animate()
291 void BaseRenderNodeAnimator::forceEndNow(AnimationContext& context) { in forceEndNow()
298 void BaseRenderNodeAnimator::callOnFinishedListener(AnimationContext& context) { in callOnFinishedListener()
DAndroid.bp576 "AnimationContext.cpp",
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java69 private final SparseArray<AnimationContext> mAnimationContextByTaskId = new SparseArray<>();
104 AnimationContext context = mAnimationContextByTaskId.valueAt(i); in insetsChanged()
126 AnimationContext animationContext = new AnimationContext( in onTaskAppeared()
133 AnimationContext animationContext = mAnimationContextByTaskId.get(taskInfo.taskId); in onTaskChanged()
151 final AnimationContext context = mAnimationContextByTaskId.get(taskInfo.taskId); in resetSurface()
162 final AnimationContext context = mAnimationContextByTaskId.valueAt(i); in applyAnimationProgress()
199 final AnimationContext context = mAnimationContextByTaskId.valueAt(i); in resetAllSurfaces()
204 private void resetSurface(AnimationContext context, Transaction transaction) { in resetSurface()
214 private class AnimationContext { class in FullscreenUnfoldTaskAnimator
223 private AnimationContext(SurfaceControl leash, InsetsSource taskBarInsetsSource, in AnimationContext() method in FullscreenUnfoldTaskAnimator.AnimationContext
DSplitTaskUnfoldAnimator.java79 private final SparseArray<AnimationContext> mAnimationContextByTaskId = new SparseArray<>();
161 final AnimationContext context = mAnimationContextByTaskId.get(taskId); in onTaskStageChanged()
188 AnimationContext context = mAnimationContextByTaskId.valueAt(i); in updateContexts()
200 AnimationContext context = new AnimationContext(leash); in onTaskAppeared()
236 AnimationContext context = mAnimationContextByTaskId.get(taskInfo.taskId); in resetSurface()
249 final AnimationContext context = mAnimationContextByTaskId.valueAt(i); in resetAllSurfaces()
257 AnimationContext context = mAnimationContextByTaskId.valueAt(i); in applyAnimationProgress()
288 private void resetSurface(SurfaceControl.Transaction transaction, AnimationContext context) { in resetSurface()
299 private class AnimationContext { class in SplitTaskUnfoldAnimator
309 private AnimationContext(SurfaceControl leash) { in AnimationContext() method in SplitTaskUnfoldAnimator.AnimationContext
/frameworks/base/libs/hwui/tests/unit/
DCanvasContextTests.cpp31 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override { in createAnimationContext()
32 return new AnimationContext(clock); in createAnimationContext()
DRenderNodeTests.cpp35 android::uirenderer::AnimationContext* createAnimationContext( in createAnimationContext()
37 return new android::uirenderer::AnimationContext(clock); in createAnimationContext()
DSkiaDisplayListTests.cpp161 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override { in createAnimationContext()
162 return new AnimationContext(clock); in createAnimationContext()
DRenderNodeDrawableTests.cpp232 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override { in createAnimationContext()
233 return new AnimationContext(clock); in createAnimationContext()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp52 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) override { in createAnimationContext()
53 return new AnimationContext(clock); in createAnimationContext()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h55 class AnimationContext; variable
331 std::unique_ptr<AnimationContext> mAnimationContext;
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp719 virtual AnimationContext* createAnimationContext(renderthread::TimeLord& clock) { in createAnimationContext()
720 return new AnimationContext(clock); in createAnimationContext()