Searched refs:layout_bounds (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/tools/aapt2/compile/ |
H A D | NinePatch.cpp | 244 if (layout_bounds.size() > 2) { in PopulateBounds() 254 if (layout_bounds.size() >= 1) { in PopulateBounds() 268 if (layout_bounds.size() >= 2) { in PopulateBounds() 634 memcpy(cursor, &layout_bounds.left, sizeof(layout_bounds.left)); in SerializeLayoutBounds() 635 cursor += sizeof(layout_bounds.left); in SerializeLayoutBounds() 637 memcpy(cursor, &layout_bounds.top, sizeof(layout_bounds.top)); in SerializeLayoutBounds() 638 cursor += sizeof(layout_bounds.top); in SerializeLayoutBounds() 640 memcpy(cursor, &layout_bounds.right, sizeof(layout_bounds.right)); in SerializeLayoutBounds() 641 cursor += sizeof(layout_bounds.right); in SerializeLayoutBounds() 643 memcpy(cursor, &layout_bounds.bottom, sizeof(layout_bounds.bottom)); in SerializeLayoutBounds() [all …]
|
H A D | Image.h | 140 Bounds layout_bounds; variable
|
H A D | NinePatch_test.cpp | 266 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()
|
H A D | PngCrunch.cpp | 460 if (nine_patch->layout_bounds.nonZero()) { in WriteNinePatch()
|