Home
last modified time | relevance | path

Searched refs:mForcedDensity (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettings.java95 overrideSettings.mForcedDensity = density; in setForcedDensity()
315 final boolean hasDensityOverride = settings.mForcedDensity != 0; in applySettingsToDisplayLocked()
325 final int density = hasDensityOverride ? settings.mForcedDensity in applySettingsToDisplayLocked()
441 int mForcedDensity; field in DisplayWindowSettings.SettingsProvider.SettingsEntry
501 if (other.mForcedDensity != mForcedDensity) { in setTo()
502 mForcedDensity = other.mForcedDensity; in setTo()
584 if (delta.mForcedDensity != 0 && delta.mForcedDensity != mForcedDensity) { in updateFrom()
585 mForcedDensity = delta.mForcedDensity; in updateFrom()
646 && mForcedWidth == 0 && mForcedHeight == 0 && mForcedDensity == 0 in isEmpty()
667 && mForcedDensity == that.mForcedDensity in equals()
[all …]
DDisplayWindowSettingsProvider.java447 settingsEntry.mForcedDensity = getIntAttribute(parser, "forcedDensity", in readDisplay()
534 if (settingsEntry.mForcedDensity != 0) { in writeSettings()
535 out.attributeInt(null, "forcedDensity", settingsEntry.mForcedDensity); in writeSettings()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsProviderTests.java132 overrideSettings.mForcedDensity = 200; in testReadingDisplaySettingsFromStorage_LegacyDisplayId_UpdateAfterAccess()