Searched refs:hasParents (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeTests.cpp41 TEST(RenderNode, hasParents) {
53 EXPECT_TRUE(child->hasParents()) << "Child node has no parent";
54 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
60 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent";
61 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
65 EXPECT_FALSE(child->hasParents()) << "Child should be removed";
66 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
/frameworks/base/libs/hwui/
H A DRenderNode.h237 ANDROID_API bool hasParents() { function in class:android::uirenderer::RenderNode
397 if (!node->hasParents()) {

Completed in 100 milliseconds