Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DNinePatch.cpp221 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 …]
DPngCrunch.cpp449 if (nine_patch->layout_bounds.nonZero()) { in WriteNinePatch()
/frameworks/base/libs/androidfw/include/androidfw/
DImage.h140 Bounds layout_bounds; variable
/frameworks/base/libs/androidfw/tests/
DNinePatch_test.cpp239 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()