Searched refs:scaledWidth (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | BitmapFactory.cpp | 261 int scaledWidth = size.width(); in doDecode() local 268 scaledWidth = codec->getInfo().width() / sampleSize; in doDecode() 288 env->SetIntField(options, gOptions_widthFieldID, scaledWidth); in doDecode() 311 scaledWidth = static_cast<int>(scaledWidth * scale + 0.5f); in doDecode() 394 const float scaleX = scaledWidth / float(decodingBitmap.width()); in doDecode() 400 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); in doDecode() 444 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 85 scaleDivRange(mPatch->getXDivs(), mPatch->numXDivs, scaleX, scaledWidth - 1); in scale()
|
D | NinePatchPeeker.h | 47 void scale(float scaleX, float scaleY, int scaledWidth, int scaledHeight);
|
/frameworks/base/libs/hwui/ |
D | VectorDrawable.cpp | 426 int scaledWidth = (int)(bounds.width() * canvasScaleX); in draw() local 428 scaledWidth = std::min(Tree::MAX_CACHED_BITMAP_SIZE, scaledWidth); in draw() 431 if (scaledWidth <= 0 || scaledHeight <= 0) { in draw() 435 mStagingProperties.setScaledSize(scaledWidth, scaledHeight); in draw() 454 return scaledWidth * scaledHeight; in draw() 512 int scaledWidth = SkScalarCeilToInt(mProperties.getScaledWidth()); in draw() local 514 canvas->drawBitmapRect(skiaBitmap, SkRect::MakeWH(scaledWidth, scaledHeight), bounds, in draw()
|
D | VectorDrawable.h | 526 (mProperties.mNonAnimatableProperties.scaledWidth != in syncProperties() 527 mStagingProperties.mNonAnimatableProperties.scaledWidth) || in syncProperties() 554 int scaledWidth = 0; member 592 if (mNonAnimatableProperties.scaledWidth < width || in setScaledSize() 594 mNonAnimatableProperties.scaledWidth = in setScaledSize() 595 std::max(width, mNonAnimatableProperties.scaledWidth); in setScaledSize() 613 float getScaledWidth() const { return mNonAnimatableProperties.scaledWidth; } in getScaledWidth()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ImageUtils.java | 159 int scaledWidth = (int) (ratio * originalWidth); 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 | 442 final int scaledWidth = bitmapDrawable.getIntrinsicWidth(); 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 | 154 int scaledWidth = (int) (VIEWBOX_WIDTH * scale); in createBitmapCache() local 158 Bitmap bitmap = Bitmap.createBitmap(scaledWidth, scaledHeight, Bitmap.Config.ALPHA_8); in createBitmapCache()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationController.java | 344 final int scaledWidth = (int) (halfWidth / mScale); in setMagnificationFrameBoundary() local 347 final int exceededWidth = halfWidth - scaledWidth; in setMagnificationFrameBoundary()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 1929 int scaledWidth = Math.max((int) (mWidth * scale + 0.5f), 1); in computeDensity() local 1931 this.setTargetSize(scaledWidth, scaledHeight); in computeDensity()
|