Home
last modified time | relevance | path

Searched refs:shouldUpdateResources (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/mockingcoretests/src/android/window/
DConfigurationHelperTest.java76 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), null /* config */, in testShouldUpdateResources_NullConfig_ReturnsTrue()
83 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), new Configuration(), in testShouldUpdateResources_DisplayChanged_ReturnsTrue()
92 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), new Configuration(), in testShouldUpdateResources_DifferentResources_ReturnsTrue()
109 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), config, newConfig, in testShouldUpdateResources_DifferentBounds_ReturnsTrue()
121 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), config, newConfig, in testShouldUpdateResources_SameConfig_ReturnsFalse()
134 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), config, newConfig, in testShouldUpdateResources_DifferentConfig_ReturnsTrue()
147 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), config, newConfig, in testShouldUpdateResources_DifferentNonPublicConfig_ReturnsTrue()
160 assertThat(ConfigurationHelper.shouldUpdateResources(new Binder(), config, newConfig, in testShouldUpdateResources_OverrideConfigChanged_ReturnsFalse()
/frameworks/base/core/java/android/window/
DWindowTokenClient.java20 import static android.window.ConfigurationHelper.shouldUpdateResources;
171 final boolean shouldUpdateResources; in onConfigurationChangedInner()
177 shouldUpdateResources = shouldUpdateResources(this, mConfiguration, in onConfigurationChangedInner()
182 if (shouldUpdateResources) { in onConfigurationChangedInner()
187 if (!shouldUpdateResources && mShouldDumpConfigForIme) { in onConfigurationChangedInner()
199 if (shouldUpdateResources) { in onConfigurationChangedInner()
DConfigurationHelper.java63 public static boolean shouldUpdateResources(IBinder token, @Nullable Configuration config, in shouldUpdateResources() method in ConfigurationHelper
/frameworks/base/core/java/android/app/
DActivityThread.java39 import static android.window.ConfigurationHelper.shouldUpdateResources;
6413 final boolean shouldUpdateResources = hasPublicResConfigChange in performActivityConfigurationChanged()
6414 || shouldUpdateResources(activityToken, currentResConfig, newConfig, in performActivityConfigurationChanged()
6432 if (!shouldUpdateResources && !shouldReportChange) { in performActivityConfigurationChanged()
/frameworks/base/boot/
Dboot-image-profile.txt20786 HSPLandroid/window/ConfigurationHelper;->shouldUpdateResources(Landroid/os/IBinder;Landroid/content…
/frameworks/base/config/
Dboot-image-profile.txt20850 HSPLandroid/window/ConfigurationHelper;->shouldUpdateResources(Landroid/os/IBinder;Landroid/content…