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.java5200 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local
5202 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()