Home
last modified time | relevance | path

Searched refs:densityScale (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleShader.java195 final float densityScale = 2.1f; in setResolution() local
197 setFloatUniform("in_noiseScale", densityScale / w, densityScale / h); in setResolution()
DBitmapDrawable.java600 final float densityScale = targetDensity / (float) sourceDensity; in updateShaderMatrix() local
601 matrix.postScale(densityScale, densityScale); in updateShaderMatrix()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuViewPager.java307 float densityScale = (float) displayMetrics.densityDpi
312 (int) (footerLayout.getLayoutParams().height / densityScale);
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java478 final float densityScale = compatScale != null ? compatScale.mDensityScaleFactor : appScale; in compatibilityInfoForPackageLocked() local
481 config.smallestScreenWidthDp, forceCompat, appScale, densityScale); in compatibilityInfoForPackageLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java166 public void setDensityScale(float densityScale) { in setDensityScale() argument
167 mDensityScale = densityScale; in setDensityScale()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1995 float densityScale = res.getDisplayMetrics().density;
1996 mSwipeHelper.setDensityScale(densityScale);