Home
last modified time | relevance | path

Searched refs:newConfig (Results 1 – 25 of 46) sorted by relevance

12

/cts/tests/tests/content/src/android/content/res/cts/config/activity/
DApplyOverrideConfigHandleOrientationActivity.kt29 var newConfig: Configuration? = null variable in android.content.res.cts.config.activity.ApplyOverrideConfigHandleOrientationActivity
36 override fun onConfigurationChanged(newConfig: Configuration) { in onConfigurationChanged()
37 super.onConfigurationChanged(newConfig) in onConfigurationChanged()
38 this.newConfig = newConfig in onConfigurationChanged()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DResizeableActivity.java31 public void onMultiWindowModeChanged(boolean isInMultiWindowMode, Configuration newConfig) { in onMultiWindowModeChanged() argument
32 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged()
33 dumpConfiguration(newConfig); in onMultiWindowModeChanged()
37 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
38 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DLogConfigurationActivity.java33 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
34 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
35 Log.i(TAG, "Configuration changed: " + newConfig.screenWidthDp + "," in onConfigurationChanged()
36 + newConfig.screenHeightDp); in onConfigurationChanged()
DFontScaleNoRelaunchActivity.java23 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
24 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DLaunchPipOnPipActivity.java25 Configuration newConfig) { in onPictureInPictureModeChanged() argument
26 super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig); in onPictureInPictureModeChanged()
DPortraitOrientationActivity.java30 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
31 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DLifecycleLogView.java46 protected void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
47 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java142 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
143 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
144 dumpConfiguration(newConfig); in onConfigurationChanged()
145 dumpAssetSeqNumber(newConfig); in onConfigurationChanged()
150 public void onMultiWindowModeChanged(boolean isInMultiWindowMode, Configuration newConfig) { in onMultiWindowModeChanged() argument
151 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged()
152 dumpConfiguration(newConfig); in onMultiWindowModeChanged()
153 dumpAssetSeqNumber(newConfig); in onMultiWindowModeChanged()
157 private void dumpAssetSeqNumber(Configuration newConfig) { in dumpAssetSeqNumber() argument
160 extras.putInt(EXTRA_CONFIG_ASSETS_SEQ, newConfig.assetsSeq); in dumpAssetSeqNumber()
DAbstractLifecycleLogActivity.java54 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
55 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
60 public void onMultiWindowModeChanged(boolean isInMultiWindowMode, Configuration newConfig) { in onMultiWindowModeChanged() argument
61 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged()
67 Configuration newConfig) { in onPictureInPictureModeChanged() argument
68 super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig); in onPictureInPictureModeChanged()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DPrintDocumentActivity.java55 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
56 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
58 Log.d(LOG_TAG, "onConfigurationChanged(" + newConfig + ")"); in onConfigurationChanged()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestRearDisplayActivity.java30 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument
31 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayTarget/src/com/android/cts/overlay/target/
DOverlayTargetActivity.java55 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument
56 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
60 callback.accept(this, newConfig); in onConfigurationChanged()
/cts/tests/tests/widget/src/android/widget/cts/
DMockApplication.java49 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
50 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/tests/content/src/android/content/cts/
DMockApplication.java49 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
50 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/app/app/src/android/app/stubs/
DMockApplication.java48 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
49 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DDisplayTestActivity.java39 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
40 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowContextTestActivity.java32 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument
33 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/hostsidetests/grammaticalinflection/atom/app/src/android/grammaticalinflection/atom/app/
DSettingGrammaticalGenderActivity.java41 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
43 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/tests/theme/src/android/theme/cts/
DThemeRebaseTest.java78 Configuration newConfig = new Configuration(mInitialConfig); in testConfigChangeAndRebase() local
79 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testConfigChangeAndRebase()
80 mContext.getResources().updateConfiguration(newConfig, null); in testConfigChangeAndRebase()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DMainActivity.java155 Configuration newConfig) { in onPictureInPictureModeChanged() argument
156 super.onPictureInPictureModeChanged(isInPictureInPictureMode, newConfig); in onPictureInPictureModeChanged()
172 @NonNull Configuration newConfig) { in onMultiWindowModeChanged() argument
173 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged()
/cts/tests/camera/src/android/hardware/cts/
DCameraCtsActivity.java51 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
52 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/tests/content/src/android/content/res/cts/config/
DOverrideConfigTest.kt123 assertThat(it.newConfig).isEqualTo(it.configuration()) in applyOverrideConfigHandlesOrientation()
208 val newConfig = it.configuration() in <lambda>() constant
209 assertThat(newConfig).isNotEqualTo(oldConfig) in <lambda>()
210 assertThat(newConfig.orientation).isNotEqualTo(oldOrientation) in <lambda>()
232 assertThat(newConfig.smallestScreenWidthDp) in <lambda>()
/cts/tests/framework/base/locale/TestApp/src/android/localemanager/cts/app/
DMainActivity.java118 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
119 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
120 LocaleList locales = newConfig.getLocales(); in onConfigurationChanged()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java68 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
69 Log.w(TAG, "configuration changed " + newConfig.orientation); in onConfigurationChanged()
70 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt99 val newConfig = Configuration(resources.configuration) in hashCode() constant
100 newConfig.uiMode = mode in hashCode()
101 resources.updateConfiguration(newConfig, resources.displayMetrics) in hashCode()
102 onConfigurationChanged(newConfig) in hashCode()

12