Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/apex/
Dandroid_paint.cpp47 static sk_sp<SkImageFilter> convertImageFilter(AImageFilter imageFilter) { in convertImageFilter() argument
48 switch (imageFilter) { in convertImageFilter()
63 void APaint_setImageFilter(APaint* paint, AImageFilter imageFilter) { in APaint_setImageFilter() argument
64 TypeCast::toPaint(paint)->setImageFilter(convertImageFilter(imageFilter)); in APaint_setImageFilter()
/frameworks/base/libs/hwui/apex/include/android/graphics/
Dpaint.h53 ANDROID_API void APaint_setImageFilter(APaint* paint, AImageFilter imageFilter);
67 void setImageFilter(AImageFilter imageFilter) { in setImageFilter() argument
68 APaint_setImageFilter(mPaint, imageFilter); in setImageFilter()
/frameworks/base/libs/hwui/
DRenderProperties.cpp52 bool LayerProperties::setImageFilter(SkImageFilter* imageFilter) { in setImageFilter() argument
53 if(mImageFilter.get() == imageFilter) return false; in setImageFilter()
54 mImageFilter = sk_ref_sp(imageFilter); in setImageFilter()
58 bool LayerProperties::setBackdropImageFilter(SkImageFilter* imageFilter) { in setBackdropImageFilter() argument
59 if (mBackdropImageFilter.get() == imageFilter) return false; in setBackdropImageFilter()
60 mBackdropImageFilter = sk_ref_sp(imageFilter); in setBackdropImageFilter()
DRenderNode.cpp348 const SkImageFilter* imageFilter, in updateSnapshotIfRequired() argument
361 if (imageFilter == nullptr) { in updateSnapshotIfRequired()
368 } else if (mSnapshotResult.snapshot == nullptr || imageFilter != mTargetImageFilter.get() || in updateSnapshotIfRequired()
375 context, snapshot, imageFilter, subset, clipBounds, &mSnapshotResult.outSubset, in updateSnapshotIfRequired()
381 snapshot, imageFilter, subset, clipBounds, &mSnapshotResult.outSubset, in updateSnapshotIfRequired()
384 mTargetImageFilter = sk_ref_sp(imageFilter); in updateSnapshotIfRequired()
DRenderProperties.h95 bool setImageFilter(SkImageFilter* imageFilter);
97 bool setBackdropImageFilter(SkImageFilter* imageFilter);
DRenderNode.h364 const SkImageFilter* imageFilter,
/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp249 auto* imageFilter = layerProperties.getImageFilter(); in drawContent() local
261 if (imageFilter) { in drawContent()
267 recordingContext, snapshotImage, imageFilter, subset, in drawContent()
272 snapshotImage = SkImages::MakeWithFilter(snapshotImage, imageFilter, subset, in drawContent()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp240 SkImageFilter* imageFilter = reinterpret_cast<SkImageFilter*>(renderEffectPtr); in android_view_RenderNode_setRenderEffect() local
241 return SET_AND_DIRTY(mutateLayerProperties().setImageFilter, imageFilter, RenderNode::GENERIC); in android_view_RenderNode_setRenderEffect()
246 SkImageFilter* imageFilter = reinterpret_cast<SkImageFilter*>(renderEffectPtr); in android_view_RenderNode_setBackdropRenderEffect() local
247 return SET_AND_DIRTY(mutateLayerProperties().setBackdropImageFilter, imageFilter, in android_view_RenderNode_setBackdropRenderEffect()