Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp154 std::optional<SkPaint> lazyPaint; in onDraw() local
156 lazyPaint.emplace(); in onDraw()
157 lazyPaint->setAlpha(mProperties.mAlpha); in onDraw()
158 lazyPaint->setColorFilter(mProperties.mColorFilter); in onDraw()
170 if (lazyPaint) { in onDraw()
175 canvas->saveLayer(r, &*lazyPaint); in onDraw()
220 canvas->drawPicture(mSnapshot.mPic, nullptr, lazyPaint ? &*lazyPaint : nullptr); in onDraw()