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()
5200 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local5202 if (densityStr == null || densityStr.length() == 0) { in getForcedDisplayDensityForUserLocked()5203 densityStr = SystemProperties.get(DENSITY_OVERRIDE, null); in getForcedDisplayDensityForUserLocked()5205 if (densityStr != null && densityStr.length() > 0) { in getForcedDisplayDensityForUserLocked()5207 return Integer.parseInt(densityStr); in getForcedDisplayDensityForUserLocked()