Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp118 int scaledWidth, int scaledHeight) { in scaleNinePatchChunk() argument
125 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight); in scaleNinePatchChunk()
298 int scaledHeight = size.height(); in doDecode() local
305 scaledHeight = codec->getInfo().height() / sampleSize; in doDecode()
315 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); in doDecode()
327 scaledHeight = static_cast<int>(scaledHeight * scale + 0.5f); in doDecode()
429 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); in doDecode()
469 const float sy = scaledHeight / float(decodingBitmap.height()); in doDecode()
483 outputBitmap.setInfo(SkImageInfo::Make(scaledWidth, scaledHeight, in doDecode()
/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/libs/hwui/
DVectorDrawable.cpp480 int scaledHeight = (int) (bounds.height() * canvasScaleY); in draw() local
482 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight); in draw()
484 if (scaledWidth <= 0 || scaledHeight <= 0) { in draw()
488 mStagingProperties.setScaledSize(scaledWidth, scaledHeight); in draw()
507 return scaledWidth * scaledHeight; in draw()
DVectorDrawable.h587 int scaledHeight = 0; member
629 || mNonAnimatableProperties.scaledHeight < height) { in setScaledSize()
632 mNonAnimatableProperties.scaledHeight = std::max(height, in setScaledSize()
633 mNonAnimatableProperties.scaledHeight); in setScaledSize()
658 return mNonAnimatableProperties.scaledHeight; in getScaledHeight()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java166 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale); in createBitmapCache() local
171 scaledHeight, in createBitmapCache()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java311 int scaledHeight = (int) (mTmpBounds.height() * canvasScaleY); in draw() local
313 scaledHeight = Math.min(MAX_CACHED_BITMAP_SIZE, scaledHeight); in draw()
315 if (scaledWidth <= 0 || scaledHeight <= 0) { in draw()
334 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); in draw()
336 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); in draw()
339 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); in draw()