Searched refs:srcDensityOverride (Results 1 – 2 of 2) sorted by relevance
204 private void updateStateFromTypedArray(TypedArray a, int srcDensityOverride) in updateStateFromTypedArray() argument212 r.getValueForDensity(srcResId, srcDensityOverride, value, true); in updateStateFromTypedArray()213 if (srcDensityOverride > 0 && value.density > 0 in updateStateFromTypedArray()215 if (value.density == srcDensityOverride) { in updateStateFromTypedArray()219 (value.density * r.getDisplayMetrics().densityDpi) / srcDensityOverride; in updateStateFromTypedArray()
801 private void updateStateFromTypedArray(TypedArray a, int srcDensityOverride) in updateStateFromTypedArray() argument812 state.mSrcDensityOverride = srcDensityOverride; in updateStateFromTypedArray()819 r.getValueForDensity(srcResId, srcDensityOverride, value, true); in updateStateFromTypedArray()826 if (srcDensityOverride > 0 && value.density > 0 in updateStateFromTypedArray()828 if (value.density == srcDensityOverride) { in updateStateFromTypedArray()832 (value.density * r.getDisplayMetrics().densityDpi) / srcDensityOverride; in updateStateFromTypedArray()