/third_party/flutter/skia/src/shaders/ |
D | SkPictureShader.cpp | 209 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader() local 214 SkScalar tileArea = scaledSize.width() * scaledSize.height(); in refBitmapShader() 217 scaledSize.set(scaledSize.width() * clampScale, in refBitmapShader() 218 scaledSize.height() * clampScale); in refBitmapShader() 223 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in refBitmapShader() 224 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader() 225 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader() 226 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader() 231 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader()
|
/third_party/flutter/skia/src/android/ |
D | SkAnimatedImage.cpp | 22 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess) { in Make() argument 26 auto info = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()); in Make() 36 auto scaledSize = requestedInfo.dimensions(); in Make() local 39 || scaledSize.width() >= decodeInfo.width() in Make() 40 || scaledSize.height() >= decodeInfo.height()) { in Make() 46 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 62 const auto scaledSize = decodeInfo.dimensions(); in Make() local 63 const auto cropRect = SkIRect::MakeSize(scaledSize); in Make() 64 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 76 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, SkISize scaledSize, in SkAnimatedImage() argument [all …]
|
D | SkBitmapRegionCodec.cpp | 49 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() local 53 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() 59 int scaledOutWidth = scaledSize.width(); in decodeRegion() 60 int scaledOutHeight = scaledSize.height(); in decodeRegion()
|
/third_party/skia/src/android/ |
D | SkAnimatedImage.cpp | 68 auto scaledSize = requestedInfo.dimensions(); in SkAnimatedImage() local 78 fMatrix = SkEncodedOriginToMatrix(origin, scaledSize.width(), scaledSize.height()); in SkAnimatedImage() 84 scaledSize = { scaledSize.height(), scaledSize.width() }; in SkAnimatedImage() 88 auto decodeSize = scaledSize; in SkAnimatedImage() 96 if (scaledSize != fDecodeInfo.dimensions()) { in SkAnimatedImage() 97 float scaleX = (float) scaledSize.width() / fDecodeInfo.width(); in SkAnimatedImage() 98 float scaleY = (float) scaledSize.height() / fDecodeInfo.height(); in SkAnimatedImage()
|
/third_party/skia/client_utils/android/ |
D | BitmapRegionDecoder.cpp | 79 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() local 84 SkImageInfo::Make(scaledSize, dstColorType, dstAlphaType, dstColorSpace); in decodeRegion() 89 int scaledOutWidth = scaledSize.width(); in decodeRegion() 90 int scaledOutHeight = scaledSize.height(); in decodeRegion()
|
/third_party/flutter/skia/bench/ |
D | AndroidCodecBench.cpp | 33 SkISize scaledSize = codec->getSampledDimensions(fSampleSize); in onDelayedSetup() local 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup()
|
/third_party/skia/gm/ |
D | animated_image_orientation.cpp | 110 SkISize scaledSize = { SkScalarFloorToInt(unscaledSize.width() * scale) , in onDraw() local 112 info = info.makeDimensions(scaledSize); in onDraw() 114 auto cropRect = SkIRect::MakeSize(scaledSize); in onDraw() 117 SkRect::Make(scaledSize)); in onDraw()
|
/third_party/flutter/skia/src/codec/ |
D | SkSampledCodec.cpp | 92 SkISize scaledSize = this->getSampledDimensions(sampleSize); in onGetAndroidPixels() local 93 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() 104 const SkImageInfo scaledInfo = info.makeWH(scaledSize.width(), scaledSize.height()); in onGetAndroidPixels() 137 scaledSize.height()); in onGetAndroidPixels()
|
/third_party/skia/bench/ |
D | AndroidCodecBench.cpp | 33 SkISize scaledSize = codec->getSampledDimensions(fSampleSize); in onDelayedSetup() local 35 fInfo = codec->getInfo().makeDimensions(scaledSize).makeColorType(kN32_SkColorType); in onDelayedSetup()
|
/third_party/flutter/skia/include/android/ |
D | SkAnimatedImage.h | 49 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess); 157 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize,
|
/third_party/skia/src/codec/ |
D | SkSampledCodec.cpp | 88 SkISize scaledSize = this->getSampledDimensions(sampleSize); in onGetAndroidPixels() local 89 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() 100 const SkImageInfo scaledInfo = info.makeDimensions(scaledSize); in onGetAndroidPixels() 135 scaledSize.height()); in onGetAndroidPixels()
|
/third_party/flutter/engine/flutter/shell/platform/darwin/macos/framework/Source/ |
D | FlutterEngine.mm | 241 CGSize scaledSize = [view convertRectToBacking:view.bounds].size; 242 double pixelRatio = view.bounds.size.width == 0 ? 1 : scaledSize.width / view.bounds.size.width; 246 .width = static_cast<size_t>(scaledSize.width), 247 .height = static_cast<size_t>(scaledSize.height),
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTestLog.cpp | 304 IVec3 scaledSize = computeScaledSize(IVec3(width, height, depth), MAX_IMAGE_SIZE_3D); in writeImage() local 305 int w = scaledSize.x(); in writeImage() 306 int h = scaledSize.y(); in writeImage() 307 int d = scaledSize.z(); in writeImage()
|
/third_party/skia/tests/ |
D | AnimatedImageTest.cpp | 100 SkISize scaledSize; in DEF_TEST() member 139 auto image = SkAnimatedImage::Make(std::move(codec), info.makeDimensions(rec.scaledSize), in DEF_TEST()
|
/third_party/skia/src/shaders/ |
D | SkPictureShader.cpp | 183 const SkSize scaledSize = [&]() { in Make() local 213 const SkISize tileSize = scaledSize.toCeil(); in Make()
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/transformations/ |
D | transformations_demo_gesture_transformable.dart | 310 final Size scaledSize = widget.size / scale; 314 _boundaryRect.right - scaledSize.width, 315 _boundaryRect.bottom - scaledSize.height,
|