Lines Matching refs:transparent

632 static TickType tickType(png_bytep p, bool transparent, const char** outError) {  in tickType()  argument
635 if (transparent) { in tickType()
682 static bool getHorizontalTicks(png_bytep row, int width, bool transparent, in getHorizontalTicks() argument
691 if (tickType(row + i * 4, transparent, outError) == TickType::kTick) { in getHorizontalTicks()
729 bool transparent, bool required, int32_t* outTop, in getVerticalTicks() argument
737 if (tickType(rows[i] + offset, transparent, outError) == TickType::kTick) { in getVerticalTicks()
775 bool transparent, in getHorizontalLayoutBoundsTicks() argument
782 if (tickType(row + 4, transparent, outError) == TickType::kLayoutBounds) { in getHorizontalLayoutBoundsTicks()
788 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
796 if (tickType(row + (width - 2) * 4, transparent, outError) == in getHorizontalLayoutBoundsTicks()
803 if (tickType(row + i * 4, transparent, outError) != in getHorizontalLayoutBoundsTicks()
813 int height, bool transparent, in getVerticalLayoutBoundsTicks() argument
820 if (tickType(rows[1] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
827 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
835 if (tickType(rows[height - 2] + offset, transparent, outError) == in getVerticalLayoutBoundsTicks()
842 if (tickType(rows[i] + offset, transparent, outError) != in getVerticalLayoutBoundsTicks()
1006 bool transparent = p[3] == 0; in do9Patch() local
1023 if (!transparent && in do9Patch()
1030 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1], in do9Patch()
1038 if (!getVerticalTicks(image->rows.data(), 0, H, transparent, true, &yDivs[0], in do9Patch()
1050 if (!getHorizontalTicks(image->rows[H - 1], W, transparent, false, in do9Patch()
1060 if (!getVerticalTicks(image->rows.data(), (W - 1) * 4, H, transparent, false, in do9Patch()
1070 getHorizontalLayoutBoundsTicks(image->rows[H - 1], W, transparent, false, in do9Patch()
1074 getVerticalLayoutBoundsTicks(image->rows.data(), (W - 1) * 4, H, transparent, in do9Patch()