/frameworks/base/libs/hwui/ |
D | RenderNode.h | 58 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 …]
|
D | AnimatorManager.h | 32 class TreeInfo; variable 52 uint32_t animate(TreeInfo& info); 54 void animateNoDamage(TreeInfo& info); 68 uint32_t animateCommon(TreeInfo& info);
|
D | RootRenderNode.cpp | 52 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()
|
D | RenderNode.cpp | 50 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 …]
|
D | TreeInfo.h | 62 class TreeInfo { 63 PREVENT_COPY_AND_ASSIGN(TreeInfo); 77 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
|
D | TreeInfo.cpp | 23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo() function in android::uirenderer::TreeInfo
|
D | AnimatorManager.cpp | 112 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()
|
D | AnimationContext.cpp | 34 startFrame(TreeInfo::MODE_RT_ONLY); in destroy() 55 void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { in startFrame() 67 void AnimationContext::runRemainingAnimations(TreeInfo& info) { in runRemainingAnimations()
|
D | DisplayList.h | 126 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()
|
D | RootRenderNode.h | 37 virtual void prepareTree(TreeInfo& info) override; 50 void runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info);
|
D | AnimationContext.h | 94 virtual void startFrame(TreeInfo::TraversalMode mode); 98 virtual void runRemainingAnimations(TreeInfo& info);
|
D | Android.bp | 607 "TreeInfo.cpp",
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 171 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 …]
|
D | RenderNodeTests.cpp | 277 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST() 314 TreeInfo info(TreeInfo::MODE_RT_ONLY, *canvasContext.get()); in RENDERTHREAD_TEST()
|
D | RenderNodeDrawableTests.cpp | 341 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/ |
D | SkiaDisplayList.cpp | 95 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()
|
D | SkiaDisplayList.h | 143 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, 144 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOpBuffer.cpp | 39 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, in prepareListAndChildren() argument 40 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn) { in prepareListAndChildren()
|
D | CanvasOpBuffer.h | 100 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, 101 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
|
/frameworks/base/libs/hwui/renderthread/ |
D | DrawFrameTask.cpp | 103 TreeInfo info(TreeInfo::MODE_FULL, *mContext); in run() 169 bool DrawFrameTask::syncFrameState(TreeInfo& info) { in syncFrameState()
|
D | CanvasContext.cpp | 417 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()
|
D | DrawFrameTask.h | 107 bool syncFrameState(TreeInfo& info);
|
D | CanvasContext.h | 146 void prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, RenderNode* target);
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 588 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()
|