Searched refs:densityStr (Results 1 – 2 of 2) sorted by relevance
177 String densityStr = getNextArg(); in runDisplayDensity() local179 final int displayId = getDisplayId(densityStr); in runDisplayDensity()181 if (densityStr == null) { in runDisplayDensity()184 } else if ("-d".equals(densityStr)) { in runDisplayDensity()187 } else if ("reset".equals(densityStr)) { in runDisplayDensity()191 density = Integer.parseInt(densityStr); in runDisplayDensity()
5213 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local5215 if (densityStr == null || densityStr.length() == 0) { in getForcedDisplayDensityForUserLocked()5216 densityStr = SystemProperties.get(DENSITY_OVERRIDE, null); in getForcedDisplayDensityForUserLocked()5218 if (densityStr != null && densityStr.length() > 0) { in getForcedDisplayDensityForUserLocked()5220 return Integer.parseInt(densityStr); in getForcedDisplayDensityForUserLocked()