Searched refs:layout_bounds (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | NinePatch.cpp | 221 const std::vector<Range>& layout_bounds, in PopulateBounds() argument 245 if (layout_bounds.size() > 2) { in PopulateBounds() 254 if (layout_bounds.size() >= 1) { in PopulateBounds() 255 const Range& range = layout_bounds.front(); in PopulateBounds() 267 if (layout_bounds.size() >= 2) { in PopulateBounds() 268 const Range& range = layout_bounds.back(); in PopulateBounds() 517 &nine_patch->padding.right, &nine_patch->layout_bounds.left, in Create() 518 &nine_patch->layout_bounds.right, "bottom", out_err)) { in Create() 530 &nine_patch->padding.bottom, &nine_patch->layout_bounds.top, in Create() 531 &nine_patch->layout_bounds.bottom, "right", out_err)) { in Create() [all …]
|
D | PngCrunch.cpp | 449 if (nine_patch->layout_bounds.nonZero()) { in WriteNinePatch()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Image.h | 140 Bounds layout_bounds; variable
|
/frameworks/base/libs/androidfw/tests/ |
D | NinePatch_test.cpp | 239 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST() 243 EXPECT_EQ(Bounds(1, 1, 0, 0), nine_patch->layout_bounds); in TEST() 251 EXPECT_EQ(Bounds(1, 1, 1, 1), nine_patch->layout_bounds); in TEST()
|