Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java65 final Configuration rootOverrideConfig = new Configuration(); in testConfigurationInit() local
66 rootOverrideConfig.fontScale = 1.3f; in testConfigurationInit()
67 root.onOverrideConfigurationChanged(rootOverrideConfig); in testConfigurationInit()
70 assertEquals(rootOverrideConfig, child2.getMergedOverrideConfiguration()); in testConfigurationInit()
71 assertEquals(rootOverrideConfig, child2.getConfiguration()); in testConfigurationInit()
79 rootFullConfig.updateFrom(rootOverrideConfig); in testConfigurationInit()
83 assertEquals(rootOverrideConfig, child3.getMergedOverrideConfiguration()); in testConfigurationInit()
91 final Configuration rootOverrideConfig = new Configuration(); in testConfigurationChangeOnAddRemove() local
92 rootOverrideConfig.fontScale = 1.3f; in testConfigurationChangeOnAddRemove()
93 root.onOverrideConfigurationChanged(rootOverrideConfig); in testConfigurationChangeOnAddRemove()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java579 final Configuration rootOverrideConfig = new Configuration(); in testConfigurationInit() local
580 rootOverrideConfig.fontScale = 1.3f; in testConfigurationInit()
581 root.onOverrideConfigurationChanged(rootOverrideConfig); in testConfigurationInit()
584 assertEquals(rootOverrideConfig, child2.getMergedOverrideConfiguration()); in testConfigurationInit()
585 assertEquals(rootOverrideConfig, child2.getConfiguration()); in testConfigurationInit()
593 rootFullConfig.updateFrom(rootOverrideConfig); in testConfigurationInit()
597 assertEquals(rootOverrideConfig, child3.getMergedOverrideConfiguration()); in testConfigurationInit()
607 final Configuration rootOverrideConfig = new Configuration(); in testConfigurationChangeOnAddRemove() local
608 rootOverrideConfig.fontScale = 1.3f; in testConfigurationChangeOnAddRemove()
609 root.onOverrideConfigurationChanged(rootOverrideConfig); in testConfigurationChangeOnAddRemove()
[all …]