/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 244 int scaledWidth = (int) (screenWidth * maxScale); in getSupportedSize() local 246 if (scaledWidth % maxInfo.getWidthAlignment() != 0) { in getSupportedSize() 247 scaledWidth -= (scaledWidth % maxInfo.getWidthAlignment()); in getSupportedSize() 254 int maxRate = maxInfo.getSupportedFrameRatesFor(scaledWidth, scaledHeight) in getSupportedSize() 260 Log.d(TAG, "Resized by " + maxScale + ": " + scaledWidth + ", " + scaledHeight in getSupportedSize() 262 return new int[]{scaledWidth, scaledHeight, refreshRate}; in getSupportedSize()
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapFactory.cpp | 264 int scaledWidth = size.width(); in doDecode() local 271 scaledWidth = codec->getInfo().width() / sampleSize; in doDecode() 291 env->SetIntField(options, gOptions_widthFieldID, scaledWidth); in doDecode() 314 scaledWidth = static_cast<int>(scaledWidth * scale + 0.5f); in doDecode() 397 const float scaleX = scaledWidth / float(decodingBitmap.width()); in doDecode() 403 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); in doDecode() 447 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->drawImageRect(cachedBitmap, 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 | 443 final int scaledWidth = bitmapDrawable.getIntrinsicWidth(); in getBitmapFromDrawable() local 445 if (scaledWidth == bitmap.getWidth() && scaledHeight == bitmap.getHeight()) { in getBitmapFromDrawable() 450 RectF dst = new RectF(0, 0, scaledWidth, scaledHeight); in getBitmapFromDrawable() 452 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 | 564 final int scaledWidth = (int) (halfWidth / mScale); in setMagnificationFrameBoundary() local 567 final int exceededWidth = halfWidth - scaledWidth; in setMagnificationFrameBoundary()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 1938 int scaledWidth = Math.max((int) (mWidth * scale + 0.5f), 1); in computeDensity() local 1940 this.setTargetSize(scaledWidth, scaledHeight); in computeDensity()
|