Lines Matching refs:transparent
631 static TickType tickType(png_bytep p, bool transparent, const char** outError) { in tickType() argument
634 if (transparent) { in tickType()
681 static bool getHorizontalTicks(png_bytep row, int width, bool transparent, in getHorizontalTicks() argument
690 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
728 bool transparent, bool required, int32_t* outTop, in getVerticalTicks() argument
736 if (tickType(rows[i] + offset, transparent, outError) == TickType::kTick) { in getVerticalTicks()
774 bool transparent, in getHorizontalLayoutBoundsTicks() argument
781 if (tickType(row + 4, transparent, outError) == TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
787 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
795 if (tickType(row + (width - 2) * 4, transparent, outError) == in getHorizontalLayoutBoundsTicks()
802 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
812 int height, bool transparent, in getVerticalLayoutBoundsTicks() argument
819 if (tickType(rows[1] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
826 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
834 if (tickType(rows[height - 2] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
841 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
1005 bool transparent = p[3] == 0; in do9Patch() local
1022 if (!transparent && in do9Patch()
1029 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1], in do9Patch()
1037 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0], in do9Patch()
1049 if (!getHorizontalTicks(image->rows[H - 1], W, transparent, false, in do9Patch()
1059 if (!getVerticalTicks(image->rows.data(), (W - 1) * 4, H, transparent, false, in do9Patch()
1069 getHorizontalLayoutBoundsTicks(image->rows[H - 1], W, transparent, false, in do9Patch()
1073 getVerticalLayoutBoundsTicks(image->rows.data(), (W - 1) * 4, H, transparent, in do9Patch()