/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 36 (reinterpret_cast<RenderNode*>(renderNodePtr)->mutateStagingProperties().prop(val) \ 37 ? (reinterpret_cast<RenderNode*>(renderNodePtr)->setPropertyFieldsDirty(dirtyFlag), true) \ 45 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_output() 50 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getUsageSize() 55 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getAllocatedSize() 60 RenderNode* renderNode = new RenderNode(); in android_view_RenderNode_create() 70 static void releaseRenderNode(RenderNode* renderNode) { in releaseRenderNode() 81 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_setDisplayList() 87 return reinterpret_cast<RenderNode*>(renderNodePtr)->isValid(); in android_view_RenderNode_isValid() 96 return SET_AND_DIRTY(mutateLayerProperties().setType, layerType, RenderNode::GENERIC); in android_view_RenderNode_setLayerType() [all …]
|
/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 | 50 void onMaybeRemovedFromTree(RenderNode* node) override { node->onRemovedFromTree(mTreeInfo); } in onMaybeRemovedFromTree() 61 RenderNode::RenderNode() in RenderNode() function in android::uirenderer::RenderNode 70 RenderNode::~RenderNode() { in ~RenderNode() 77 void RenderNode::setStagingDisplayList(DisplayList* displayList) { in setStagingDisplayList() 88 void RenderNode::output() { in output() 94 void RenderNode::output(std::ostream& output, uint32_t level) { in output() 111 int RenderNode::getUsageSize() { in getUsageSize() 112 int size = sizeof(RenderNode); in getUsageSize() 122 int RenderNode::getAllocatedSize() { in getAllocatedSize() 123 int size = sizeof(RenderNode); in getAllocatedSize() [all …]
|
D | Animator.cpp | 83 void BaseRenderNodeAnimator::attach(RenderNode* target) { in attach() 155 RenderNode* oldTarget = mTarget; in pushStaging() 311 RenderNode::DirtyPropertyMask dirtyMask; 318 {RenderNode::TRANSLATION_X, &RenderProperties::getTranslationX, 320 {RenderNode::TRANSLATION_Y, &RenderProperties::getTranslationY, 322 {RenderNode::TRANSLATION_Z, &RenderProperties::getTranslationZ, 324 {RenderNode::SCALE_X, &RenderProperties::getScaleX, &RenderProperties::setScaleX}, 325 {RenderNode::SCALE_Y, &RenderProperties::getScaleY, &RenderProperties::setScaleY}, 326 {RenderNode::ROTATION, &RenderProperties::getRotation, &RenderProperties::setRotation}, 327 {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 ANDROID_API RootRenderNode : public RenderNode { 33 : RenderNode(), mErrorHandler(std::move(errorHandler)) {} in RootRenderNode() 39 ANDROID_API 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 | 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 | 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 | 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 | 75 sp<RenderNode> renderNode = new RenderNode(); in TEST() 167 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 178 [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument 182 sp<RenderNode> renderNode = new RenderNode(); in RENDERTHREAD_SKIA_PIPELINE_TEST() 189 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, 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 325 observer, info, false, [](RenderNode*, TreeObserver&, TreeInfo&, bool) {})); in RENDERTHREAD_SKIA_PIPELINE_TEST() argument [all …]
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 66 static CanvasContext* create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 77 bool createOrUpdateLayer(RenderNode* node, const DamageAccumulator& dmgAccumulator, in createOrUpdateLayer() 124 void prepareTree(TreeInfo& info, int64_t* uiFrameInfo, int64_t syncQueued, RenderNode* target); 130 void prepareAndDraw(RenderNode* node); 132 void buildLayer(RenderNode* node); 133 void markLayerInUse(RenderNode* node); 150 void addRenderNode(RenderNode* node, bool placeFront); 151 void removeRenderNode(RenderNode* node); 201 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, 262 std::vector<sp<RenderNode>> mRenderNodes; [all …]
|
D | RenderProxy.h | 38 class RenderNode; variable 65 ANDROID_API RenderProxy(bool opaque, RenderNode* rootNode, IContextFactory* contextFactory); 89 ANDROID_API void buildLayer(RenderNode* node); 114 ANDROID_API void addRenderNode(RenderNode* node, bool placeFront); 115 ANDROID_API void removeRenderNode(RenderNode* node); 116 ANDROID_API void drawRenderNode(RenderNode* node);
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 21 import android.graphics.RenderNode; 263 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_FixedText_NoStyled() 279 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_Styled() 296 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_NoStyled() 313 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_Styled_WithoutCache() 331 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_RandomText_NoStyled_WithoutCache() 349 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_Styled() 367 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_NoStyled() 385 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_Styled_WithoutCache() 404 final RenderNode node = RenderNode.create("benchmark", null); in testDraw_PrecomputedText_NoStyled_WithoutCache()
|
D | CanvasDrawTextTest.java | 19 import android.graphics.RenderNode; 55 final RenderNode node = RenderNode.create("benchmark", null); in drawText_LongText_SmallWindow() 56 final RenderNode child = RenderNode.create("child", null); in drawText_LongText_SmallWindow()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 133 virtual void onMaybeRemovedFromTree(RenderNode* node) {} in onMaybeRemovedFromTree() 172 static sp<RenderNode> createNode( in createNode() 175 sp<RenderNode> node = new RenderNode(); in createNode() 189 static sp<RenderNode> createNode( in createNode() 192 sp<RenderNode> node = new RenderNode(); in createNode() 204 static void recordNode(RenderNode& node, std::function<void(Canvas&)> contentCallback) { in recordNode() 211 static sp<RenderNode> createSkiaNode( 216 sp<RenderNode> node = new RenderNode(); 244 static void syncHierarchyPropertiesAndDisplayList(sp<RenderNode>& node) { in syncHierarchyPropertiesAndDisplayList() 248 static sp<RenderNode>& getSyncedNode(sp<RenderNode>& node) { in getSyncedNode() [all …]
|
/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()
|
/frameworks/base/core/java/android/view/ |
D | ViewAnimationHostBridge.java | 19 import android.graphics.RenderNode; 26 public class ViewAnimationHostBridge implements RenderNode.AnimationHost { 37 public void registerAnimatingRenderNode(RenderNode animator) { in registerAnimatingRenderNode()
|