Searched refs:layerAlpha (Results 1 – 3 of 3) sorted by relevance
163 int layerAlpha; in draw() local167 layerAlpha = (int) ((opacity / 100f * parentAlpha / 255f) * 255); in draw()169 layerAlpha = parentAlpha; in draw()173 …eDrawable.isApplyingOpacityToLayersEnabled() && hasTwoOrMoreDrawableContent() && layerAlpha != 255; in draw()177 offScreenPaint.setAlpha(layerAlpha); in draw()181 int childAlpha = isRenderingWithOffScreen ? 255 : layerAlpha; in draw()
85 const int layerAlpha[] = { 255, 255, 0 }; in DEF_TEST() local91 REPORTER_ASSERT(reporter, sizeof(layerAlpha) == sizeof(flags)); in DEF_TEST()120 for (size_t k = 0; k < SK_ARRAY_COUNT(layerAlpha); ++k) { in DEF_TEST()122 if (layerAlpha[k] != 0xFF) { in DEF_TEST()123 paint.init()->setAlpha(layerAlpha[k]); in DEF_TEST()
127 const int layerAlpha[] = { 255, 255, 0 }; in DEF_TEST() local154 for (size_t k = 0; k < SK_ARRAY_COUNT(layerAlpha); ++k) { in DEF_TEST()156 if (layerAlpha[k] != 0xFF) { in DEF_TEST()157 paint.init()->setAlpha(layerAlpha[k]); in DEF_TEST()