Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderNode.h58 class TreeInfo; variable
152 virtual void prepareTree(TreeInfo& info);
153 void destroyHardwareResources(TreeInfo* info = nullptr);
188 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) = 0;
192 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) = 0;
204 void onRemovedFromTree(TreeInfo* info);
234 void syncDisplayList(TreeObserver& observer, TreeInfo* info);
235 void handleForceDark(TreeInfo* info);
236 bool shouldEnableForceDark(TreeInfo* info);
238 void prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer);
[all …]
DAnimatorManager.h32 class TreeInfo; variable
52 uint32_t animate(TreeInfo& info);
54 void animateNoDamage(TreeInfo& info);
68 uint32_t animateCommon(TreeInfo& info);
DRootRenderNode.cpp52 void RootRenderNode::prepareTree(TreeInfo& info) { in prepareTree()
65 if (info.mode == TreeInfo::MODE_FULL) { in prepareTree()
123 void RootRenderNode::runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info) { in runVectorDrawableAnimators()
125 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
139 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
169 if (info.mode == TreeInfo::MODE_FULL) { in runVectorDrawableAnimators()
261 virtual void startFrame(TreeInfo::TraversalMode mode) { in startFrame()
262 if (mode == TreeInfo::MODE_FULL) { in startFrame()
270 virtual void runRemainingAnimations(TreeInfo& info) { in runRemainingAnimations()
DRenderNode.cpp50 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved()
55 TreeInfo* mTreeInfo;
135 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree()
153 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf()
169 void RenderNode::prepareLayer(TreeInfo& info, uint32_t dirtyMask) { in prepareLayer()
184 void RenderNode::pushLayerUpdate(TreeInfo& info) { in pushLayerUpdate()
226 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl()
235 if (info.mode == TreeInfo::MODE_FULL) { in prepareTreeImpl()
252 if (info.mode == TreeInfo::MODE_FULL && mStagingDisplayList) { in prepareTreeImpl()
265 if (info.mode == TreeInfo::MODE_FULL) { in prepareTreeImpl()
[all …]
DTreeInfo.h62 class TreeInfo {
63 PREVENT_COPY_AND_ASSIGN(TreeInfo);
77 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
DTreeInfo.cpp23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo() function in android::uirenderer::TreeInfo
DAnimatorManager.cpp112 AnimateFunctor(TreeInfo& info, AnimationContext& context, uint32_t* outDirtyMask) in AnimateFunctor()
132 TreeInfo& mInfo;
137 uint32_t AnimatorManager::animate(TreeInfo& info) { in animate()
154 void AnimatorManager::animateNoDamage(TreeInfo& info) { in animateNoDamage()
158 uint32_t AnimatorManager::animateCommon(TreeInfo& info) { in animateCommon()
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()
DDisplayList.h126 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument
127 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
180 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren()
181 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
301 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument
302 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
DRootRenderNode.h37 virtual void prepareTree(TreeInfo& info) override;
50 void runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info);
DAnimationContext.h94 virtual void startFrame(TreeInfo::TraversalMode mode);
98 virtual void runRemainingAnimations(TreeInfo& info);
DAndroid.bp607 "TreeInfo.cpp",
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp171 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_TEST()
191 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_TEST() argument
202 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_TEST() argument
207 TreeInfo* infoPtr = &info; in RENDERTHREAD_TEST()
213 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, in RENDERTHREAD_TEST()
239 TreeInfo info(TreeInfo::MODE_FULL, *canvasContext.get()); in RENDERTHREAD_TEST()
261 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_TEST() argument
285 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_TEST() argument
305 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_TEST() argument
327 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_TEST() argument
[all …]
DRenderNodeTests.cpp277 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
314 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
DRenderNodeDrawableTests.cpp341 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
405 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
525 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
625 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
641 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in drawNode()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp95 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument
96 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
142 nsecs_t timeTilNextFrame = TreeInfo::Out::kNoAnimatedImageDelay; in prepareListAndChildren()
149 timeTilNextFrame != TreeInfo::Out::kNoAnimatedImageDelay) { in prepareListAndChildren()
151 if (delay == TreeInfo::Out::kNoAnimatedImageDelay || timeTilNextFrame < delay) { in prepareListAndChildren()
DSkiaDisplayList.h143 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer,
144 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
/frameworks/base/libs/hwui/canvas/
DCanvasOpBuffer.cpp39 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument
40 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
DCanvasOpBuffer.h100 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer,
101 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp103 TreeInfo info(TreeInfo::MODE_FULL, *mContext); in run()
169 bool DrawFrameTask::syncFrameState(TreeInfo& info) { in syncFrameState()
DCanvasContext.cpp417 void CanvasContext::prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, in prepareTree()
464 info.mode = (node.get() == target ? TreeInfo::MODE_FULL : TreeInfo::MODE_RT_ONLY); in prepareTree()
535 info.out.animatedImageDelay != TreeInfo::Out::kNoAnimatedImageDelay) { in prepareTree()
948 TreeInfo info(TreeInfo::MODE_RT_ONLY, *this); in prepareAndDraw()
984 TreeInfo info(TreeInfo::MODE_FULL, *this); in buildLayer()
DDrawFrameTask.h107 bool syncFrameState(TreeInfo& info);
DCanvasContext.h146 void prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, RenderNode* target);
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp588 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) override { in android_view_RenderNode_requestPositionUpdates()
671 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) override { in android_view_RenderNode_requestPositionUpdates()
707 void handleStretchEffect(const TreeInfo& info, uirenderer::Rect& targetBounds) { in android_view_RenderNode_requestPositionUpdates()