Home
last modified time | relevance | path

Searched refs:scaleFromDensity (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java677 final int left = Drawable.scaleFromDensity( in computeBitmapSize()
679 final int top = Drawable.scaleFromDensity( in computeBitmapSize()
681 final int right = Drawable.scaleFromDensity( in computeBitmapSize()
683 final int bottom = Drawable.scaleFromDensity( in computeBitmapSize()
695 mPadding.left = Drawable.scaleFromDensity( in computeBitmapSize()
697 mPadding.top = Drawable.scaleFromDensity( in computeBitmapSize()
699 mPadding.right = Drawable.scaleFromDensity( in computeBitmapSize()
701 mPadding.bottom = Drawable.scaleFromDensity( in computeBitmapSize()
707 mBitmapHeight = Drawable.scaleFromDensity( in computeBitmapSize()
709 mBitmapWidth = Drawable.scaleFromDensity( in computeBitmapSize()
[all …]
DInsetDrawable.java360 mInsetLeft.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling()
361 mInsetTop.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling()
362 mInsetRight.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling()
363 mInsetBottom.scaleFromDensity(sourceDensity, targetDensity); in applyDensityScaling()
403 void scaleFromDensity(int sourceDensity, int targetDensity) { in scaleFromDensity() method in InsetDrawable.InsetValue
405 mDimension = Bitmap.scaleFromDensity(mDimension, sourceDensity, targetDensity); in scaleFromDensity()
DAnimatedImageDrawable.java296 width = Bitmap.scaleFromDensity(width, srcDensity, dstDensity); in AnimatedImageDrawable()
297 height = Bitmap.scaleFromDensity(height, srcDensity, dstDensity); in AnimatedImageDrawable()
303 cropRect.set(Bitmap.scaleFromDensity(cropRect.left, srcDensity, dstDensity), in AnimatedImageDrawable()
304 Bitmap.scaleFromDensity(cropRect.top, srcDensity, dstDensity), in AnimatedImageDrawable()
305 Bitmap.scaleFromDensity(cropRect.right, srcDensity, dstDensity), in AnimatedImageDrawable()
306 Bitmap.scaleFromDensity(cropRect.bottom, srcDensity, dstDensity)); in AnimatedImageDrawable()
DGradientDrawable.java2124 mInnerRadius = Drawable.scaleFromDensity(
2128 mThickness = Drawable.scaleFromDensity(
2132 final int left = Drawable.scaleFromDensity(
2134 final int top = Drawable.scaleFromDensity(
2136 final int right = Drawable.scaleFromDensity(
2138 final int bottom = Drawable.scaleFromDensity(
2143 mPadding.left = Drawable.scaleFromDensity(
2145 mPadding.top = Drawable.scaleFromDensity(
2147 mPadding.right = Drawable.scaleFromDensity(
2149 mPadding.bottom = Drawable.scaleFromDensity(
[all …]
DLayerDrawable.java1911 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 …]
DVectorDrawable.java586 mDpiScaledWidth = Drawable.scaleFromDensity(mVectorState.mBaseWidth, sourceDensity, in computeVectorSize()
588 mDpiScaledHeight = Drawable.scaleFromDensity(mVectorState.mBaseHeight,sourceDensity, in computeVectorSize()
590 final int left = Drawable.scaleFromDensity( in computeVectorSize()
592 final int right = Drawable.scaleFromDensity( in computeVectorSize()
594 final int top = Drawable.scaleFromDensity( in computeVectorSize()
596 final int bottom = Drawable.scaleFromDensity( in computeVectorSize()
1121 mBaseWidth = Drawable.scaleFromDensity(mBaseWidth, sourceDensity, targetDensity, true); in applyDensityScaling()
1122 mBaseHeight = Drawable.scaleFromDensity(mBaseHeight, sourceDensity, targetDensity, in applyDensityScaling()
1125 final int insetLeft = Drawable.scaleFromDensity( in applyDensityScaling()
1127 final int insetTop = Drawable.scaleFromDensity( in applyDensityScaling()
[all …]
DDrawable.java1632 static float scaleFromDensity(float pixels, int sourceDensity, int targetDensity) { in scaleFromDensity() method
1654 static int scaleFromDensity( in scaleFromDensity() method
DRippleDrawable.java1350 mMaxRadius = Drawable.scaleFromDensity( in applyDensityScaling()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java1536 return scaleFromDensity(getWidth(), mDensity, canvas.mDensity); in getScaledWidth()
1544 return scaleFromDensity(getHeight(), mDensity, canvas.mDensity); in getScaledHeight()
1552 return scaleFromDensity(getWidth(), mDensity, metrics.densityDpi); in getScaledWidth()
1560 return scaleFromDensity(getHeight(), mDensity, metrics.densityDpi); in getScaledHeight()
1574 return scaleFromDensity(getWidth(), mDensity, targetDensity); in getScaledWidth()
1588 return scaleFromDensity(getHeight(), mDensity, targetDensity); in getScaledHeight()
1597 static public int scaleFromDensity(int size, int sdensity, int tdensity) { in scaleFromDensity() method in Bitmap
/frameworks/base/boot/
Dboot-image-profile.txt6399 HSPLandroid/graphics/Bitmap;->scaleFromDensity(III)I
7479 HSPLandroid/graphics/drawable/Drawable;->scaleFromDensity(FII)F
7480 HSPLandroid/graphics/drawable/Drawable;->scaleFromDensity(IIIZ)I
7716 HSPLandroid/graphics/drawable/InsetDrawable$InsetValue;->scaleFromDensity(II)V
/frameworks/base/config/
Dboot-image-profile.txt6397 HSPLandroid/graphics/Bitmap;->scaleFromDensity(III)I
7475 HSPLandroid/graphics/drawable/Drawable;->scaleFromDensity(FII)F
7476 HSPLandroid/graphics/drawable/Drawable;->scaleFromDensity(IIIZ)I
7712 HSPLandroid/graphics/drawable/InsetDrawable$InsetValue;->scaleFromDensity(II)V
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19740 Landroid/graphics/drawable/Drawable;->scaleFromDensity(FII)F
19741 Landroid/graphics/drawable/Drawable;->scaleFromDensity(IIIZ)I
19953 Landroid/graphics/drawable/InsetDrawable$InsetValue;->scaleFromDensity(II)V