Home
last modified time | relevance | path

Searched refs:max_alpha (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DNinePatch.cpp422 uint32_t max_alpha = 0; in FindOutlineInsets() local
423 for (int32_t i = 0; i < mid1 && max_alpha != 0xff; i++) { in FindOutlineInsets()
425 if (alpha > max_alpha) { in FindOutlineInsets()
426 max_alpha = alpha; in FindOutlineInsets()
431 max_alpha = 0; in FindOutlineInsets()
432 for (int32_t i = length - 1; i >= mid2 && max_alpha != 0xff; i--) { in FindOutlineInsets()
434 if (alpha > max_alpha) { in FindOutlineInsets()
435 max_alpha = alpha; in FindOutlineInsets()
445 uint32_t max_alpha = 0; in FindMaxAlpha() local
446 for (int32_t idx = 0; idx < length && max_alpha != 0xff; idx++) { in FindMaxAlpha()
[all …]
/frameworks/base/tools/aapt/
DImages.cpp431 uint8_t max_alpha = 0; in max_alpha_over_row() local
434 if (alpha > max_alpha) max_alpha = alpha; in max_alpha_over_row()
436 return max_alpha; in max_alpha_over_row()
441 uint8_t max_alpha = 0; in max_alpha_over_col() local
444 if (alpha > max_alpha) max_alpha = alpha; in max_alpha_over_col()
446 return max_alpha; in max_alpha_over_col()