Searched refs:scaledHeight (Results 1 - 3 of 3) 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 | 111 int scaledWidth, int scaledHeight) { 118 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight); 312 int scaledHeight = decodingBitmap.height(); local 316 scaledHeight = int(scaledHeight * scale + 0.5f); 326 env->SetIntField(options, gOptions_heightFieldID, scaledHeight); 338 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); 378 const float sy = scaledHeight / float(decodingBitmap.height()); 385 outputBitmap.setInfo(SkImageInfo::Make(scaledWidth, scaledHeight, 110 scaleNinePatchChunk(android::Res_png_9patch* chunk, float scale, int scaledWidth, int scaledHeight) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 295 int scaledHeight = (int) (mTmpBounds.height() * canvasScaleY); 297 scaledHeight = Math.min(MAX_CACHED_BITMAP_SIZE, scaledHeight); 299 if (scaledWidth <= 0 || scaledHeight <= 0) { 318 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); 320 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); 323 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight);
|
Completed in 1590 milliseconds