Searched refs:densityStr (Results 1 – 2 of 2) sorted by relevance
286 String densityStr = getNextArg(); in runDisplayDensity() local305 if (densityStr == null) { in runDisplayDensity()308 } else if ("-d".equals(densityStr)) { in runDisplayDensity()311 } else if ("reset".equals(densityStr)) { in runDisplayDensity()315 density = Integer.parseInt(densityStr); in runDisplayDensity()
6245 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local6247 if (densityStr == null || densityStr.length() == 0) { in getForcedDisplayDensityForUserLocked()6248 densityStr = SystemProperties.get(DENSITY_OVERRIDE, null); in getForcedDisplayDensityForUserLocked()6250 if (densityStr != null && densityStr.length() > 0) { in getForcedDisplayDensityForUserLocked()6252 return Integer.parseInt(densityStr); in getForcedDisplayDensityForUserLocked()