Home
last modified time | relevance | path

Searched refs:layout_bounds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DNinePatch.cpp220 const std::vector<Range>& layout_bounds, in PopulateBounds() argument
246 if (layout_bounds.size() > 2) { in PopulateBounds()
256 if (layout_bounds.size() >= 1) { in PopulateBounds()
257 const Range& range = layout_bounds.front(); in PopulateBounds()
270 if (layout_bounds.size() >= 2) { in PopulateBounds()
271 const Range& range = layout_bounds.back(); in PopulateBounds()
529 &nine_patch->layout_bounds.left, in Create()
530 &nine_patch->layout_bounds.right, "bottom", out_err)) { in Create()
543 &nine_patch->layout_bounds.top, in Create()
544 &nine_patch->layout_bounds.bottom, "right", out_err)) { in Create()
[all …]
DImage.h140 Bounds layout_bounds; variable
DNinePatch_test.cpp266 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
270 EXPECT_EQ(Bounds(1, 1, 0, 0), nine_patch->layout_bounds); in TEST()
279 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
DPngCrunch.cpp458 if (nine_patch->layout_bounds.nonZero()) { in WriteNinePatch()