Searched refs:newBounds (Results 1 – 1 of 1) sorted by relevance
/test/testfwk/arkxtest/uitest/core/ |
D | ui_model.cpp | 293 auto newBounds = Rect(0, 0, 0, 0); in ConstructFromDom() local 295 newBounds = bounds; in ConstructFromDom() 297 newBounds = Rect(0, 0, 0, 0); // parent was discarded in ConstructFromDom() 301 if (!RectAlgorithm::ComputeIntersection(bounds, parentBounds, newBounds)) { in ConstructFromDom() 302 newBounds = Rect(0, 0, 0, 0); in ConstructFromDom() 305 if (!RectAlgorithm::CheckEqual(newBounds, bounds)) { in ConstructFromDom() 306 widget.SetBounds(newBounds); in ConstructFromDom() 309 if (!amendBounds || (newBounds.GetWidth() > 0 && newBounds.GetHeight() > 0)) { in ConstructFromDom()
|