Home
last modified time | relevance | path

Searched refs:configChanges (Results 1 – 25 of 37) 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 …]
DConfigurationBoundResourceCache.java53 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { in shouldInvalidateEntry() argument
54 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations()); in shouldInvalidateEntry()
DDrawableCache.java52 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { in shouldInvalidateEntry() argument
53 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations()); in shouldInvalidateEntry()
DResourcesImpl.java391 final @Config int configChanges = calcConfigChanges(config); in updateConfiguration() local
400 if ((configChanges & ActivityInfo.CONFIG_LOCALE) != 0) { in updateConfiguration()
470 mDrawableCache.onConfigurationChange(configChanges); in updateConfiguration()
471 mColorDrawableCache.onConfigurationChange(configChanges); in updateConfiguration()
472 mComplexColorCache.onConfigurationChange(configChanges); in updateConfiguration()
473 mAnimatorCache.onConfigurationChange(configChanges); in updateConfiguration()
474 mStateListAnimatorCache.onConfigurationChange(configChanges); in updateConfiguration()
/frameworks/base/services/core/java/com/android/server/wm/
DEnsureActivitiesVisibleHelper.java51 void reset(ActivityRecord starting, int configChanges, boolean preserveWindows, in reset() argument
60 mConfigChanges = configChanges; in reset()
80 void process(@Nullable ActivityRecord starting, int configChanges, boolean preserveWindows, in process() argument
82 reset(starting, configChanges, preserveWindows, notifyClients); in process()
86 + " configChanges=0x" + Integer.toHexString(configChanges)); in process()
197 private void makeVisibleAndRestartIfNeeded(ActivityRecord starting, int configChanges, in makeVisibleAndRestartIfNeeded() argument
213 r.startFreezingScreenLocked(configChanges); in makeVisibleAndRestartIfNeeded()
DTaskDisplayArea.java2046 void ensureActivitiesVisible(ActivityRecord starting, int configChanges,
2051 rootTask.ensureActivitiesVisible(starting, configChanges, preserveWindows,
DRootWindowContainer.java1967 void ensureActivitiesVisible(ActivityRecord starting, int configChanges, in ensureActivitiesVisible() argument
1969 ensureActivitiesVisible(starting, configChanges, preserveWindows, true /* notifyClients */); in ensureActivitiesVisible()
1975 void ensureActivitiesVisible(ActivityRecord starting, int configChanges, in ensureActivitiesVisible() argument
1987 display.ensureActivitiesVisible(starting, configChanges, preserveWindows, in ensureActivitiesVisible()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedActivity.java61 int configChanges; field in ParsedActivity
97 this.configChanges = other.configChanges; in ParsedActivity()
129 activity.configChanges = ParsedActivityUtils.getActivityConfigChanges(0, 0); in makeAppDetailsActivity()
148 alias.configChanges = target.configChanges; in makeAlias()
282 dest.writeInt(this.configChanges); in writeToParcel()
319 this.configChanges = in.readInt(); in ParsedActivity()
394 return configChanges; in getConfigChanges()
DParsedActivityUtils.java167 activity.configChanges = getActivityConfigChanges( in parseActivityOrReceiver()
193 activity.configChanges = 0; in parseActivityOrReceiver()
585 static int getActivityConfigChanges(int configChanges, int recreateOnConfigChanges) { in getActivityConfigChanges() argument
586 return configChanges | ((~recreateOnConfigChanges) & RECREATE_ON_CONFIG_CHANGES_MASK); in getActivityConfigChanges()
/frameworks/base/core/java/android/app/
DClientTransactionHandler.java93 int configChanges, boolean getNonConfigInstance, String reason); in handleDestroyActivity() argument
97 boolean userLeaving, int configChanges, PendingTransactionActions pendingActions, in handlePauseActivity() argument
131 public abstract void handleStopActivity(@NonNull ActivityClientRecord r, int configChanges, in handleStopActivity() argument
233 int configChanges, MergedConfiguration config, boolean preserveWindow); in prepareRelaunchActivity() argument
DActivityThread.java4942 int configChanges, PendingTransactionActions pendingActions, String reason) { in handlePauseActivity() argument
4947 r.activity.mConfigChangeFlags |= configChanges; in handlePauseActivity()
5191 public void handleStopActivity(ActivityClientRecord r, int configChanges, in handleStopActivity() argument
5193 r.activity.mConfigChangeFlags |= configChanges; in handleStopActivity()
5351 int configChanges, boolean getNonConfigInstance, String reason) { in performDestroyActivity() argument
5355 r.activity.mConfigChangeFlags |= configChanges; in performDestroyActivity()
5421 public void handleDestroyActivity(ActivityClientRecord r, boolean finishing, int configChanges, in handleDestroyActivity() argument
5423 performDestroyActivity(r, finishing, configChanges, getNonConfigInstance, reason); in handleDestroyActivity()
5486 int configChanges, MergedConfiguration config, boolean preserveWindow) { in prepareRelaunchActivity() argument
5526 target.pendingConfigChanges |= configChanges; in prepareRelaunchActivity()
[all …]
/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/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java301 int configChanges = 0x0000; // 00000000. in testGetActivityConfigChanges() local
304 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
308 configChanges = 0x0000; // 00000000. in testGetActivityConfigChanges()
311 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
315 configChanges = 0x0003; // 00000011. in testGetActivityConfigChanges()
318 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
323 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
327 configChanges = 0x0080; // 10000000, orientation. in testGetActivityConfigChanges()
330 PackageParser.getActivityConfigChanges(configChanges, recreateOnConfigChanges); in testGetActivityConfigChanges()
/frameworks/base/core/java/android/inputmethodservice/
DImsConfigurationTracker.java77 public void setHandledConfigChanges(int configChanges) { in setHandledConfigChanges() argument
78 mHandledConfigChanges = configChanges; in setHandledConfigChanges()
DIInputMethodWrapper.java283 IInputMethodPrivilegedOperations privOps, int configChanges) { in initializeInternal() argument
286 configChanges)); in initializeInternal()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java1083 ? (configChanges | ActivityInfo.CONFIG_SCREEN_SIZE in getRealConfigChanged()
1085 : configChanges; in getRealConfigChanged()
1100 public int configChanges; field in ActivityInfo
1195 configChanges = orig.configChanges; in ActivityInfo()
1500 || configChanges != 0 || softInputMode != 0) { in dump()
1502 + " configChanges=0x" + Integer.toHexString(configChanges) in dump()
1558 dest.writeInt(configChanges); in writeToParcel()
1680 configChanges = source.readInt(); in ActivityInfo()
/frameworks/base/core/java/android/app/servertransaction/
DStopActivityItem.java68 public static StopActivityItem obtain(int configChanges) { in obtain() argument
73 instance.mConfigChanges = configChanges; in obtain()
DDestroyActivityItem.java63 public static DestroyActivityItem obtain(boolean finished, int configChanges) { in obtain() argument
69 instance.mConfigChanges = configChanges; in obtain()
DPauseActivityItem.java73 public static PauseActivityItem obtain(boolean finished, boolean userLeaving, int configChanges, in obtain() argument
81 instance.mConfigChanges = configChanges; in obtain()
DActivityRelaunchItem.java88 List<ReferrerIntent> pendingNewIntents, int configChanges, MergedConfiguration config, in obtain() argument
96 instance.mConfigChanges = configChanges; in obtain()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethod.aidl39 int configChanges); in initializeInternal() argument
/frameworks/base/core/java/android/view/inputmethod/
DInputMethod.java109 IInputMethodPrivilegedOperations privilegedOperations, int configChanges) { in initializeInternal() argument
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java717 final InterestingConfigChanges configChanges = mock(InterestingConfigChanges.class); in setupDoResumeIfNeededLocked() local
718 when(configChanges.applyNewConfig(any(Resources.class))).thenReturn(false); in setupDoResumeIfNeededLocked()
719 mApplicationsState.setInterestingConfigChanges(configChanges); in setupDoResumeIfNeededLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestsBase.java899 ActivityBuilder setConfigChanges(int configChanges) { in setConfigChanges() argument
900 mConfigChanges = configChanges; in setConfigChanges()
979 aInfo.configChanges |= mConfigChanges; in buildInner()
DActivityRecordTests.java353 activity.info.configChanges &= ~CONFIG_ORIENTATION; in testSetsRelaunchReason_NotDragResizing()
378 activity.info.configChanges &= ~CONFIG_ORIENTATION; in testSetsRelaunchReason_DragResizing()
405 activity.info.configChanges &= ~CONFIG_ORIENTATION; in testRelaunchClearTopWaitingTranslucent()
426 activity.info.configChanges &= ~ActivityInfo.CONFIG_FONT_SCALE; in testSetsRelaunchReason_NonResizeConfigChanges()

12