Home
last modified time | relevance | path

Searched refs:info9Patch (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt/
DImages.cpp59 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors); in serialize9patch()
70 Res_png_9patch info9Patch; member
566 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = in do_9patch()
567 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do_9patch()
612 image->info9Patch.numXDivs = numXDivs; in do_9patch()
613 image->info9Patch.numYDivs = numYDivs; in do_9patch()
616 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft, in do_9patch()
617 &image->info9Patch.paddingRight, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch()
618 errorPixel = image->info9Patch.paddingLeft; in do_9patch()
624 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
[all …]
/frameworks/base/libs/androidfw/
DPng.cpp49 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors.data()); in serialize9Patch()
59 Res_png_9patch info9Patch; member
520 unknowns[pIndex].size = info->info9Patch.serializedSize(); in writePng()
522 checkNinePatchSerialization(&info->info9Patch, unknowns[pIndex].data); in writePng()
948 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
949 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
993 image->info9Patch.numXDivs = numXDivs; in do9Patch()
994 image->info9Patch.numYDivs = numYDivs; in do9Patch()
997 if (!getHorizontalTicks(image->rows[H - 1], W, transparent, false, &image->info9Patch.paddingLeft, in do9Patch()
998 &image->info9Patch.paddingRight, &errorMsg, nullptr, false)) { in do9Patch()
[all …]