/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImpl.kt | 45 val currentConfig = context.resources.configuration constant 47 fontScale = currentConfig.fontScale 48 density = currentConfig.densityDpi 49 smallestScreenWidth = currentConfig.smallestScreenWidthDp 50 maxBounds.set(currentConfig.windowConfiguration.maxBounds) 51 inCarMode = currentConfig.uiMode and Configuration.UI_MODE_TYPE_MASK == 53 uiMode = currentConfig.uiMode and Configuration.UI_MODE_NIGHT_MASK 54 localeList = currentConfig.locales 55 layoutDirection = currentConfig.layoutDirection
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlsActivityTest.kt | 82 val currentConfig = activityRule.activity.resources.configuration in testOrientationChangeForwardsToUiController() constant 83 val newConfig = Configuration(currentConfig) in testOrientationChangeForwardsToUiController() 84 newConfig.orientation = switchOrientation(currentConfig.orientation) in testOrientationChangeForwardsToUiController() 92 val currentConfig = activityRule.activity.resources.configuration in testScreenChangeForwardsToUiController() constant 93 val newConfig = Configuration(currentConfig) in testScreenChangeForwardsToUiController() 102 val currentConfig = activityRule.activity.resources.configuration in testChangeSmallestScreenSizeForwardsToUiController() constant 103 val newConfig = Configuration(currentConfig) in testChangeSmallestScreenSizeForwardsToUiController()
|
/frameworks/base/core/java/android/window/ |
D | ConfigurationHelper.java | 109 private static boolean shouldUpdateWindowMetricsBounds(@NonNull Configuration currentConfig, in shouldUpdateWindowMetricsBounds() argument 111 final Rect currentBounds = currentConfig.windowConfiguration.getBounds(); in shouldUpdateWindowMetricsBounds() 114 final Rect currentMaxBounds = currentConfig.windowConfiguration.getMaxBounds(); in shouldUpdateWindowMetricsBounds()
|
D | WindowTokenClient.java | 227 final Configuration currentConfig; in onConfigurationChanged() local 235 currentConfig = mShouldDumpConfigForIme ? new Configuration(mConfiguration) : null; in onConfigurationChanged() 244 + ", reported config=" + currentConfig in onConfigurationChanged() 271 + ", reported config=" + currentConfig in onConfigurationChanged()
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 207 final Configuration currentConfig = new Configuration(); in testShouldReportChange() local 210 shouldReportChange(currentConfig, newConfig, null /* sizeBuckets */, in testShouldReportChange() 220 currentConfig.screenHeightDp = 200; in testShouldReportChange() 224 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange() 228 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange() 231 currentConfig.fontScale = 0.8f; in testShouldReportChange() 235 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange() 241 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 1114 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in hasEmsSupport() 1115 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in hasEmsSupport() 1116 (TextUtils.isEmpty(currentConfig.mGid1) || in hasEmsSupport() 1117 (!TextUtils.isEmpty(currentConfig.mGid1) && in hasEmsSupport() 1118 currentConfig.mGid1.equalsIgnoreCase(gid)))) { in hasEmsSupport() 1145 for (NoEmsSupportConfig currentConfig : mNoEmsSupportConfigList) { in shouldAppendPageNumberAsPrefix() 1146 if (simOperator.startsWith(currentConfig.mOperatorNumber) && in shouldAppendPageNumberAsPrefix() 1147 (TextUtils.isEmpty(currentConfig.mGid1) || in shouldAppendPageNumberAsPrefix() 1148 (!TextUtils.isEmpty(currentConfig.mGid1) in shouldAppendPageNumberAsPrefix() 1149 && currentConfig.mGid1.equalsIgnoreCase(gid)))) { in shouldAppendPageNumberAsPrefix() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | PersistentDataStore.java | 868 BrightnessConfiguration currentConfig = mConfigurations.get(userSerial); in setBrightnessConfigurationForUser() local 869 if (currentConfig != c && (currentConfig == null || !currentConfig.equals(c))) { in setBrightnessConfigurationForUser()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 483 final Configuration currentConfig = defaultDisplay.getConfiguration(); in testDefaultDisplayOverrideConfigUpdate() local 486 final Configuration newOverrideConfig = new Configuration(currentConfig); in testDefaultDisplayOverrideConfigUpdate() 499 defaultDisplay.updateDisplayOverrideConfigurationLocked(currentConfig, in testDefaultDisplayOverrideConfigUpdate() 502 assertEquals(currentConfig.densityDpi, globalConfig.densityDpi); in testDefaultDisplayOverrideConfigUpdate() 503 assertEquals(currentConfig.fontScale, globalConfig.fontScale, 0.1 /* delta */); in testDefaultDisplayOverrideConfigUpdate()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 4611 int currentConfig = TelephonyProperties.lte_on_cdma_device() in getLteOnCdmaMode() local 4613 int lteOnCdmaModeDynamicValue = currentConfig; in getLteOnCdmaMode() 4622 if (currentConfig == RILConstants.LTE_ON_CDMA_TRUE) { in getLteOnCdmaMode() 4626 return currentConfig; in getLteOnCdmaMode()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | NotificationTest.java | 1529 Configuration currentConfig = mContext.getResources().getConfiguration(); in runInNightMode() local 1530 boolean isNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in runInNightMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 1433 Configuration currentConfig = getResources().getConfiguration(); 1434 boolean nightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK)
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 9518 final Configuration currentConfig = getConfiguration(); 9519 return changes == CONFIG_UI_MODE && (isInVrUiMode(currentConfig) 9528 final Configuration currentConfig = getConfiguration(); 9530 boolean deskModeChanged = isInDeskUiMode(currentConfig) != isInDeskUiMode( 9535 (currentConfig.uiMode & ~UI_MODE_TYPE_MASK) != (lastReportedConfig.uiMode
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 5987 public static boolean shouldReportChange(@Nullable Configuration currentConfig, in shouldReportChange() argument 5990 final int publicDiff = currentConfig.diffPublicOnly(newConfig); in shouldReportChange() 5995 final int diffWithBucket = SizeConfigurationBuckets.filterDiff(publicDiff, currentConfig, in shouldReportChange()
|
D | Notification.java | 3891 Configuration currentConfig = res.getConfiguration(); in Builder() local 3892 mInNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in Builder()
|