Searched refs:densityScale (Results 1 – 3 of 3) sorted by relevance
592 final float densityScale = targetDensity / (float) sourceDensity; in updateShaderMatrix() local593 matrix.postScale(densityScale, densityScale); in updateShaderMatrix()
120 public void setDensityScale(float densityScale) { in setDensityScale() argument121 mDensityScale = densityScale; in setDensityScale()
1711 float densityScale = getResources().getDisplayMetrics().density;1712 mSwipeHelper.setDensityScale(densityScale);