Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderNode.h57 class TreeInfo; variable
152 ANDROID_API virtual void prepareTree(TreeInfo& info);
153 void destroyHardwareResources(TreeInfo* info = nullptr);
186 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) = 0;
190 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) = 0;
202 void onRemovedFromTree(TreeInfo* info);
227 void syncDisplayList(TreeObserver& observer, TreeInfo* info);
228 void handleForceDark(TreeInfo* info);
230 void prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer);
231 void pushStagingPropertiesChanges(TreeInfo& info);
[all …]
DRenderNode.cpp48 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved()
53 TreeInfo* mTreeInfo;
134 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree()
152 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf()
165 void RenderNode::prepareLayer(TreeInfo& info, uint32_t dirtyMask) { in prepareLayer()
180 void RenderNode::pushLayerUpdate(TreeInfo& info) { in pushLayerUpdate()
221 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl()
230 if (info.mode == TreeInfo::MODE_FULL) { in prepareTreeImpl()
244 if (info.mode == TreeInfo::MODE_FULL && mStagingDisplayList) { in prepareTreeImpl()
257 if (info.mode == TreeInfo::MODE_FULL) { in prepareTreeImpl()
[all …]
DRootRenderNode.cpp51 void RootRenderNode::prepareTree(TreeInfo& info) { in prepareTree()
64 if (info.mode == TreeInfo::MODE_FULL) { in prepareTree()
122 void RootRenderNode::runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info) { in runVectorDrawableAnimators()
124 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
138 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
168 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
256 virtual void startFrame(TreeInfo::TraversalMode mode) { in startFrame()
257 if (mode == TreeInfo::MODE_FULL) { in startFrame()
265 virtual void runRemainingAnimations(TreeInfo& info) { in runRemainingAnimations()
290 void RootRenderNode::prepareTree(TreeInfo& info) {
DAnimatorManager.h32 class TreeInfo; variable
52 uint32_t animate(TreeInfo& info);
54 void animateNoDamage(TreeInfo& info);
66 uint32_t animateCommon(TreeInfo& info);
DTreeInfo.h59 class TreeInfo {
60 PREVENT_COPY_AND_ASSIGN(TreeInfo);
74 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()
DRootRenderNode.h37 virtual void prepareTree(TreeInfo& info) override;
50 void runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info);
DAnimationContext.h94 ANDROID_API virtual void startFrame(TreeInfo::TraversalMode mode);
98 ANDROID_API virtual void runRemainingAnimations(TreeInfo& info);
DAndroid.bp474 "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()
215 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
237 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
261 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
281 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
303 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
[all …]
DRenderNodeDrawableTests.cpp338 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
402 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
522 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
622 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
638 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.cpp86 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument
87 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
128 nsecs_t timeTilNextFrame = TreeInfo::Out::kNoAnimatedImageDelay; in prepareListAndChildren()
135 timeTilNextFrame != TreeInfo::Out::kNoAnimatedImageDelay) { in prepareListAndChildren()
137 if (delay == TreeInfo::Out::kNoAnimatedImageDelay || timeTilNextFrame < delay) { in prepareListAndChildren()
DSkiaDisplayList.h126 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer,
127 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.cpp313 void CanvasContext::prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, in prepareTree()
337 info.mode = (node.get() == target ? TreeInfo::MODE_FULL : TreeInfo::MODE_RT_ONLY); in prepareTree()
408 info.out.animatedImageDelay != TreeInfo::Out::kNoAnimatedImageDelay) { in prepareTree()
620 TreeInfo info(TreeInfo::MODE_RT_ONLY, *this); in prepareAndDraw()
655 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/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp539 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) override { in android_view_RenderNode_requestPositionUpdates()
575 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) override { in android_view_RenderNode_requestPositionUpdates()