Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DVectorDrawable.cpp421 int scaledHeight = (int) (bounds.height() * canvasScaleY); in draw() local
423 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight); in draw()
425 if (scaledWidth <= 0 || scaledHeight <= 0) { in draw()
429 mStagingProperties.setScaledSize(scaledWidth, scaledHeight); in draw()
448 return scaledWidth * scaledHeight; in draw()
502 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); in updateCache() local
503 auto atlasEntry = atlas->requestNewEntry(scaledWidth, scaledHeight, context); in updateCache()
575 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); in draw() local
576 SkRect src = SkRect::MakeWH(scaledWidth, scaledHeight); in draw()
582 SkImageInfo info = SkImageInfo::MakeN32(scaledWidth, scaledHeight, kPremul_SkAlphaType, in draw()
DVectorDrawable.h584 int scaledHeight = 0; member
626 || mNonAnimatableProperties.scaledHeight < height) { in setScaledSize()
629 mNonAnimatableProperties.scaledHeight = std::max(height, in setScaledSize()
630 mNonAnimatableProperties.scaledHeight); in setScaledSize()
655 return mNonAnimatableProperties.scaledHeight; in getScaledHeight()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java149 int scaledHeight = (int) (ratio * originalHeight); in buildScaledBitmap() local
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888); in buildScaledBitmap()
154 drawable.setBounds(0, 0, scaledWidth, scaledHeight); in buildScaledBitmap()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp126 int scaledWidth, int scaledHeight) { in scaleNinePatchChunk() argument
133 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight); in scaleNinePatchChunk()
302 int scaledHeight = size.height(); in doDecode() local
309 scaledHeight = codec->getInfo().height() / sampleSize; in doDecode()
325 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); in doDecode()
348 scaledHeight = static_cast<int>(scaledHeight * scale + 0.5f); in doDecode()
434 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); in doDecode()
476 const float sy = scaledHeight / float(decodingBitmap.height()); in doDecode()
491 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType)); in doDecode()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java167 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale); in createBitmapCache() local
172 scaledHeight, in createBitmapCache()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java312 int scaledHeight = (int) (mTmpBounds.height() * canvasScaleY); in draw() local
314 scaledHeight = Math.min(MAX_CACHED_BITMAP_SIZE, scaledHeight); in draw()
316 if (scaledWidth <= 0 || scaledHeight <= 0) { in draw()
335 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); in draw()
337 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); in draw()
340 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); in draw()