Searched refs:scaledHeight (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/hwui/ |
D | VectorDrawable.cpp | 422 int scaledHeight = (int)(bounds.height() * canvasScaleY); in draw() local 424 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight); in draw() 426 if (scaledWidth <= 0 || scaledHeight <= 0) { in draw() 430 mStagingProperties.setScaledSize(scaledWidth, scaledHeight); in draw() 449 return scaledWidth * scaledHeight; in draw() 496 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); in updateCache() local 497 auto atlasEntry = atlas->requestNewEntry(scaledWidth, scaledHeight, context); in updateCache() 566 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); in draw() local 567 canvas->drawBitmapRect(skiaBitmap, SkRect::MakeWH(scaledWidth, scaledHeight), bounds, in draw() 586 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); in draw() local [all …]
|
D | VectorDrawable.h | 528 (mProperties.mNonAnimatableProperties.scaledHeight != in syncProperties() 529 mStagingProperties.mNonAnimatableProperties.scaledHeight) || in syncProperties() 555 int scaledHeight = 0; member 593 mNonAnimatableProperties.scaledHeight < height) { in setScaledSize() 596 mNonAnimatableProperties.scaledHeight = in setScaledSize() 597 std::max(height, mNonAnimatableProperties.scaledHeight); in setScaledSize() 614 float getScaledHeight() const { return mNonAnimatableProperties.scaledHeight; } in getScaledHeight()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 273 int scaledHeight = size.height(); in doDecode() local 280 scaledHeight = codec->getInfo().height() / sampleSize; in doDecode() 301 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); in doDecode() 324 scaledHeight = static_cast<int>(scaledHeight * scale + 0.5f); in doDecode() 407 const float scaleY = scaledHeight / float(decodingBitmap.height()); in doDecode() 412 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); in doDecode() 456 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType)); in doDecode()
|
D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { in scale() argument 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1); in scale()
|
D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 160 int scaledHeight = (int) (ratio * originalHeight); in buildScaledBitmap() local 161 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888); in buildScaledBitmap() 165 drawable.setBounds(0, 0, scaledWidth, scaledHeight); in buildScaledBitmap()
|
/frameworks/base/core/java/android/view/ |
D | PointerIcon.java | 443 final int scaledHeight = bitmapDrawable.getIntrinsicHeight(); in getBitmapFromDrawable() local 444 if (scaledWidth == bitmap.getWidth() && scaledHeight == bitmap.getHeight()) { in getBitmapFromDrawable() 449 RectF dst = new RectF(0, 0, scaledWidth, scaledHeight); in getBitmapFromDrawable() 451 Bitmap scaled = Bitmap.createBitmap(scaledWidth, scaledHeight, bitmap.getConfig()); in getBitmapFromDrawable()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | GlifPatternDrawable.java | 155 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale); in createBitmapCache() local 158 Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ALPHA_8); in createBitmapCache()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 1915 int scaledHeight = Math.max((int) (mHeight * scale + 0.5f), 1); in computeDensity() local 1916 this.setTargetSize(scaledWidth, scaledHeight); in computeDensity()
|