/frameworks/base/core/java/android/content/res/ |
D | ThemedResourceCache.java | 139 public void onConfigurationChange(@Config int configChanges) { in onConfigurationChange() argument 141 pruneLocked(configChanges); in onConfigurationChange() 154 protected abstract boolean shouldInvalidateEntry(@NonNull T entry, int configChanges); in shouldInvalidateEntry() argument 219 private boolean pruneLocked(@Config int configChanges) { in pruneLocked() argument 222 if (pruneEntriesLocked(mThemedEntries.valueAt(i), configChanges)) { in pruneLocked() 228 pruneEntriesLocked(mNullThemedEntries, configChanges); in pruneLocked() 229 pruneEntriesLocked(mUnthemedEntries, configChanges); in pruneLocked() 236 @Config int configChanges) { in pruneEntriesLocked() argument 243 if (ref == null || pruneEntryLocked(ref.get(), configChanges)) { in pruneEntriesLocked() 251 private boolean pruneEntryLocked(@Nullable T entry, @Config int configChanges) { in pruneEntryLocked() argument [all …]
|
D | ConfigurationBoundResourceCache.java | 53 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { in shouldInvalidateEntry() argument 54 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations()); in shouldInvalidateEntry()
|
D | DrawableCache.java | 52 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { in shouldInvalidateEntry() argument 53 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations()); in shouldInvalidateEntry()
|
D | ResourcesImpl.java | 450 final @Config int configChanges = calcConfigChanges(config); in updateConfigurationImpl() local 462 if ((configChanges & ActivityInfo.CONFIG_LOCALE) != 0) { in updateConfigurationImpl() 567 mDrawableCache.onConfigurationChange(configChanges); in updateConfigurationImpl() 568 mColorDrawableCache.onConfigurationChange(configChanges); in updateConfigurationImpl() 569 mComplexColorCache.onConfigurationChange(configChanges); in updateConfigurationImpl() 570 mAnimatorCache.onConfigurationChange(configChanges); in updateConfigurationImpl() 571 mStateListAnimatorCache.onConfigurationChange(configChanges); in updateConfigurationImpl()
|
D | Configuration.java | 2042 public static boolean needNewResources(@Config int configChanges, in needNewResources() argument 2048 return (configChanges & interestingChanges) != 0; in needNewResources()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/sysui/ |
D | ShellControllerTest.java | 274 assertTrue(mConfigChangeListener.configChanges == 1); in testAddConfigurationChangeListener_ensureCallback() 285 assertTrue(mConfigChangeListener.configChanges == 1); in testDoubleAddConfigurationChangeListener_ensureSingleCallback() 296 assertTrue(mConfigChangeListener.configChanges == 0); in testAddRemoveConfigurationChangeListener_ensureNoCallback() 308 assertTrue(mConfigChangeListener.configChanges == 1); in testMultipleConfigurationChangeListeners() 309 assertTrue(listener2.configChanges == 1); in testMultipleConfigurationChangeListeners() 336 assertTrue(mConfigChangeListener.configChanges == 1); in testDensityChangeCallback() 350 assertTrue(mConfigChangeListener.configChanges == 1); in testFontScaleChangeCallback() 364 assertTrue(mConfigChangeListener.configChanges == 1); in testSmallestWidthChangeCallback() 378 assertTrue(mConfigChangeListener.configChanges == 1); in testThemeChangeCallback() 392 assertTrue(mConfigChangeListener.configChanges == 1); in testNightModeChangeCallback() [all …]
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ParsedActivityImpl.java | 76 private int configChanges; field in ParsedActivityImpl 114 this.configChanges = other.configChanges; in ParsedActivityImpl() 150 activity.configChanges = ParsedActivityUtils.getActivityConfigChanges(0, 0); in makeAppDetailsActivity() 170 alias.configChanges = target.getConfigChanges(); in makeAlias() 306 dest.writeInt(this.configChanges); in writeToParcel() 346 this.configChanges = in.readInt(); in ParsedActivityImpl() 409 int configChanges, in ParsedActivityImpl() argument 435 this.configChanges = configChanges; in ParsedActivityImpl() 506 return configChanges; in getConfigChanges() 629 configChanges = value; in setConfigChanges()
|
D | ParsedActivityUtils.java | 652 public static int getActivityConfigChanges(int configChanges, int recreateOnConfigChanges) { in getActivityConfigChanges() argument 653 return configChanges | ((~recreateOnConfigChanges) & RECREATE_ON_CONFIG_CHANGES_MASK); in getActivityConfigChanges()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | InterestingConfigChanges.java | 60 int configChanges = mLastConfiguration.updateFrom( in applyNewConfig() local 62 return (configChanges & (mFlags)) != 0; in applyNewConfig()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
D | PackageParserLegacyCoreTest.java | 352 int configChanges = 0x0000; // 00000000. in testGetActivityConfigChanges() local 354 int finalConfigChanges = ParsedActivityUtils.getActivityConfigChanges(configChanges, in testGetActivityConfigChanges() 359 configChanges = 0x0000; // 00000000. in testGetActivityConfigChanges() 361 finalConfigChanges = ParsedActivityUtils.getActivityConfigChanges(configChanges, in testGetActivityConfigChanges() 366 configChanges = 0x0003; // 00000011. in testGetActivityConfigChanges() 368 finalConfigChanges = ParsedActivityUtils.getActivityConfigChanges(configChanges, in testGetActivityConfigChanges() 373 finalConfigChanges = ParsedActivityUtils.getActivityConfigChanges(configChanges, in testGetActivityConfigChanges() 378 configChanges = 0x0080; // 10000000, orientation. in testGetActivityConfigChanges() 380 finalConfigChanges = ParsedActivityUtils.getActivityConfigChanges(configChanges, in testGetActivityConfigChanges()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | ImsConfigurationTracker.java | 78 public void setHandledConfigChanges(int configChanges) { in setHandledConfigChanges() argument 79 mHandledConfigChanges = configChanges; in setHandledConfigChanges()
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 1629 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE 1631 : configChanges; 1646 public int configChanges; 1742 configChanges = orig.configChanges; 2077 || configChanges != 0 || softInputMode != 0) { 2079 + " configChanges=0x" + Integer.toHexString(configChanges) 2144 dest.writeInt(configChanges); 2271 configChanges = source.readInt();
|
D | PackageParser.java | 4279 a.info.configChanges = getActivityConfigChanges(0, 0); in generateAppDetailsHiddenActivity() 4431 a.info.configChanges = getActivityConfigChanges( in parseActivity() 4520 a.info.configChanges = 0; in parseActivity() 4788 public static int getActivityConfigChanges(int configChanges, int recreateOnConfigChanges) { 4789 return configChanges | ((~recreateOnConfigChanges) & RECREATE_ON_CONFIG_CHANGES_MASK); 4925 info.configChanges = target.info.configChanges;
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | ActivityRelaunchItem.java | 98 @Nullable List<ReferrerIntent> pendingNewIntents, int configChanges, in obtain() argument 109 instance.mConfigChanges = configChanges; in obtain()
|
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/activity/ |
D | TorusViewerActivity.kt | 109 val configChange = packageManager.getActivityInfo(componentName, 0).configChanges in <lambda>()
|
/frameworks/base/core/java/android/app/ |
D | ClientTransactionHandler.java | 236 @Nullable List<ReferrerIntent> pendingNewIntents, int configChanges, in prepareRelaunchActivity() argument
|
D | ActivityThread.java | 6065 @Nullable List<ReferrerIntent> pendingNewIntents, int configChanges, in prepareRelaunchActivity() argument 6107 target.pendingConfigChanges |= configChanges; in prepareRelaunchActivity() 6122 int configChanges = 0; in handleRelaunchActivity() local 6135 configChanges |= tmp.pendingConfigChanges; in handleRelaunchActivity() 6149 + Integer.toHexString(configChanges)); in handleRelaunchActivity() 6190 r.activity.mConfigChangeFlags |= configChanges; in handleRelaunchActivity()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ApplicationsStateRoboTest.java | 766 final InterestingConfigChanges configChanges = mock(InterestingConfigChanges.class); in setupDoResumeIfNeededLocked() local 767 when(configChanges.applyNewConfig(any(Resources.class))).thenReturn(false); in setupDoResumeIfNeededLocked() 768 mApplicationsState.setInterestingConfigChanges(configChanges); in setupDoResumeIfNeededLocked()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 1357 ActivityBuilder setConfigChanges(int configChanges) { in setConfigChanges() argument 1358 mConfigChanges = configChanges; in setConfigChanges() 1456 aInfo.configChanges |= mConfigChanges; in buildInner()
|
D | ActivityRecordTests.java | 400 activity.info.configChanges &= ~CONFIG_ORIENTATION; in testSetsRelaunchReason_NotDragResizing() 424 activity.info.configChanges &= ~CONFIG_ORIENTATION; in testSetsRelaunchReason_DragResizing() 450 activity.info.configChanges &= ~CONFIG_ORIENTATION; in testRelaunchClearTopWaitingTranslucent() 470 activity.info.configChanges &= ~ActivityInfo.CONFIG_FONT_SCALE; in testSetsRelaunchReason_NonResizeConfigChanges()
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 365 ai.configChanges = a.getConfigChanges(); in generateActivityInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 574 ai.configChanges = a.getConfigChanges(); in generateActivityInfo()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRecord.java | 1355 if (info.configChanges != 0) { in dump() 1356 pw.println(prefix + "configChanges=0x" + Integer.toHexString(info.configChanges)); in dump() 6831 void startFreezingScreenLocked(WindowProcessController app, int configChanges) { in startFreezingScreenLocked() argument 6840 int freezableConfigChanges = configChanges & ~(CONFIG_WINDOW_CONFIGURATION); in startFreezingScreenLocked()
|
D | ActivityTaskManagerService.java | 1514 a.configChanges = 0xffffffff; in startDreamActivityInternal()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 4741 final int configChanges = mLastConfiguration.updateFrom(res.getConfiguration()); in invalidateOwnerNameIfNecessary() local 4742 if (forceUpdate || (configChanges & mOwnerNameTypedValue.changingConfigurations) != 0) { in invalidateOwnerNameIfNecessary()
|