Searched refs:scaledHeight (Results 1 - 6 of 6) 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 | BitmapFactory.cpp | 118 int scaledWidth, int scaledHeight) { 125 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight); 298 int scaledHeight = size.height(); local 305 scaledHeight = codec->getInfo().height() / sampleSize; 315 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); 327 scaledHeight = static_cast<int>(scaledHeight * scale + 0.5f); 429 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); 469 const float sy = scaledHeight / float(decodingBitmap.height()); 483 outputBitmap.setInfo(SkImageInfo::Make(scaledWidth, scaledHeight, 117 scaleNinePatchChunk(android::Res_png_9patch* chunk, float scale, int scaledWidth, int scaledHeight) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.cpp | 480 int scaledHeight = (int) (bounds.height() * canvasScaleY); local 482 scaledHeight = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledHeight); 484 if (scaledWidth <= 0 || scaledHeight <= 0) { 488 mStagingProperties.setScaledSize(scaledWidth, scaledHeight); 507 return scaledWidth * scaledHeight;
|
H A D | VectorDrawable.h | 587 int scaledHeight = 0; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties 626 || mNonAnimatableProperties.scaledHeight != height) { 628 mNonAnimatableProperties.scaledHeight = height; 653 return mNonAnimatableProperties.scaledHeight;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifPatternDrawable.java | 166 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale); 171 scaledHeight,
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 343 int scaledHeight = (int) (mTmpBounds.height() * canvasScaleY); 345 scaledHeight = Math.min(MAX_CACHED_BITMAP_SIZE, scaledHeight); 347 if (scaledWidth <= 0 || scaledHeight <= 0) { 366 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); 368 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); 371 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight);
|
Completed in 1190 milliseconds