Home
last modified time | relevance | path

Searched refs:densityStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java286 String densityStr = getNextArg(); in runDisplayDensity() local
305 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()
DWindowManagerService.java6245 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local
6247 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()