Searched refs:scaledSize (Results 1 – 8 of 8) sorted by relevance
/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/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/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/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/vk-gl-cts/framework/common/ |
D | tcuTestLog.cpp | 300 IVec3 scaledSize = computeScaledSize(IVec3(width, height, depth), MAX_IMAGE_SIZE_3D); in writeImage() local 301 int w = scaledSize.x(); in writeImage() 302 int h = scaledSize.y(); in writeImage() 303 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()
|