Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleShader.java207 final float densityScale = 2.1f; in setResolution() local
209 setUniform("in_noiseScale", new float[] {densityScale / w, densityScale / h}); in setResolution()
DBitmapDrawable.java593 final float densityScale = targetDensity / (float) sourceDensity; in updateShaderMatrix() local
594 matrix.postScale(densityScale, densityScale); in updateShaderMatrix()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java142 public void setDensityScale(float densityScale) { in setDensityScale() argument
143 mDensityScale = densityScale; in setDensityScale()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java1702 float densityScale = res.getDisplayMetrics().density;
1703 mSwipeHelper.setDensityScale(densityScale);