/frameworks/base/libs/hwui/ |
D | RenderNode.h | 57 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 …]
|
D | RenderNode.cpp | 48 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 …]
|
D | RootRenderNode.cpp | 51 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) {
|
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 | 59 class TreeInfo { 60 PREVENT_COPY_AND_ASSIGN(TreeInfo); 74 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 | RootRenderNode.h | 37 virtual void prepareTree(TreeInfo& info) override; 50 void runVectorDrawableAnimators(AnimationContext* context, TreeInfo& info);
|
D | AnimationContext.h | 94 ANDROID_API virtual void startFrame(TreeInfo::TraversalMode mode); 98 ANDROID_API virtual void runRemainingAnimations(TreeInfo& info);
|
D | Android.bp | 474 "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() 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 …]
|
D | RenderNodeDrawableTests.cpp | 338 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()
|
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 | 86 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()
|
D | SkiaDisplayList.h | 126 TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer, 127 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 | 313 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()
|
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/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 539 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()
|