Lines Matching refs:transparent
185 static int tick_type(png_bytep p, bool transparent, const char** outError) in tick_type() argument
189 if (transparent) { in tick_type()
238 png_bytep row, int width, bool transparent, bool required, in get_horizontal_ticks() argument
248 if (TICK_TYPE_TICK == tick_type(row+i*4, transparent, outError)) { in get_horizontal_ticks()
287 png_bytepp rows, int offset, int height, bool transparent, bool required, in get_vertical_ticks() argument
297 if (TICK_TYPE_TICK == tick_type(rows[i]+offset, transparent, outError)) { in get_vertical_ticks()
336 png_bytep row, int width, bool transparent, bool /* required */, in get_horizontal_layout_bounds_ticks() argument
343 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + 4, transparent, outError)) { in get_horizontal_layout_bounds_ticks()
349 int tick = tick_type(row + i * 4, transparent, outError); in get_horizontal_layout_bounds_ticks()
357 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(row + (width - 2) * 4, transparent, outError)) { in get_horizontal_layout_bounds_ticks()
363 int tick = tick_type(row+i*4, transparent, outError); in get_horizontal_layout_bounds_ticks()
374 png_bytepp rows, int offset, int height, bool transparent, bool /* required */, in get_vertical_layout_bounds_ticks() argument
381 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[1] + offset, transparent, outError)) { in get_vertical_layout_bounds_ticks()
387 int tick = tick_type(rows[i] + offset, transparent, outError); in get_vertical_layout_bounds_ticks()
395 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[height - 2] + offset, transparent, outError)) { in get_vertical_layout_bounds_ticks()
401 int tick = tick_type(rows[i] + offset, transparent, outError); in get_vertical_layout_bounds_ticks()
572 bool transparent = p[3] == 0; in do_9patch() local
588 if (!transparent && in do_9patch()
595 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0], in do_9patch()
603 if (get_vertical_ticks(image->rows, 0, H, transparent, true, &yDivs[0], in do_9patch()
615 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &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()
631 get_horizontal_layout_bounds_ticks(image->rows[H-1], W, transparent, false, in do_9patch()
635 get_vertical_layout_bounds_ticks(image->rows, (W-1)*4, H, transparent, false, in do_9patch()