Home
last modified time | relevance | path

Searched refs:TreeInfo (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/libs/hwui/
DRenderNode.h56 class TreeInfo; variable
150 ANDROID_API virtual void prepareTree(TreeInfo& info);
151 void destroyHardwareResources(TreeInfo* info = nullptr);
184 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) = 0;
188 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) = 0;
200 void onRemovedFromTree(TreeInfo* info);
225 void syncDisplayList(TreeObserver& observer, TreeInfo* info);
226 void handleForceDark(TreeInfo* info);
228 void prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer);
229 void pushStagingPropertiesChanges(TreeInfo& info);
[all …]
DRenderNode.cpp43 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved()
48 TreeInfo* mTreeInfo;
117 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree()
135 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf()
148 void RenderNode::prepareLayer(TreeInfo& info, uint32_t dirtyMask) { in prepareLayer()
163 void RenderNode::pushLayerUpdate(TreeInfo& info) { in pushLayerUpdate()
202 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl()
211 if (info.mode == TreeInfo::MODE_FULL) { in prepareTreeImpl()
225 if (info.mode == TreeInfo::MODE_FULL && mStagingDisplayList) { in prepareTreeImpl()
238 if (info.mode == TreeInfo::MODE_FULL) { in prepareTreeImpl()
[all …]
DAnimatorManager.h32 class TreeInfo; variable
52 uint32_t animate(TreeInfo& info);
54 void animateNoDamage(TreeInfo& info);
66 uint32_t animateCommon(TreeInfo& info);
DTreeInfo.h60 class TreeInfo {
61 PREVENT_COPY_AND_ASSIGN(TreeInfo);
75 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
DAnimatorManager.cpp97 AnimateFunctor(TreeInfo& info, AnimationContext& context, uint32_t* outDirtyMask) in AnimateFunctor()
117 TreeInfo& mInfo;
122 uint32_t AnimatorManager::animate(TreeInfo& info) { in animate()
139 void AnimatorManager::animateNoDamage(TreeInfo& info) { in animateNoDamage()
143 uint32_t AnimatorManager::animateCommon(TreeInfo& info) { in animateCommon()
DTreeInfo.cpp23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo() function in android::uirenderer::TreeInfo
DAnimationContext.cpp34 startFrame(TreeInfo::MODE_RT_ONLY); in destroy()
55 void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { in startFrame()
67 void AnimationContext::runRemainingAnimations(TreeInfo& info) { in runRemainingAnimations()
DAnimationContext.h94 ANDROID_API virtual void startFrame(TreeInfo::TraversalMode mode);
98 ANDROID_API virtual void runRemainingAnimations(TreeInfo& info);
DAndroid.bp229 "TreeInfo.cpp",
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp147 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
167 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
178 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
183 TreeInfo* infoPtr = &info; in RENDERTHREAD_SKIA_PIPELINE_TEST()
189 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, in RENDERTHREAD_SKIA_PIPELINE_TEST()
216 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
238 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
262 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
282 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
304 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
[all …]
DRenderNodeDrawableTests.cpp337 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
401 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
521 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
621 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
637 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in drawNode()
DRenderNodeTests.cpp274 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
311 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp79 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument
80 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
119 nsecs_t timeTilNextFrame = TreeInfo::Out::kNoAnimatedImageDelay; in prepareListAndChildren()
126 timeTilNextFrame != TreeInfo::Out::kNoAnimatedImageDelay) { in prepareListAndChildren()
128 if (delay == TreeInfo::Out::kNoAnimatedImageDelay || timeTilNextFrame < delay) { in prepareListAndChildren()
DSkiaDisplayList.h123 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer,
124 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp90 TreeInfo info(TreeInfo::MODE_FULL, *mContext); in run()
128 bool DrawFrameTask::syncFrameState(TreeInfo& info) { in syncFrameState()
DCanvasContext.cpp291 void CanvasContext::prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, in prepareTree()
314 info.mode = (node.get() == target ? TreeInfo::MODE_FULL : TreeInfo::MODE_RT_ONLY); in prepareTree()
385 info.out.animatedImageDelay != TreeInfo::Out::kNoAnimatedImageDelay) { in prepareTree()
551 TreeInfo info(TreeInfo::MODE_RT_ONLY, *this); in prepareAndDraw()
586 TreeInfo info(TreeInfo::MODE_FULL, *this); in buildLayer()
DDrawFrameTask.h87 bool syncFrameState(TreeInfo& info);
DCanvasContext.h124 void prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, RenderNode* target);
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp191 virtual void prepareTree(TreeInfo& info) override { in prepareTree()
204 if (info.mode == TreeInfo::MODE_FULL) { in prepareTree()
262 void runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info) { in runVectorDrawableAnimators()
264 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
278 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
308 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
412 virtual void startFrame(TreeInfo::TraversalMode mode) { in startFrame()
413 if (mode == TreeInfo::MODE_FULL) { in startFrame()
421 virtual void runRemainingAnimations(TreeInfo& info) { in runRemainingAnimations()
Dandroid_view_RenderNode.cpp537 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) override { in android_view_RenderNode_requestPositionUpdates()
571 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) override { in android_view_RenderNode_requestPositionUpdates()