Searched refs:scaleFromDensity (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java676 final int left = Drawable.scaleFromDensity(
678 final int top = Drawable.scaleFromDensity(
680 final int right = Drawable.scaleFromDensity(
682 final int bottom = Drawable.scaleFromDensity(
694 mPadding.left = Drawable.scaleFromDensity(
696 mPadding.top = Drawable.scaleFromDensity(
698 mPadding.right = Drawable.scaleFromDensity(
700 mPadding.bottom = Drawable.scaleFromDensity(
706 mBitmapHeight = Drawable.scaleFromDensity(
708 mBitmapWidth = Drawable.scaleFromDensity(
[all...]
H A DAnimatedImageDrawable.java296 width = Bitmap.scaleFromDensity(width, srcDensity, dstDensity);
297 height = Bitmap.scaleFromDensity(height, srcDensity, dstDensity);
303 cropRect.set(Bitmap.scaleFromDensity(cropRect.left, srcDensity, dstDensity),
304 Bitmap.scaleFromDensity(cropRect.top, srcDensity, dstDensity),
305 Bitmap.scaleFromDensity(cropRect.right, srcDensity, dstDensity),
306 Bitmap.scaleFromDensity(cropRect.bottom, srcDensity, dstDensity));
H A DInsetDrawable.java358 mInsetLeft.scaleFromDensity(sourceDensity, targetDensity);
359 mInsetTop.scaleFromDensity(sourceDensity, targetDensity);
360 mInsetRight.scaleFromDensity(sourceDensity, targetDensity);
361 mInsetBottom.scaleFromDensity(sourceDensity, targetDensity);
401 void scaleFromDensity(int sourceDensity, int targetDensity) { method in class:InsetDrawable.InsetValue
403 mDimension = Bitmap.scaleFromDensity(mDimension, sourceDensity, targetDensity);
H A DGradientDrawable.java1925 mInnerRadius = Drawable.scaleFromDensity(
1929 mThickness = Drawable.scaleFromDensity(
1933 final int left = Drawable.scaleFromDensity(
1935 final int top = Drawable.scaleFromDensity(
1937 final int right = Drawable.scaleFromDensity(
1939 final int bottom = Drawable.scaleFromDensity(
1944 mPadding.left = Drawable.scaleFromDensity(
1946 mPadding.top = Drawable.scaleFromDensity(
1948 mPadding.right = Drawable.scaleFromDensity(
1950 mPadding.bottom = Drawable.scaleFromDensity(
[all...]
H A DLayerDrawable.java1902 mInsetL = Drawable.scaleFromDensity(mInsetL, sourceDensity, targetDensity, false);
1903 mInsetT = Drawable.scaleFromDensity(mInsetT, sourceDensity, targetDensity, false);
1904 mInsetR = Drawable.scaleFromDensity(mInsetR, sourceDensity, targetDensity, false);
1905 mInsetB = Drawable.scaleFromDensity(mInsetB, sourceDensity, targetDensity, false);
1907 mInsetS = Drawable.scaleFromDensity(mInsetS, sourceDensity, targetDensity, false);
1910 mInsetE = Drawable.scaleFromDensity(mInsetE, sourceDensity, targetDensity, false);
1913 mWidth = Drawable.scaleFromDensity(mWidth, sourceDensity, targetDensity, true);
1916 mHeight = Drawable.scaleFromDensity(mHeight, sourceDensity, targetDensity, true);
2009 mPaddingLeft = Drawable.scaleFromDensity(
2013 mPaddingTop = Drawable.scaleFromDensity(
[all...]
H A DVectorDrawable.java565 mDpiScaledWidth = Drawable.scaleFromDensity(mVectorState.mBaseWidth, sourceDensity,
567 mDpiScaledHeight = Drawable.scaleFromDensity(mVectorState.mBaseHeight,sourceDensity,
569 final int left = Drawable.scaleFromDensity(
571 final int right = Drawable.scaleFromDensity(
573 final int top = Drawable.scaleFromDensity(
575 final int bottom = Drawable.scaleFromDensity(
1099 mBaseWidth = Drawable.scaleFromDensity(mBaseWidth, sourceDensity, targetDensity, true);
1100 mBaseHeight = Drawable.scaleFromDensity(mBaseHeight, sourceDensity, targetDensity,
1103 final int insetLeft = Drawable.scaleFromDensity(
1105 final int insetTop = Drawable.scaleFromDensity(
[all...]
H A DDrawable.java1550 static float scaleFromDensity(float pixels, int sourceDensity, int targetDensity) { method in class:Drawable
1572 static int scaleFromDensity( method in class:Drawable
H A DRippleDrawable.java1002 mMaxRadius = Drawable.scaleFromDensity(
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
H A DContextCompatTest.java186 final int expectedWidth = scaleFromDensity(7, DisplayMetrics.DENSITY_LOW,
198 private static int scaleFromDensity(int size, int sdensity, int tdensity) { method in class:ContextCompatTest
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java1445 return scaleFromDensity(getWidth(), mDensity, canvas.mDensity);
1453 return scaleFromDensity(getHeight(), mDensity, canvas.mDensity);
1461 return scaleFromDensity(getWidth(), mDensity, metrics.densityDpi);
1469 return scaleFromDensity(getHeight(), mDensity, metrics.densityDpi);
1480 return scaleFromDensity(getWidth(), mDensity, targetDensity);
1491 return scaleFromDensity(getHeight(), mDensity, targetDensity);
1497 static public int scaleFromDensity(int size, int sdensity, int tdensity) { method in class:Bitmap
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 718 milliseconds