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.java177 String densityStr = getNextArg(); in runDisplayDensity() local
179 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()
DWindowManagerService.java5213 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local
5215 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()