/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 672 final int left = Drawable.scaleFromDensity( in computeBitmapSize() 674 final int top = Drawable.scaleFromDensity( in computeBitmapSize() 676 final int right = Drawable.scaleFromDensity( in computeBitmapSize() 678 final int bottom = Drawable.scaleFromDensity( in computeBitmapSize() 690 mPadding.left = Drawable.scaleFromDensity( in computeBitmapSize() 692 mPadding.top = Drawable.scaleFromDensity( in computeBitmapSize() 694 mPadding.right = Drawable.scaleFromDensity( in computeBitmapSize() 696 mPadding.bottom = Drawable.scaleFromDensity( in computeBitmapSize() 702 mBitmapHeight = Drawable.scaleFromDensity( in computeBitmapSize() 704 mBitmapWidth = Drawable.scaleFromDensity( in computeBitmapSize() [all …]
|
D | GradientDrawable.java | 1868 mInnerRadius = Drawable.scaleFromDensity( 1872 mThickness = Drawable.scaleFromDensity( 1876 final int left = Drawable.scaleFromDensity( 1878 final int top = Drawable.scaleFromDensity( 1880 final int right = Drawable.scaleFromDensity( 1882 final int bottom = Drawable.scaleFromDensity( 1887 mPadding.left = Drawable.scaleFromDensity( 1889 mPadding.top = Drawable.scaleFromDensity( 1891 mPadding.right = Drawable.scaleFromDensity( 1893 mPadding.bottom = Drawable.scaleFromDensity( [all …]
|
D | InsetDrawable.java | 290 mInsetLeft = Bitmap.scaleFromDensity(mInsetLeft, sourceDensity, targetDensity); in applyDensityScaling() 291 mInsetTop = Bitmap.scaleFromDensity(mInsetTop, sourceDensity, targetDensity); in applyDensityScaling() 292 mInsetRight = Bitmap.scaleFromDensity(mInsetRight, sourceDensity, targetDensity); in applyDensityScaling() 293 mInsetBottom = Bitmap.scaleFromDensity(mInsetBottom, sourceDensity, targetDensity); in applyDensityScaling()
|
D | LayerDrawable.java | 1876 mInsetL = Drawable.scaleFromDensity(mInsetL, sourceDensity, targetDensity, false); 1877 mInsetT = Drawable.scaleFromDensity(mInsetT, sourceDensity, targetDensity, false); 1878 mInsetR = Drawable.scaleFromDensity(mInsetR, sourceDensity, targetDensity, false); 1879 mInsetB = Drawable.scaleFromDensity(mInsetB, sourceDensity, targetDensity, false); 1881 mInsetS = Drawable.scaleFromDensity(mInsetS, sourceDensity, targetDensity, false); 1884 mInsetE = Drawable.scaleFromDensity(mInsetE, sourceDensity, targetDensity, false); 1887 mWidth = Drawable.scaleFromDensity(mWidth, sourceDensity, targetDensity, true); 1890 mHeight = Drawable.scaleFromDensity(mHeight, sourceDensity, targetDensity, true); 1983 mPaddingLeft = Drawable.scaleFromDensity( 1987 mPaddingTop = Drawable.scaleFromDensity( [all …]
|
D | VectorDrawable.java | 449 mDpiScaledWidth = Drawable.scaleFromDensity( in computeVectorSize() 451 mDpiScaledHeight = Drawable.scaleFromDensity( in computeVectorSize() 453 final int left = Drawable.scaleFromDensity( in computeVectorSize() 455 final int right = Drawable.scaleFromDensity( in computeVectorSize() 457 final int top = Drawable.scaleFromDensity( in computeVectorSize() 459 final int bottom = Drawable.scaleFromDensity( in computeVectorSize() 934 mBaseWidth = Drawable.scaleFromDensity(mBaseWidth, sourceDensity, targetDensity); in applyDensityScaling() 935 mBaseHeight = Drawable.scaleFromDensity(mBaseHeight, sourceDensity, targetDensity); in applyDensityScaling() 937 final int insetLeft = Drawable.scaleFromDensity( in applyDensityScaling() 939 final int insetTop = Drawable.scaleFromDensity( in applyDensityScaling() [all …]
|
D | Drawable.java | 1443 static float scaleFromDensity(float pixels, int sourceDensity, int targetDensity) { in scaleFromDensity() method in Drawable 1465 static int scaleFromDensity( in scaleFromDensity() method in Drawable
|
D | RippleDrawable.java | 1014 mMaxRadius = Drawable.scaleFromDensity( in applyDensityScaling()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 1169 return scaleFromDensity(getWidth(), mDensity, canvas.mDensity); in getScaledWidth() 1177 return scaleFromDensity(getHeight(), mDensity, canvas.mDensity); in getScaledHeight() 1185 return scaleFromDensity(getWidth(), mDensity, metrics.densityDpi); in getScaledWidth() 1193 return scaleFromDensity(getHeight(), mDensity, metrics.densityDpi); in getScaledHeight() 1204 return scaleFromDensity(getWidth(), mDensity, targetDensity); in getScaledWidth() 1215 return scaleFromDensity(getHeight(), mDensity, targetDensity); in getScaledHeight() 1221 static public int scaleFromDensity(int size, int sdensity, int tdensity) { in scaleFromDensity() method in Bitmap
|
/frameworks/support/v4/tests/java/android/support/v4/content/ |
D | ContextCompatTest.java | 110 final int expectedWidth = scaleFromDensity(7, DisplayMetrics.DENSITY_LOW, in testDrawableConfigurationWorkaround() 122 private static int scaleFromDensity(int size, int sdensity, int tdensity) { in scaleFromDensity() method in ContextCompatTest
|