/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 37 (reinterpret_cast<RenderNode*>(renderNodePtr)->mutateStagingProperties().prop(val) \ 38 ? (reinterpret_cast<RenderNode*>(renderNodePtr)->setPropertyFieldsDirty(dirtyFlag), true) \ 46 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_output() 51 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getUsageSize() 56 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getAllocatedSize() 61 RenderNode* renderNode = new RenderNode(); in android_view_RenderNode_create() 71 static void releaseRenderNode(RenderNode* renderNode) { in releaseRenderNode() 81 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_discardDisplayList() 86 return reinterpret_cast<RenderNode*>(renderNodePtr)->isValid(); in android_view_RenderNode_isValid() 95 return SET_AND_DIRTY(mutateLayerProperties().setType, layerType, RenderNode::GENERIC); in android_view_RenderNode_setLayerType() [all …]
|
D | android_graphics_DisplayListCanvas.cpp | 76 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_createDisplayListCanvas() 83 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_resetDisplayListCanvas() 104 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_finishRecording() 110 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_drawRenderNode()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | RenderNodePerfTest.java | 20 import android.graphics.RenderNode; 36 final RenderNode node = RenderNode.create("benchmark", null); in testMeasureRenderNodeJniOverhead() 48 RenderNode.create(null, null); in testCreateRenderNodeNoName() 56 RenderNode.create("LinearLayout", null); in testCreateRenderNode() 63 RenderNode node = RenderNode.create("LinearLayout", null); in testIsValid() 72 RenderNode node = RenderNode.create("LinearLayout", null); in testStartEnd() 82 RenderNode[] nodes = new RenderNode[30]; in testStartEndDeepHierarchy() 84 nodes[i] = RenderNode.create("LinearLayout", null); in testStartEndDeepHierarchy() 100 RenderNode node = RenderNode.create("LinearLayout", null); in testHasIdentityMatrix() 109 RenderNode node = RenderNode.create("LinearLayout", null); in testSetOutline()
|
D | CanvasPerfTest.java | 24 import android.graphics.RenderNode; 43 RenderNode node = RenderNode.create("benchmark", null); in testBasicViewGroupDraw() 44 RenderNode child = RenderNode.create("child", null); in testBasicViewGroupDraw() 72 RenderNode node = RenderNode.create("benchmark", null); in testRecordSimpleBitmapView()
|
/frameworks/base/libs/hwui/ |
D | RenderNode.cpp | 51 void onMaybeRemovedFromTree(RenderNode* node) override { node->onRemovedFromTree(mTreeInfo); } in onMaybeRemovedFromTree() 62 RenderNode::RenderNode() in RenderNode() function in android::uirenderer::RenderNode 71 RenderNode::~RenderNode() { in ~RenderNode() 77 void RenderNode::setStagingDisplayList(DisplayList&& newData) { in setStagingDisplayList() 83 void RenderNode::discardStagingDisplayList() { in discardStagingDisplayList() 91 void RenderNode::output() { in output() 97 void RenderNode::output(std::ostream& output, uint32_t level) { in output() 112 int RenderNode::getUsageSize() { in getUsageSize() 113 int size = sizeof(RenderNode); in getUsageSize() 119 int RenderNode::getAllocatedSize() { in getAllocatedSize() [all …]
|
D | Animator.cpp | 83 void BaseRenderNodeAnimator::attach(RenderNode* target) { in attach() 155 RenderNode* oldTarget = mTarget; in pushStaging() 309 RenderNode::DirtyPropertyMask dirtyMask; 316 {RenderNode::TRANSLATION_X, &RenderProperties::getTranslationX, 318 {RenderNode::TRANSLATION_Y, &RenderProperties::getTranslationY, 320 {RenderNode::TRANSLATION_Z, &RenderProperties::getTranslationZ, 322 {RenderNode::SCALE_X, &RenderProperties::getScaleX, &RenderProperties::setScaleX}, 323 {RenderNode::SCALE_Y, &RenderProperties::getScaleY, &RenderProperties::setScaleY}, 324 {RenderNode::ROTATION, &RenderProperties::getRotation, &RenderProperties::setRotation}, 325 {RenderNode::ROTATION_X, &RenderProperties::getRotationX, &RenderProperties::setRotationX}, [all …]
|
D | Animator.h | 37 class RenderNode; variable 77 void attach(RenderNode* target); 96 RenderNode* target() { return mTarget; } in target() 97 RenderNode* stagingTarget() { return mStagingTarget; } in stagingTarget() 129 virtual float getValue(RenderNode* target) const = 0; 130 virtual void setValue(RenderNode* target, float value) = 0; 138 RenderNode* mTarget; 139 RenderNode* mStagingTarget; 204 virtual float getValue(RenderNode* target) const override; 205 virtual void setValue(RenderNode* target, float value) override; [all …]
|
D | LayerUpdateQueue.h | 31 class RenderNode; variable 38 Entry(RenderNode* renderNode, const Rect& damage) in Entry() 40 sp<RenderNode> renderNode; 45 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
|
D | RootRenderNode.h | 30 class RootRenderNode : public RenderNode { 33 : RenderNode(), mErrorHandler(std::move(errorHandler)) {} in RootRenderNode() 39 void attachAnimatingNode(RenderNode* animatingNode); 62 std::vector<sp<RenderNode> > mPendingAnimatingRenderNodes;
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | TvApp.cpp | 55 sp<RenderNode> mBg; 56 std::vector<sp<RenderNode>> mCards; 57 std::vector<sp<RenderNode>> mInfoAreas; 58 std::vector<sp<RenderNode>> mImages; 59 std::vector<sp<RenderNode>> mOverlays; 77 sp<RenderNode> card = createCard(x, y, dp(160), dp(160), isFirstCard); in createContent() 94 sp<RenderNode> createBitmapNode(Canvas& canvas, SkColor color, int left, int top, int width, in createBitmapNode() 106 sp<RenderNode> createSharedBitmapNode(Canvas& canvas, int left, int top, int width, int height, in createSharedBitmapNode() 114 sp<RenderNode> createInfoNode(Canvas& canvas, int left, int top, int width, int height, in createInfoNode() 132 sp<RenderNode> createColorNode(Canvas& canvas, int left, int top, int width, int height, in createColorNode() [all …]
|
D | ShadowShaderAnimation.cpp | 29 std::vector<sp<RenderNode> > cards; 36 sp<RenderNode> card = in createContent() 49 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame() 54 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
|
D | ShadowGrid2Animation.cpp | 29 std::vector<sp<RenderNode> > cards; 36 sp<RenderNode> card = createCard(x, y, dp(50), dp(50)); in createContent() 49 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame() 54 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
|
D | ShadowGridAnimation.cpp | 29 std::vector<sp<RenderNode> > cards; 36 sp<RenderNode> card = createCard(x, y, dp(100), dp(100)); in createContent() 49 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame() 54 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
|
D | SimpleGradientAnimation.cpp | 30 std::vector<sp<RenderNode> > cards; 34 sp<RenderNode> card = createCard(0, 0, width, height); in createContent() 43 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame() 48 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
|
D | SimpleColorMatrixAnimation.cpp | 33 std::vector<sp<RenderNode> > cards; 37 sp<RenderNode> card = createCard(0, 0, width, height); in createContent() 46 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame() 51 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
|
D | PartialDamageAnimation.cpp | 30 std::vector<sp<RenderNode> > cards; 41 sp<RenderNode> card = in createContent() 55 cards[0]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | LayerUpdateQueueTests.cpp | 33 static sp<RenderNode> createSyncedNode(uint32_t width, uint32_t height) { in createSyncedNode() 34 sp<RenderNode> node = TestUtils::createNode(0, 0, width, height, nullptr); in createSyncedNode() 40 sp<RenderNode> a = createSyncedNode(100, 100); in TEST() 41 sp<RenderNode> b = createSyncedNode(200, 200); in TEST() 42 sp<RenderNode> c = createSyncedNode(200, 200); in TEST() 60 sp<RenderNode> a = createSyncedNode(100, 100); in TEST() 73 sp<RenderNode> a = createSyncedNode(100, 100); in TEST()
|
D | SkiaDisplayListTests.cpp | 78 sp<RenderNode> renderNode = new RenderNode(); in TEST() 166 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 177 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 181 sp<RenderNode> renderNode = new RenderNode(); in RENDERTHREAD_SKIA_PIPELINE_TEST() 188 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, in RENDERTHREAD_SKIA_PIPELINE_TEST() 236 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 260 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 280 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 302 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 324 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument [all …]
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 131 virtual void onMaybeRemovedFromTree(RenderNode* node) {} in onMaybeRemovedFromTree() 162 static sp<RenderNode> createNode( in createNode() 165 sp<RenderNode> node = new RenderNode(); in createNode() 179 static sp<RenderNode> createNode( in createNode() 182 sp<RenderNode> node = new RenderNode(); in createNode() 194 static void recordNode(RenderNode& node, std::function<void(Canvas&)> contentCallback) { in recordNode() 201 static sp<RenderNode> createSkiaNode( 207 sp<RenderNode> node = new RenderNode(); 235 static void syncHierarchyPropertiesAndDisplayList(sp<RenderNode>& node) { in syncHierarchyPropertiesAndDisplayList() 239 static sp<RenderNode>& getSyncedNode(sp<RenderNode>& node) { in getSyncedNode() [all …]
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 68 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 79 bool createOrUpdateLayer(RenderNode* node, const DamageAccumulator& dmgAccumulator, in createOrUpdateLayer() 138 void prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, RenderNode* target); 145 void prepareAndDraw(RenderNode* node); 147 void buildLayer(RenderNode* node); 148 void markLayerInUse(RenderNode* node); 165 void addRenderNode(RenderNode* node, bool placeFront); 166 void removeRenderNode(RenderNode* node); 221 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 304 std::vector<sp<RenderNode>> mRenderNodes; [all …]
|
D | RenderProxy.h | 40 class RenderNode; variable 67 RenderProxy(bool opaque, RenderNode* rootNode, IContextFactory* contextFactory); 92 void buildLayer(RenderNode* node); 120 void addRenderNode(RenderNode* node, bool placeFront); 121 void removeRenderNode(RenderNode* node); 122 void drawRenderNode(RenderNode* node);
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | VariableFontPerfTest.java | 21 import android.graphics.RenderNode; 61 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_SetVariationOnce() 81 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_SetVariationEachDraw() 102 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_SetDifferentVariationEachDraw()
|
D | StaticLayoutPerfTest.java | 21 import android.graphics.RenderNode; 278 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_FixedText_NoStyled() 294 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_Styled() 311 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_NoStyled() 328 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_Styled_WithoutCache() 346 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_NoStyled_WithoutCache() 364 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_Styled() 382 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_NoStyled() 400 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_Styled_WithoutCache() 419 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_NoStyled_WithoutCache()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.h | 29 class RenderNode; variable 51 explicit RenderNodeDrawable(RenderNode* node, SkCanvas* canvas, bool composeLayer = true, 71 RenderNode* getRenderNode() const { return mRenderNode.get(); } in getRenderNode() 106 sp<RenderNode> mRenderNode;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MyLittleTextureView.java | 28 import android.graphics.RenderNode; 36 private RenderNode mContent = new RenderNode("CustomRenderer"); 55 RenderNode childNode = new RenderNode("shadowCaster"); in onCreate()
|