Home | History | Annotate | Download | only in aapt

Lines Matching refs:transparent

132 static bool is_tick(png_bytep p, bool transparent, const char** outError)
134 if (transparent) {
139 *outError = "Frame pixels must be either solid or transparent (not intermediate alphas)";
143 *outError = "Ticks in transparent frame must be black";
168 png_bytep row, int width, bool transparent, bool required,
178 if (is_tick(row+i*4, transparent, outError)) {
217 png_bytepp rows, int offset, int height, bool transparent, bool required,
227 if (is_tick(rows[i]+offset, transparent, outError)) {
357 bool transparent = p[3] == 0;
373 if (!transparent &&
375 errorMsg = "Must have one-pixel frame that is either transparent or white";
380 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0],
388 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0],
396 if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft,
404 if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop,