Home
last modified time | relevance | path

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

/external/skia/src/ports/
DSkImageGeneratorWIC.cpp33 IWICBitmapSource* imageSource, sk_sp<SkData>);
83 SkTScopedComPtr<IWICBitmapSource> imageSource; in MakeFromEncodedWIC() local
84 hr = imageFrame->QueryInterface(IID_PPV_ARGS(&imageSource)); in MakeFromEncodedWIC()
92 hr = imageSource->GetSize(&width, &height); in MakeFromEncodedWIC()
99 hr = imageSource->GetPixelFormat(&format); in MakeFromEncodedWIC()
153 new ImageGeneratorWIC(info, imagingFactory.release(), imageSource.release(), in MakeFromEncodedWIC()
158 IWICImagingFactory* imagingFactory, IWICBitmapSource* imageSource, sk_sp<SkData> data) in ImageGeneratorWIC() argument
161 , fImageSource(imageSource) in ImageGeneratorWIC()
/external/skqp/src/ports/
DSkImageGeneratorWIC.cpp33 IWICBitmapSource* imageSource, sk_sp<SkData>);
83 SkTScopedComPtr<IWICBitmapSource> imageSource; in MakeFromEncodedWIC() local
84 hr = imageFrame->QueryInterface(IID_PPV_ARGS(&imageSource)); in MakeFromEncodedWIC()
92 hr = imageSource->GetSize(&width, &height); in MakeFromEncodedWIC()
99 hr = imageSource->GetPixelFormat(&format); in MakeFromEncodedWIC()
153 new ImageGeneratorWIC(info, imagingFactory.release(), imageSource.release(), in MakeFromEncodedWIC()
158 IWICImagingFactory* imagingFactory, IWICBitmapSource* imageSource, sk_sp<SkData> data) in ImageGeneratorWIC() argument
161 , fImageSource(imageSource) in ImageGeneratorWIC()
/external/skqp/gm/
Dcrbug_905548.cpp24 auto imageSource = SkImageSource::Make(surface->makeImageSnapshot()); variable
26 auto blurred = SkBlurImageFilter::Make(15, 15, imageSource);
28 auto blended = SkXfermodeImageFilter::Make(SkBlendMode::kDstOut, eroded, imageSource, nullptr);
34 auto mult = SkArithmeticImageFilter::Make(1, 0, 0, 0, false, eroded, imageSource, nullptr);
Dimagesource.cpp53 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fImage)); in onDraw() local
54 fill_rect_filtered(canvas, clipRect, std::move(imageSource)); in onDraw()
Dimagemagnifier.cpp71 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(std::move(image))); in DEF_SIMPLE_GM_BG() local
85 std::move(imageSource), in DEF_SIMPLE_GM_BG()
Dbigtileimagefilter.cpp58 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fRedImage)); in onDraw() local
63 std::move(imageSource))); in onDraw()
Dimagealphathreshold.cpp187 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(image));
189 std::move(imageSource)));
Dfilterfastbounds.cpp267 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(std::move(image))); in onDraw() local
269 create_paints(&bmsPaints, std::move(imageSource)); in onDraw()
/external/skia/gm/
Dcrbug_905548.cpp24 auto imageSource = SkImageSource::Make(surface->makeImageSnapshot()); variable
26 auto blurred = SkBlurImageFilter::Make(15, 15, imageSource);
28 auto blended = SkXfermodeImageFilter::Make(SkBlendMode::kDstOut, eroded, imageSource, nullptr);
34 auto mult = SkArithmeticImageFilter::Make(1, 0, 0, 0, false, eroded, imageSource, nullptr);
Dimagesource.cpp53 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fImage)); in onDraw() local
54 fill_rect_filtered(canvas, clipRect, std::move(imageSource)); in onDraw()
Dimagemagnifier.cpp71 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(std::move(image))); in DEF_SIMPLE_GM_BG() local
85 std::move(imageSource), in DEF_SIMPLE_GM_BG()
Dbigtileimagefilter.cpp58 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(fRedImage)); in onDraw() local
63 std::move(imageSource))); in onDraw()
Dimagealphathreshold.cpp189 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(image));
191 std::move(imageSource)));
Dfilterfastbounds.cpp267 sk_sp<SkImageFilter> imageSource(SkImageSource::Make(std::move(image))); in onDraw() local
269 create_paints(&bmsPaints, std::move(imageSource)); in onDraw()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java379 public final void setImage(ImageSource imageSource) { in setImage() argument
380 setImage(imageSource, null, null); in setImage()
390 public final void setImage(ImageSource imageSource, ImageViewState state) { in setImage() argument
391 setImage(imageSource, null, state); in setImage()
404 public final void setImage(ImageSource imageSource, ImageSource previewSource) { in setImage() argument
405 setImage(imageSource, previewSource, null); in setImage()
421 …public final void setImage(ImageSource imageSource, ImageSource previewSource, ImageViewState stat… in setImage() argument
422 if (imageSource == null) { in setImage()
430 if (imageSource.getBitmap() != null) { in setImage()
433 if (imageSource.getSWidth() <= 0 || imageSource.getSHeight() <= 0) { in setImage()
[all …]