Lines Matching refs:transparent
182 static int tick_type(png_bytep p, bool transparent, const char** outError) in tick_type() argument
186 if (transparent) { in tick_type()
235 png_bytep row, int width, bool transparent, bool required, in get_horizontal_ticks() argument
245 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) { in get_horizontal_ticks()
284 png_bytepp rows, int offset, int height, bool transparent, bool required, in get_vertical_ticks() argument
294 if (TICK_TYPE_TICK == tick_type(rows[i]+offset, transparent, outError)) { in get_vertical_ticks()
333 png_bytep row, int width, bool transparent, bool required, in get_horizontal_layout_bounds_ticks() argument
340 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + 4, transparent, outError)) { in get_horizontal_layout_bounds_ticks()
346 int tick = tick_type(row + i * 4, transparent, outError); in get_horizontal_layout_bounds_ticks()
354 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + (width - 2) * 4, transparent, outError)) { in get_horizontal_layout_bounds_ticks()
360 int tick = tick_type(row+i*4, transparent, outError); in get_horizontal_layout_bounds_ticks()
371 png_bytepp rows, int offset, int height, bool transparent, bool required, in get_vertical_layout_bounds_ticks() argument
378 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[1] + offset, transparent, outError)) { in get_vertical_layout_bounds_ticks()
384 int tick = tick_type(rows[i] + offset, transparent, outError); in get_vertical_layout_bounds_ticks()
392 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[height - 2] + offset, transparent, outError)) { in get_vertical_layout_bounds_ticks()
398 int tick = tick_type(rows[i] + offset, transparent, outError); in get_vertical_layout_bounds_ticks()
602 bool transparent = p[3] == 0; in do_9patch() local
618 if (!transparent && in do_9patch()
625 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0], in do_9patch()
633 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], in do_9patch()
645 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft, in do_9patch()
653 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
661 get_horizontal_layout_bounds_ticks(image->rows[H-1], W, transparent, false, in do_9patch()
665 get_vertical_layout_bounds_ticks(image->rows, (W-1)*4, H, transparent, false, in do_9patch()