Home
last modified time | relevance | path

Searched refs:newConfiguration (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DFakeServiceConfigAccessor.java71 TimeConfiguration newConfiguration = in updateConfiguration() local
73 if (newConfiguration == null) { in updateConfiguration()
77 if (!newConfiguration.equals(capabilitiesAndConfig.getConfiguration())) { in updateConfiguration()
78 mCurrentUserConfigurationInternal = toUpdate.merge(newConfiguration); in updateConfiguration()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DFakeConfigurationController.kt24 override fun onConfigurationChanged(newConfiguration: Configuration?) { in onConfigurationChanged()
25 listeners.forEach { it.onConfigChanged(newConfiguration) } in onConfigurationChanged()
37 onConfigurationChanged(newConfiguration = null) in notifyConfigurationChanged()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DFakeServiceConfigAccessor.java74 TimeZoneConfiguration newConfiguration = in updateConfiguration() local
76 if (newConfiguration == null) { in updateConfiguration()
80 if (!newConfiguration.equals(configuration)) { in updateConfiguration()
81 ConfigurationInternal updatedConfiguration = toUpdate.merge(newConfiguration); in updateConfiguration()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DConfigurationInternal.java302 public ConfigurationInternal merge(TimeZoneConfiguration newConfiguration) { in merge() argument
304 if (newConfiguration.hasIsAutoDetectionEnabled()) { in merge()
305 builder.setAutoDetectionEnabledSetting(newConfiguration.isAutoDetectionEnabled()); in merge()
307 if (newConfiguration.hasIsGeoDetectionEnabled()) { in merge()
308 builder.setGeoDetectionEnabledSetting(newConfiguration.isGeoDetectionEnabled()); in merge()
DServiceConfigAccessorImpl.java281 final TimeZoneConfiguration newConfiguration = in updateConfiguration() local
283 if (newConfiguration == null) { in updateConfiguration()
290 storeConfiguration(userId, requestedConfigurationUpdates, newConfiguration); in updateConfiguration()
303 @NonNull TimeZoneConfiguration newConfiguration) { in storeConfiguration() argument
304 Objects.requireNonNull(newConfiguration); in storeConfiguration()
315 final boolean autoDetectionEnabled = newConfiguration.isAutoDetectionEnabled(); in storeConfiguration()
330 final boolean geoDetectionEnabledSetting = newConfiguration.isGeoDetectionEnabled(); in storeConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java172 Configuration newConfiguration = mContext.getResources().getConfiguration(); in updateDisplayParameters() local
173 final Rect newSize = newConfiguration.windowConfiguration.getMaxBounds(); in updateDisplayParameters()
179 int density = newConfiguration.densityDpi; in updateDisplayParameters()
184 float fontScale = newConfiguration.fontScale; in updateDisplayParameters()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/
DConfigurationChangeListener.java29 default void onConfigurationChanged(Configuration newConfiguration) {} in onConfigurationChanged() argument
DShellInterface.java44 default void onConfigurationChanged(Configuration newConfiguration) {} in onConfigurationChanged() argument
DShellController.java362 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
364 ShellController.this.onConfigurationChanged(newConfiguration)); in onConfigurationChanged()
/frameworks/base/services/core/java/com/android/server/timedetector/
DConfigurationInternal.java226 public ConfigurationInternal merge(TimeConfiguration newConfiguration) { in merge() argument
228 if (newConfiguration.hasIsAutoDetectionEnabled()) { in merge()
229 builder.setAutoDetectionEnabledSetting(newConfiguration.isAutoDetectionEnabled()); in merge()
DServiceConfigAccessorImpl.java233 final TimeConfiguration newConfiguration = in updateConfiguration() local
235 if (newConfiguration == null) { in updateConfiguration()
242 storeConfiguration(userId, newConfiguration); in updateConfiguration()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeConfigurationController.java30 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DConfigurationController.java28 void onConfigurationChanged(Configuration newConfiguration); in onConfigurationChanged() argument
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderController.java393 @NonNull ConfigurationInternal newConfiguration) { in alterProvidersStartedStateIfRequired() argument
400 newConfiguration.isGeoDetectionExecutionEnabled(); in alterProvidersStartedStateIfRequired()
418 tryStartProvider(mPrimaryProvider, newConfiguration); in alterProvidersStartedStateIfRequired()
426 tryStartProvider(mSecondaryProvider, newConfiguration); in alterProvidersStartedStateIfRequired()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java192 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
193 int newUiModeType = newConfiguration.uiMode & Configuration.UI_MODE_TYPE_MASK; in onConfigurationChanged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/
DShellControllerTest.java316 public void onConfigurationChanged(Configuration newConfiguration) { in testRemoveListenerDuringCallback()
435 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DFullscreenUnfoldTaskAnimator.java94 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
DSplitTaskUnfoldAnimator.java117 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipController.java235 public void onConfigurationChanged(Configuration newConfiguration) { in onConfigurationChanged() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt146 override fun onConfigurationChanged(newConfiguration: Configuration) { in <lambda>()
/frameworks/base/core/java/android/app/
DActivityThread.java6610 Configuration newConfiguration) { in handleWindowingModeChangeIfNeeded() argument
6612 final int newWindowingMode = newConfiguration.windowConfiguration.getWindowingMode(); in handleWindowingModeChangeIfNeeded()
6617 activity.dispatchPictureInPictureModeChanged(true, newConfiguration); in handleWindowingModeChangeIfNeeded()
6619 activity.dispatchPictureInPictureModeChanged(false, newConfiguration); in handleWindowingModeChangeIfNeeded()
6626 activity.dispatchMultiWindowModeChanged(nowInMultiWindowMode, newConfiguration); in handleWindowingModeChangeIfNeeded()