Home
last modified time | relevance | path

Searched refs:configChanges (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/content/res/
DThemedResourceCache.java122 public void onConfigurationChange(@Config int configChanges) { in onConfigurationChange() argument
123 prune(configChanges); in onConfigurationChange()
134 protected abstract boolean shouldInvalidateEntry(@NonNull T entry, int configChanges); in shouldInvalidateEntry() argument
199 private boolean prune(@Config int configChanges) { in prune() argument
203 if (pruneEntriesLocked(mThemedEntries.valueAt(i), configChanges)) { in prune()
209 pruneEntriesLocked(mNullThemedEntries, configChanges); in prune()
210 pruneEntriesLocked(mUnthemedEntries, configChanges); in prune()
218 @Config int configChanges) { in pruneEntriesLocked() argument
225 if (ref == null || pruneEntryLocked(ref.get(), configChanges)) { in pruneEntriesLocked()
233 private boolean pruneEntryLocked(@Nullable T entry, @Config int configChanges) { in pruneEntryLocked() argument
[all …]
DDrawableCache.java51 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { in shouldInvalidateEntry() argument
52 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations()); in shouldInvalidateEntry()
DConfigurationBoundResourceCache.java53 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { in shouldInvalidateEntry() argument
54 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations()); in shouldInvalidateEntry()
DResourcesImpl.java403 final @Config int configChanges = calcConfigChanges(config); in updateConfiguration() local
412 if ((configChanges & ActivityInfo.CONFIG_LOCALE) != 0) { in updateConfiguration()
482 mDrawableCache.onConfigurationChange(configChanges); in updateConfiguration()
483 mColorDrawableCache.onConfigurationChange(configChanges); in updateConfiguration()
484 mComplexColorCache.onConfigurationChange(configChanges); in updateConfiguration()
485 mAnimatorCache.onConfigurationChange(configChanges); in updateConfiguration()
486 mStateListAnimatorCache.onConfigurationChange(configChanges); in updateConfiguration()
DConfiguration.java1759 public static boolean needNewResources(@Config int configChanges, in needNewResources() argument
1765 return (configChanges & interestingChanges) != 0; in needNewResources()
/frameworks/base/core/java/android/app/
DClientTransactionHandler.java91 public abstract void handleDestroyActivity(IBinder token, boolean finishing, int configChanges, in handleDestroyActivity() argument
96 int configChanges, PendingTransactionActions pendingActions, String reason); in handlePauseActivity() argument
130 public abstract void handleStopActivity(IBinder token, boolean show, int configChanges, in handleStopActivity() argument
200 int configChanges, MergedConfiguration config, boolean preserveWindow); in prepareRelaunchActivity() argument
DActivityThread.java4438 int configChanges, PendingTransactionActions pendingActions, String reason) { in handlePauseActivity() argument
4445 r.activity.mConfigChangeFlags |= configChanges; in handlePauseActivity()
4703 public void handleStopActivity(IBinder token, boolean show, int configChanges, in handleStopActivity() argument
4706 r.activity.mConfigChangeFlags |= configChanges; in handleStopActivity()
4935 int configChanges, boolean getNonConfigInstance, String reason) { in performDestroyActivity() argument
4941 r.activity.mConfigChangeFlags |= configChanges; in performDestroyActivity()
5008 public void handleDestroyActivity(IBinder token, boolean finishing, int configChanges, in handleDestroyActivity() argument
5011 configChanges, getNonConfigInstance, reason); in handleDestroyActivity()
5082 int configChanges, MergedConfiguration config, boolean preserveWindow) { in prepareRelaunchActivity() argument
5122 target.pendingConfigChanges |= configChanges; in prepareRelaunchActivity()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java270 int configChanges = 0x0000; // 00000000. in testGetActivityConfigChanges() local
273 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
277 configChanges = 0x0000; // 00000000. in testGetActivityConfigChanges()
280 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
284 configChanges = 0x0003; // 00000011. in testGetActivityConfigChanges()
287 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
292 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
296 configChanges = 0x0080; // 10000000, orientation. in testGetActivityConfigChanges()
299 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java884 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE in getRealConfigChanged()
886 : configChanges; in getRealConfigChanged()
901 public int configChanges; field in ActivityInfo
996 configChanges = orig.configChanges; in ActivityInfo()
1157 || configChanges != 0 || softInputMode != 0) { in dump()
1159 + " configChanges=0x" + Integer.toHexString(configChanges) in dump()
1209 dest.writeInt(configChanges); in writeToParcel()
1340 configChanges = source.readInt(); in ActivityInfo()
DPackageParser.java4343 a.info.configChanges = getActivityConfigChanges(0, 0); in generateAppDetailsHiddenActivity()
4495 a.info.configChanges = getActivityConfigChanges( in parseActivity()
4579 a.info.configChanges = 0; in parseActivity()
4845 public static int getActivityConfigChanges(int configChanges, int recreateOnConfigChanges) { in getActivityConfigChanges() argument
4846 return configChanges | ((~recreateOnConfigChanges) & RECREATE_ON_CONFIG_CHANGES_MASK); in getActivityConfigChanges()
4953 info.configChanges = target.info.configChanges; in parseActivityAlias()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DInterestingConfigChanges.java39 int configChanges = mLastConfiguration.updateFrom( in applyNewConfig() local
42 if (densityChanged || (configChanges & (mFlags)) != 0) { in applyNewConfig()
/frameworks/base/core/java/android/app/servertransaction/
DDestroyActivityItem.java60 public static DestroyActivityItem obtain(boolean finished, int configChanges) { in obtain() argument
66 instance.mConfigChanges = configChanges; in obtain()
DStopActivityItem.java63 public static StopActivityItem obtain(boolean showWindow, int configChanges) { in obtain() argument
69 instance.mConfigChanges = configChanges; in obtain()
DPauseActivityItem.java76 public static PauseActivityItem obtain(boolean finished, boolean userLeaving, int configChanges, in obtain() argument
84 instance.mConfigChanges = configChanges; in obtain()
DActivityRelaunchItem.java85 List<ReferrerIntent> pendingNewIntents, int configChanges, MergedConfiguration config, in obtain() argument
93 instance.mConfigChanges = configChanges; in obtain()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java284 mActivity.info.configChanges &= ~ActivityInfo.CONFIG_ORIENTATION; in testSetsRelaunchReason_NotDragResizing()
306 mActivity.info.configChanges &= ~ActivityInfo.CONFIG_ORIENTATION; in testSetsRelaunchReason_DragResizing()
330 mActivity.info.configChanges &= ~ActivityInfo.CONFIG_FONT_SCALE; in testSetsRelaunchReason_NonResizeConfigChanges()
352 mActivity.info.configChanges |= ActivityInfo.CONFIG_ORIENTATION; in testSetRequestedOrientationUpdatesConfiguration()
425 mActivity.info.configChanges |= ActivityInfo.CONFIG_ORIENTATION; in testPushConfigurationWhenLaunchTaskBehind()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java707 final InterestingConfigChanges configChanges = mock(InterestingConfigChanges.class); in setupDoResumeIfNeededLocked() local
708 when(configChanges.applyNewConfig(any(Resources.class))).thenReturn(false); in setupDoResumeIfNeededLocked()
709 mApplicationsState.setInterestingConfigChanges(configChanges); in setupDoResumeIfNeededLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DRootActivityContainer.java807 void ensureActivitiesVisible(ActivityRecord starting, int configChanges, in ensureActivitiesVisible() argument
809 ensureActivitiesVisible(starting, configChanges, preserveWindows, true /* notifyClients */); in ensureActivitiesVisible()
815 void ensureActivitiesVisible(ActivityRecord starting, int configChanges, in ensureActivitiesVisible() argument
822 display.ensureActivitiesVisible(starting, configChanges, preserveWindows, in ensureActivitiesVisible()
DActivityDisplay.java1311 void ensureActivitiesVisible(ActivityRecord starting, int configChanges, in ensureActivitiesVisible() argument
1315 stack.ensureActivitiesVisibleLocked(starting, configChanges, preserveWindows, in ensureActivitiesVisible()
DActivityStack.java2120 final void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges, in ensureActivitiesVisibleLocked() argument
2122 ensureActivitiesVisibleLocked(starting, configChanges, preserveWindows, in ensureActivitiesVisibleLocked()
2132 final void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges, in ensureActivitiesVisibleLocked() argument
2140 + " configChanges=0x" + Integer.toHexString(configChanges)); in ensureActivitiesVisibleLocked()
2184 if (makeVisibleAndRestartIfNeeded(starting, configChanges, isTop, in ensureActivitiesVisibleLocked()
2213 configChanges |= r.configChangeFlags; in ensureActivitiesVisibleLocked()
2368 private boolean makeVisibleAndRestartIfNeeded(ActivityRecord starting, int configChanges, in makeVisibleAndRestartIfNeeded() argument
2379 r.startFreezingScreenLocked(r.app, configChanges); in makeVisibleAndRestartIfNeeded()
DActivityRecord.java2338 public void startFreezingScreenLocked(WindowProcessController app, int configChanges) { in startFreezingScreenLocked() argument
2347 int freezableConfigChanges = configChanges & ~(CONFIG_WINDOW_CONFIGURATION); in startFreezingScreenLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java12161 mResolveActivity.configChanges = ActivityInfo.CONFIG_SCREEN_SIZE
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt434 field public static final int configChanges = 16842783; // 0x101001f
8341 field public int configChanges;
/frameworks/base/non-updatable-api/
Dcurrent.txt455 field public static final int configChanges = 16842783; // 0x101001f
11048 field public int configChanges;
/frameworks/base/api/
Dcurrent.txt455 field public static final int configChanges = 16842783; // 0x101001f
11048 field public int configChanges;

12