/frameworks/base/libs/hwui/ |
D | RenderNode.h | 56 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 …]
|
D | RenderNode.cpp | 43 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 …]
|
D | AnimatorManager.h | 32 class TreeInfo; variable 52 uint32_t animate(TreeInfo& info); 54 void animateNoDamage(TreeInfo& info); 66 uint32_t animateCommon(TreeInfo& info);
|
D | TreeInfo.h | 60 class TreeInfo { 61 PREVENT_COPY_AND_ASSIGN(TreeInfo); 75 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext);
|
D | AnimatorManager.cpp | 97 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()
|
D | TreeInfo.cpp | 23 TreeInfo::TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) in TreeInfo() function in android::uirenderer::TreeInfo
|
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 | AnimationContext.h | 94 ANDROID_API virtual void startFrame(TreeInfo::TraversalMode mode); 98 ANDROID_API virtual void runRemainingAnimations(TreeInfo& info);
|
D | Android.bp | 229 "TreeInfo.cpp",
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 147 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 …]
|
D | RenderNodeDrawableTests.cpp | 337 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()
|
D | RenderNodeTests.cpp | 274 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/ |
D | SkiaDisplayList.cpp | 79 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()
|
D | SkiaDisplayList.h | 123 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, 124 std::function<void(RenderNode*, TreeObserver&, TreeInfo&, bool)> childFn);
|
/frameworks/base/libs/hwui/renderthread/ |
D | DrawFrameTask.cpp | 90 TreeInfo info(TreeInfo::MODE_FULL, *mContext); in run() 128 bool DrawFrameTask::syncFrameState(TreeInfo& info) { in syncFrameState()
|
D | CanvasContext.cpp | 291 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()
|
D | DrawFrameTask.h | 87 bool syncFrameState(TreeInfo& info);
|
D | CanvasContext.h | 124 void prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, RenderNode* target);
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 191 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()
|
D | android_view_RenderNode.cpp | 537 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()
|