Searched refs:scaledHeight (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 149 int scaledHeight = (int) (ratio * originalHeight); 150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888); 154 drawable.setBounds(0, 0, scaledWidth, scaledHeight);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
H A D | NinePatchPeeker.cpp | 75 void NinePatchPeeker::scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight) { argument 91 scaleDivRange(mPatch->getYDivs(), mPatch->numYDivs, scaleY, scaledHeight - 1);
|
H A D | BitmapFactory.cpp | 271 int scaledHeight = size.height(); local 278 scaledHeight = codec->getInfo().height() / sampleSize; 294 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); 317 scaledHeight = static_cast<int>(scaledHeight * scale + 0.5f); 406 const float scaleY = scaledHeight / float(decodingBitmap.height()); 411 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); 455 bitmapInfo.makeWH(scaledWidth, scaledHeight).makeColorType(scaledColorType));
|
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.cpp | 422 int scaledHeight = (int)(bounds.height() * canvasScaleY); local 424 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight); 426 if (scaledWidth <= 0 || scaledHeight <= 0) { 430 mStagingProperties.setScaledSize(scaledWidth, scaledHeight); 449 return scaledWidth * scaledHeight; 504 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); local 505 auto atlasEntry = atlas->requestNewEntry(scaledWidth, scaledHeight, context); 572 int scaledHeight = SkScalarCeilToInt(mProperties.getScaledHeight()); local 573 canvas->drawBitmapRect(skiaBitmap, SkRect::MakeWH(scaledWidth, scaledHeight), [all...] |
H A D | VectorDrawable.h | 525 (mProperties.mNonAnimatableProperties.scaledHeight != 526 mStagingProperties.mNonAnimatableProperties.scaledHeight) || 552 int scaledHeight = 0; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties 592 mNonAnimatableProperties.scaledHeight < height) { 595 mNonAnimatableProperties.scaledHeight = 596 std::max(height, mNonAnimatableProperties.scaledHeight); 612 float getScaledHeight() const { return mNonAnimatableProperties.scaledHeight; }
|
/frameworks/base/core/java/android/view/ |
H A D | PointerIcon.java | 414 final int scaledHeight = bitmapDrawable.getIntrinsicHeight(); 415 if (scaledWidth == bitmap.getWidth() && scaledHeight == bitmap.getHeight()) { 420 RectF dst = new RectF(0, 0, scaledWidth, scaledHeight); 422 Bitmap scaled = Bitmap.createBitmap(scaledWidth, scaledHeight, bitmap.getConfig());
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifPatternDrawable.java | 158 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale); 163 scaledHeight,
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 317 int scaledHeight = (int) (mTmpBounds.height() * canvasScaleY); 319 scaledHeight = Math.min(MAX_CACHED_BITMAP_SIZE, scaledHeight); 321 if (scaledWidth <= 0 || scaledHeight <= 0) { 340 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); 342 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); 345 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ImageDecoder.java | 1822 int scaledHeight = (int) (mHeight * scale + 0.5f); 1823 this.setTargetSize(scaledWidth, scaledHeight);
|
Completed in 190 milliseconds