Home
last modified time | relevance | path

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

12

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
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()
DResizeableActivity.java31 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
32 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DLifecycleLogView.java46 protected void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
47 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DLandscapeOrientationActivity.java68 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
69 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DHandleSplashScreenExitActivity.java100 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
101 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
103 final int configNightMode = newConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK; in onConfigurationChanged()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/app/
DTestActivity.java139 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
140 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
141 dumpConfiguration(newConfig); in onConfigurationChanged()
142 dumpAssetSeqNumber(newConfig); in onConfigurationChanged()
147 public void onMultiWindowModeChanged(boolean isInMultiWindowMode, Configuration newConfig) { in onMultiWindowModeChanged() argument
148 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged()
149 dumpConfiguration(newConfig); in onMultiWindowModeChanged()
150 dumpAssetSeqNumber(newConfig); in onMultiWindowModeChanged()
154 private void dumpAssetSeqNumber(Configuration newConfig) { in dumpAssetSeqNumber() argument
157 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/app/src/android/app/cts/
DApplyOverrideConfigurationTest.java70 final Configuration newConfig = getActivity().getResources().getConfiguration(); in testOverriddenConfigurationIsPassedIntoCallback() local
71 assertTrue(newConfig.orientation != originalOrientation); in testOverriddenConfigurationIsPassedIntoCallback()
73 newConfig.smallestScreenWidthDp); in testOverriddenConfigurationIsPassedIntoCallback()
75 assertEquals(newConfig, callbackConfig); in testOverriddenConfigurationIsPassedIntoCallback()
DApplyOverrideConfigurationActivity.java51 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
52 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
56 mOnConfigurationChangedFuture.complete(new Configuration(newConfig)); in onConfigurationChanged()
/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/tests/widget/src/android/widget/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.java49 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
50 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
DDisplayTestActivity.java39 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
40 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/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/autofillservice/src/android/autofillservice/cts/activities/
DMultiWindowLoginActivity.java53 public void onMultiWindowModeChanged(boolean isInMultiWindowMode, Configuration newConfig) { in onMultiWindowModeChanged() argument
54 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged()
/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/framework/base/windowmanager/src/android/server/wm/
DWindowContextTests.java304 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument
305 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
385 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
386 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
387 mConfiguration = newConfig; in onConfigurationChanged()
423 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument
424 mConfiguration = newConfig; in onConfigurationChanged()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt93 val newConfig = Configuration(resources.configuration) in hashCode() constant
94 newConfig.uiMode = mode in hashCode()
95 resources.updateConfiguration(newConfig, resources.displayMetrics) in hashCode()
96 onConfigurationChanged(newConfig) in hashCode()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.kt93 val newConfig = Configuration(resources.configuration) in hashCode() constant
94 newConfig.uiMode = mode in hashCode()
95 resources.updateConfiguration(newConfig, resources.displayMetrics) in hashCode()
96 onConfigurationChanged(newConfig) in hashCode()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestActivity.java78 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
79 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
/cts/tests/tests/media/src/android/media/cts/
DDynamicsProcessingTest.java1227 DynamicsProcessing.Config newConfig = builder.build(); in test3_0Builder_stagesAllChannels() local
1230 TEST_GAIN1, newConfig.getPreEqBandByChannelIndex(i, TEST_BAND_INDEX).getGain(), in test3_0Builder_stagesAllChannels()
1235 newConfig.getMbcBandByChannelIndex(i, TEST_BAND_INDEX).getPreGain(), in test3_0Builder_stagesAllChannels()
1240 newConfig.getPostEqBandByChannelIndex(i, TEST_BAND_INDEX).getGain(), in test3_0Builder_stagesAllChannels()
1244 TEST_GAIN1, newConfig.getLimiterByChannelIndex(i).getPostGain(), EPSILON); in test3_0Builder_stagesAllChannels()
1289 DynamicsProcessing.Config newConfig = builder.build(); in test3_1Builder_stagesByChannelIndex() local
1295 newConfig.getInputGainByChannelIndex(i), in test3_1Builder_stagesByChannelIndex()
1300 newConfig.getPreEqBandByChannelIndex(i, TEST_BAND_INDEX).getGain(), in test3_1Builder_stagesByChannelIndex()
1305 newConfig.getMbcBandByChannelIndex(i, TEST_BAND_INDEX).getPreGain(), in test3_1Builder_stagesByChannelIndex()
1310 newConfig.getPostEqBandByChannelIndex(i, TEST_BAND_INDEX).getGain(), in test3_1Builder_stagesByChannelIndex()
[all …]

12