Lines Matching defs:targetDensity

1893          * @param targetDensity the new constant state density
1895 public final void setDensity(int targetDensity) {
1896 if (mDensity != targetDensity) {
1898 mDensity = targetDensity;
1900 applyDensityScaling(sourceDensity, targetDensity);
1904 private void applyDensityScaling(int sourceDensity, int targetDensity) {
1907 mInnerRadius, sourceDensity, targetDensity, true);
1911 mThickness, sourceDensity, targetDensity, true);
1915 mOpticalInsets.left, sourceDensity, targetDensity, true);
1917 mOpticalInsets.top, sourceDensity, targetDensity, true);
1919 mOpticalInsets.right, sourceDensity, targetDensity, true);
1921 mOpticalInsets.bottom, sourceDensity, targetDensity, true);
1926 mPadding.left, sourceDensity, targetDensity, false);
1928 mPadding.top, sourceDensity, targetDensity, false);
1930 mPadding.right, sourceDensity, targetDensity, false);
1932 mPadding.bottom, sourceDensity, targetDensity, false);
1935 mRadius = Drawable.scaleFromDensity(mRadius, sourceDensity, targetDensity);
1939 (int) mRadiusArray[0], sourceDensity, targetDensity, true);
1941 (int) mRadiusArray[1], sourceDensity, targetDensity, true);
1943 (int) mRadiusArray[2], sourceDensity, targetDensity, true);
1945 (int) mRadiusArray[3], sourceDensity, targetDensity, true);
1949 mStrokeWidth, sourceDensity, targetDensity, true);
1953 mStrokeDashGap, sourceDensity, targetDensity);
1957 mStrokeDashGap, sourceDensity, targetDensity);
1961 mGradientRadius, sourceDensity, targetDensity);
1964 mWidth = Drawable.scaleFromDensity(mWidth, sourceDensity, targetDensity, true);
1967 mHeight = Drawable.scaleFromDensity(mHeight, sourceDensity, targetDensity, true);