Searched refs:scaledWidth (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 148 int scaledWidth = (int) (ratio * originalWidth); 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) { 117 scaleDivRange(chunk->getXDivs(), chunk->numXDivs, scale, scaledWidth); 311 int scaledWidth = decodingBitmap.width(); local 315 scaledWidth = int(scaledWidth * scale + 0.5f); 325 env->SetIntField(options, gOptions_widthFieldID, scaledWidth); 338 scaleNinePatchChunk(peeker.mPatch, scale, scaledWidth, scaledHeight); 377 const float sx = scaledWidth / float(decodingBitmap.width()); 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 | 294 int scaledWidth = (int) (mTmpBounds.width() * canvasScaleX); 296 scaledWidth = Math.min(MAX_CACHED_BITMAP_SIZE, scaledWidth); 299 if (scaledWidth <= 0 || scaledHeight <= 0) { 318 mVectorState.createCachedBitmapIfNeeded(scaledWidth, scaledHeight); 320 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight); 323 mVectorState.updateCachedBitmap(scaledWidth, scaledHeight);
|
Completed in 419 milliseconds