Home
last modified time | relevance | path

Searched defs:targetDensity (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java345 void onDensityChanged(int sourceDensity, int targetDensity) { in onDensityChanged()
358 private void applyDensityScaling(int sourceDensity, int targetDensity) { in applyDensityScaling()
402 void scaleFromDensity(int sourceDensity, int targetDensity) { in scaleFromDensity()
DDrawableWrapper.java145 final int targetDensity = densityDpi == 0 ? DisplayMetrics.DENSITY_DEFAULT : densityDpi; in inflate() local
517 public final void setDensity(int targetDensity) { in setDensity()
535 void onDensityChanged(int sourceDensity, int targetDensity) { in onDensityChanged()
DRippleDrawable.java1003 protected void onDensityChanged(int sourceDensity, int targetDensity) { in onDensityChanged()
1009 private void applyDensityScaling(int sourceDensity, int targetDensity) { in applyDensityScaling()
DGradientDrawable.java2053 public final void setDensity(int targetDensity) { in setDensity()
2066 private void applyDensityScaling(int sourceDensity, int targetDensity) { in applyDensityScaling()
DAdaptiveIconDrawable.java922 public final void setDensity(int targetDensity) { in setDensity()
984 public final void setDensity(int targetDensity) { in setDensity()
DDrawable.java1635 static float scaleFromDensity(float pixels, int sourceDensity, int targetDensity) { in scaleFromDensity()
1658 int pixels, int sourceDensity, int targetDensity, boolean isSize) { in scaleFromDensity()
DNinePatchDrawable.java672 final int targetDensity = mTargetDensity; in computeBitmapSize() local
DVectorDrawable.java580 final int targetDensity = mTargetDensity; in computeVectorSize() local
1106 public final boolean setDensity(int targetDensity) { in setDensity()
1116 private void applyDensityScaling(int sourceDensity, int targetDensity) { in applyDensityScaling()
DBitmapDrawable.java579 final int targetDensity = mTargetDensity; in updateShaderMatrix() local
DDrawableContainer.java965 final int targetDensity = Drawable.resolveDensity(res, mDensity); in updateDensity() local
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmapFactory_Delegate.java146 final int targetDensity = opts.inTargetDensity; in setDensityFromOptions() local
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java702 final int targetDensity = opts.inTargetDensity; in setDensityFromOptions() local
DBitmap.java1553 public int getScaledWidth(int targetDensity) { in getScaledWidth()
1567 public int getScaledHeight(int targetDensity) { in getScaledHeight()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp227 const int targetDensity = env->GetIntField(options, gOptions_targetDensityFieldID); in doDecode() local
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3197 final int targetDensity = forcedDensity != 0 ? forcedDensity in setCurrentUser() local