Home
last modified time | relevance | path

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

/frameworks/base/cmds/wm/src/com/android/commands/wm/
DWm.java173 String densityStr = nextArg(); in runDisplayDensity() local
175 if (densityStr == null) { in runDisplayDensity()
186 } else if ("reset".equals(densityStr)) { in runDisplayDensity()
190 density = Integer.parseInt(densityStr); in runDisplayDensity()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java8984 String densityStr = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getForcedDisplayDensityForUserLocked() local
8986 if (densityStr == null || densityStr.length() == 0) { in getForcedDisplayDensityForUserLocked()
8987 densityStr = SystemProperties.get(DENSITY_OVERRIDE, null); in getForcedDisplayDensityForUserLocked()
8989 if (densityStr != null && densityStr.length() > 0) { in getForcedDisplayDensityForUserLocked()
8991 return Integer.parseInt(densityStr); in getForcedDisplayDensityForUserLocked()