Home
last modified time | relevance | path

Searched refs:CONFIG_SCREEN_SIZE (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/mockingcoretests/src/android/window/
DSizeConfigurationBucketsTest.java21 import static android.content.pm.ActivityInfo.CONFIG_SCREEN_SIZE;
95 final int diff = CONFIG_SCREEN_SIZE | CONFIG_SMALLEST_SCREEN_SIZE | CONFIG_SCREEN_LAYOUT in testNullSizeConfigurationBuckets()
301 assertEquals(0, SizeConfigurationBuckets.filterDiff(CONFIG_SCREEN_SIZE, oldConfig, in testHorizontalSizeThresholds()
305 assertEquals(CONFIG_SCREEN_SIZE, SizeConfigurationBuckets.filterDiff(CONFIG_SCREEN_SIZE, in testHorizontalSizeThresholds()
326 assertEquals(0, SizeConfigurationBuckets.filterDiff(CONFIG_SCREEN_SIZE, oldConfig, in testVerticalSizeThresholds()
330 assertEquals(CONFIG_SCREEN_SIZE, SizeConfigurationBuckets.filterDiff(CONFIG_SCREEN_SIZE, in testVerticalSizeThresholds()
/frameworks/base/core/java/android/window/
DSizeConfigurationBuckets.java20 import static android.content.pm.ActivityInfo.CONFIG_SCREEN_SIZE;
116 if ((diff & CONFIG_SCREEN_SIZE) != 0) { in filterDiff()
122 diff &= ~CONFIG_SCREEN_SIZE; in filterDiff()
DWindowContainerTransaction.java143 chg.mConfigSetMask |= ActivityInfo.CONFIG_SCREEN_SIZE; in setScreenSizeDp()
1296 final boolean changesSs = (mConfigSetMask & ActivityInfo.CONFIG_SCREEN_SIZE) != 0; in toString()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonView.java74 if ((changes & ActivityInfo.CONFIG_SCREEN_SIZE) != 0 in onConfigurationChanged()
DFloatingRotationButton.java247 || (configurationChanges & ActivityInfo.CONFIG_SCREEN_SIZE) != 0) { in onConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsActivity.kt101 ActivityInfo.CONFIG_SCREEN_SIZE or in <lambda>()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java27 import static android.content.pm.ActivityInfo.CONFIG_SCREEN_SIZE;
231 CONFIG_SCREEN_SIZE /* handledConfigChanges */, in testShouldReportChange()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java937 CONFIG_SCREEN_SIZE,
1021 public static final int CONFIG_SCREEN_SIZE = 0x0400;
1629 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationSettingsTest.java338 mWindowMagnificationSettings.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onWindowBoundsChanged_updateDraggableWindowBounds()
376 mWindowMagnificationSettings.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onScreenSizeChanged_resetPositionToRightBottomCorner()
DFullscreenMagnificationControllerTest.java251 ActivityInfo.CONFIG_SCREEN_SIZE)); in onScreenSizeChanged_activated_borderChangedToExpectedSize()
DWindowMagnificationControllerWindowlessMagnifierTest.java547 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onConfigurationChanged_disabled_withoutException()
616 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
653 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow()
679 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in screenSizeIsChangedToLarge_enabled_defaultWindowSize()
DWindowMagnificationControllerTest.java530 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onConfigurationChanged_disabled_withoutException()
599 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
636 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onScreenSizeAndDensityChanged_enabled_restoreSavedMagnifierWindow()
662 mWindowMagnificationController.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in screenSizeIsChangedToLarge_enabled_defaultWindowSize()
DMagnificationModeSwitchTest.java610 mMagnificationModeSwitch.onConfigurationChanged(ActivityInfo.CONFIG_SCREEN_SIZE); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition()
/frameworks/base/core/java/android/content/res/
DConfiguration.java524 if ((diff & ActivityInfo.CONFIG_SCREEN_SIZE) != 0) { in configurationDiffToString()
1754 changed |= ActivityInfo.CONFIG_SCREEN_SIZE; in updateFrom()
1759 changed |= ActivityInfo.CONFIG_SCREEN_SIZE; in updateFrom()
1865 if ((mask & ActivityInfo.CONFIG_SCREEN_SIZE) != 0) { in setTo()
1993 changed |= ActivityInfo.CONFIG_SCREEN_SIZE; in diff()
1997 changed |= ActivityInfo.CONFIG_SCREEN_SIZE; in diff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DFullscreenMagnificationController.java292 || (configDiff & ActivityInfo.CONFIG_SCREEN_SIZE) != 0 in onConfigurationChanged()
DMagnificationModeSwitch.java388 if ((configDiff & (ActivityInfo.CONFIG_ORIENTATION | ActivityInfo.CONFIG_SCREEN_SIZE)) in onConfigurationChanged()
DWindowMagnificationSettings.java593 || (configDiff & ActivityInfo.CONFIG_SCREEN_SIZE) != 0) { in onConfigurationChanged()
DWindowMagnificationController.java566 if ((configDiff & ActivityInfo.CONFIG_SCREEN_SIZE) != 0) { in onConfigurationChanged()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1281 CONFIG_SCREEN_SIZE = ACONFIGURATION_SCREEN_SIZE, enumerator
/frameworks/base/core/java/android/app/
DResourcesManager.java1455 | ActivityInfo.CONFIG_SCREEN_SIZE in applyConfigurationToResources()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java68 import static android.content.pm.ActivityInfo.CONFIG_SCREEN_SIZE;
9599 | CONFIG_SCREEN_SIZE | CONFIG_ORIENTATION;
10036 && (changes & ~(CONFIG_SCREEN_SIZE | CONFIG_SMALLEST_SCREEN_SIZE
10193 return (change & (CONFIG_SCREEN_SIZE | CONFIG_SMALLEST_SCREEN_SIZE | CONFIG_ORIENTATION
DWindowOrganizerController.java160 | ActivityInfo.CONFIG_SMALLEST_SCREEN_SIZE | ActivityInfo.CONFIG_SCREEN_SIZE
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java32 import static android.content.pm.ActivityInfo.CONFIG_SCREEN_SIZE;
193 CONFIG_ORIENTATION | CONFIG_SCREEN_LAYOUT | CONFIG_SCREEN_SIZE
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2292 if (screenSize != o.screenSize) diffs |= CONFIG_SCREEN_SIZE; in diff()
2301 if (screenSizeDp != o.screenSizeDp) diffs |= CONFIG_SCREEN_SIZE; in diff()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java7884 mResolveActivity.configChanges = ActivityInfo.CONFIG_SCREEN_SIZE in setPlatformPackage()

12