/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 678 final int left = Drawable.scaleFromDensity( in computeBitmapSize() 680 final int top = Drawable.scaleFromDensity( in computeBitmapSize() 682 final int right = Drawable.scaleFromDensity( in computeBitmapSize() 684 final int bottom = Drawable.scaleFromDensity( in computeBitmapSize() 696 mPadding.left = Drawable.scaleFromDensity( in computeBitmapSize() 698 mPadding.top = Drawable.scaleFromDensity( in computeBitmapSize() 700 mPadding.right = Drawable.scaleFromDensity( in computeBitmapSize() 702 mPadding.bottom = Drawable.scaleFromDensity( in computeBitmapSize() 708 mBitmapHeight = Drawable.scaleFromDensity( in computeBitmapSize() 710 mBitmapWidth = Drawable.scaleFromDensity( in computeBitmapSize() [all …]
|
D | InsetDrawable.java | 359 mInsetLeft.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling() 360 mInsetTop.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling() 361 mInsetRight.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling() 362 mInsetBottom.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling() 402 void scaleFromDensity(int sourceDensity, int targetDensity) { in scaleFromDensity() method in InsetDrawable.InsetValue 404 mDimension = Bitmap.scaleFromDensity(mDimension, sourceDensity, targetDensity); in scaleFromDensity()
|
D | AnimatedImageDrawable.java | 297 width = Bitmap.scaleFromDensity(width, srcDensity, dstDensity); in AnimatedImageDrawable() 298 height = Bitmap.scaleFromDensity(height, srcDensity, dstDensity); in AnimatedImageDrawable() 304 cropRect.set(Bitmap.scaleFromDensity(cropRect.left, srcDensity, dstDensity), in AnimatedImageDrawable() 305 Bitmap.scaleFromDensity(cropRect.top, srcDensity, dstDensity), in AnimatedImageDrawable() 306 Bitmap.scaleFromDensity(cropRect.right, srcDensity, dstDensity), in AnimatedImageDrawable() 307 Bitmap.scaleFromDensity(cropRect.bottom, srcDensity, dstDensity)); in AnimatedImageDrawable()
|
D | GradientDrawable.java | 2068 mInnerRadius = Drawable.scaleFromDensity( in applyDensityScaling() 2072 mThickness = Drawable.scaleFromDensity( in applyDensityScaling() 2076 final int left = Drawable.scaleFromDensity( in applyDensityScaling() 2078 final int top = Drawable.scaleFromDensity( in applyDensityScaling() 2080 final int right = Drawable.scaleFromDensity( in applyDensityScaling() 2082 final int bottom = Drawable.scaleFromDensity( in applyDensityScaling() 2087 mPadding.left = Drawable.scaleFromDensity( in applyDensityScaling() 2089 mPadding.top = Drawable.scaleFromDensity( in applyDensityScaling() 2091 mPadding.right = Drawable.scaleFromDensity( in applyDensityScaling() 2093 mPadding.bottom = Drawable.scaleFromDensity( in applyDensityScaling() [all …]
|
D | LayerDrawable.java | 1911 mInsetL = Drawable.scaleFromDensity(mInsetL, sourceDensity, targetDensity, false); 1912 mInsetT = Drawable.scaleFromDensity(mInsetT, sourceDensity, targetDensity, false); 1913 mInsetR = Drawable.scaleFromDensity(mInsetR, sourceDensity, targetDensity, false); 1914 mInsetB = Drawable.scaleFromDensity(mInsetB, sourceDensity, targetDensity, false); 1916 mInsetS = Drawable.scaleFromDensity(mInsetS, sourceDensity, targetDensity, false); 1919 mInsetE = Drawable.scaleFromDensity(mInsetE, sourceDensity, targetDensity, false); 1922 mWidth = Drawable.scaleFromDensity(mWidth, sourceDensity, targetDensity, true); 1925 mHeight = Drawable.scaleFromDensity(mHeight, sourceDensity, targetDensity, true); 2019 mPaddingLeft = Drawable.scaleFromDensity( 2023 mPaddingTop = Drawable.scaleFromDensity( [all …]
|
D | VectorDrawable.java | 582 mDpiScaledWidth = Drawable.scaleFromDensity(mVectorState.mBaseWidth, sourceDensity, in computeVectorSize() 584 mDpiScaledHeight = Drawable.scaleFromDensity(mVectorState.mBaseHeight,sourceDensity, in computeVectorSize() 586 final int left = Drawable.scaleFromDensity( in computeVectorSize() 588 final int right = Drawable.scaleFromDensity( in computeVectorSize() 590 final int top = Drawable.scaleFromDensity( in computeVectorSize() 592 final int bottom = Drawable.scaleFromDensity( in computeVectorSize() 1117 mBaseWidth = Drawable.scaleFromDensity(mBaseWidth, sourceDensity, targetDensity, true); in applyDensityScaling() 1118 mBaseHeight = Drawable.scaleFromDensity(mBaseHeight, sourceDensity, targetDensity, in applyDensityScaling() 1121 final int insetLeft = Drawable.scaleFromDensity( in applyDensityScaling() 1123 final int insetTop = Drawable.scaleFromDensity( in applyDensityScaling() [all …]
|
D | Drawable.java | 1635 static float scaleFromDensity(float pixels, int sourceDensity, int targetDensity) { in scaleFromDensity() method 1657 static int scaleFromDensity( in scaleFromDensity() method
|
D | RippleDrawable.java | 1011 mMaxRadius = Drawable.scaleFromDensity( in applyDensityScaling()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 1516 return scaleFromDensity(getWidth(), mDensity, canvas.mDensity); in getScaledWidth() 1524 return scaleFromDensity(getHeight(), mDensity, canvas.mDensity); in getScaledHeight() 1532 return scaleFromDensity(getWidth(), mDensity, metrics.densityDpi); in getScaledWidth() 1540 return scaleFromDensity(getHeight(), mDensity, metrics.densityDpi); in getScaledHeight() 1554 return scaleFromDensity(getWidth(), mDensity, targetDensity); in getScaledWidth() 1568 return scaleFromDensity(getHeight(), mDensity, targetDensity); in getScaledHeight() 1575 static public int scaleFromDensity(int size, int sdensity, int tdensity) { in scaleFromDensity() method in Bitmap
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 19749 Landroid/graphics/drawable/Drawable;->scaleFromDensity(FII)F 19750 Landroid/graphics/drawable/Drawable;->scaleFromDensity(IIIZ)I 19962 Landroid/graphics/drawable/InsetDrawable$InsetValue;->scaleFromDensity(II)V
|
D | boot-image-profile.txt | 5495 HSPLandroid/graphics/Bitmap;->scaleFromDensity(III)I
|