Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DImages.cpp58 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors); in serialize9patch()
69 Res_png_9patch info9Patch; member
565 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = in do_9patch()
566 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do_9patch()
611 image->info9Patch.numXDivs = numXDivs; in do_9patch()
612 image->info9Patch.numYDivs = numYDivs; in do_9patch()
615 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft, in do_9patch()
616 &image->info9Patch.paddingRight, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch()
617 errorPixel = image->info9Patch.paddingLeft; in do_9patch()
623 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
[all …]
/frameworks/base/tools/aapt2/compile/
DPng.cpp51 void* serialized = android::Res_png_9patch::serialize(info9Patch, xDivs, in serialize9Patch()
62 android::Res_png_9patch info9Patch; member
544 unknowns[pIndex].size = info->info9Patch.serializedSize(); in writePng()
546 checkNinePatchSerialization(&info->info9Patch, unknowns[pIndex].data); in writePng()
1000 image->info9Patch.paddingLeft = image->info9Patch.paddingRight = -1; in do9Patch()
1001 image->info9Patch.paddingTop = image->info9Patch.paddingBottom = -1; in do9Patch()
1046 image->info9Patch.numXDivs = numXDivs; in do9Patch()
1047 image->info9Patch.numYDivs = numYDivs; in do9Patch()
1051 &image->info9Patch.paddingLeft, in do9Patch()
1052 &image->info9Patch.paddingRight, &errorMsg, nullptr, in do9Patch()
[all …]