/frameworks/base/core/java/android/content/res/ |
H A D | ConfigurationBoundResourceCache.java | 47 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { argument 48 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations());
|
H A D | DrawableCache.java | 44 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { argument 45 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations());
|
H A D | ThemedResourceCache.java | 117 * @param configChanges a bitmask of configuration changes 119 public void onConfigurationChange(@Config int configChanges) { argument 120 prune(configChanges); 128 * @param configChanges a non-zero bitmask of configuration changes 131 protected abstract boolean shouldInvalidateEntry(@NonNull T entry, int configChanges); argument 192 * @param configChanges a bitmask of configuration changes, or {@code 0} to 196 private boolean prune(@Config int configChanges) { argument 200 if (pruneEntriesLocked(mThemedEntries.valueAt(i), configChanges)) { 206 pruneEntriesLocked(mNullThemedEntries, configChanges); 207 pruneEntriesLocked(mUnthemedEntries, configChanges); 214 pruneEntriesLocked(@ullable LongSparseArray<WeakReference<T>> entries, @Config int configChanges) argument 230 pruneEntryLocked(@ullable T entry, @Config int configChanges) argument [all...] |
H A D | Configuration.java | 1204 * @param configChanges the mask of changes configurations as returned by 1212 public static boolean needNewResources(@Config int configChanges, argument 1214 return (configChanges & (interestingChanges|ActivityInfo.CONFIG_FONT_SCALE)) != 0;
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ActivityInfo.java | 529 * Bit in {@link #configChanges} that indicates that the activity 531 * {@link android.R.attr#configChanges} attribute. 535 * Bit in {@link #configChanges} that indicates that the activity 537 * {@link android.R.attr#configChanges} attribute. 541 * Bit in {@link #configChanges} that indicates that the activity 543 * {@link android.R.attr#configChanges} attribute. 547 * Bit in {@link #configChanges} that indicates that the activity 549 * {@link android.R.attr#configChanges} attribute. 553 * Bit in {@link #configChanges} that indicates that the activity 555 * {@link android.R.attr#configChanges} attribut 713 public int configChanges; field in class:ActivityInfo [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 84 int configChanges = data.readInt(); 86 schedulePauseActivity(b, finished, userLeaving, configChanges, dontReport); 95 int configChanges = data.readInt(); 96 scheduleStopActivity(b, show, configChanges); 175 int configChanges = data.readInt(); 183 scheduleRelaunchActivity(b, ri, pi, configChanges, notResumed, config, overrideConfig, 202 int configChanges = data.readInt(); 203 scheduleDestroyActivity(b, finishing, configChanges); 776 boolean userLeaving, int configChanges, boolean dontReport) throws RemoteException { 782 data.writeInt(configChanges); 775 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) argument 789 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 888 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean preserveWindow) argument 923 scheduleDestroyActivity(IBinder token, boolean finishing, int configChanges) argument [all...] |
H A D | IApplicationThread.java | 52 int configChanges, boolean dontReport) throws RemoteException; 54 int configChanges) throws RemoteException; 67 List<ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, 72 int configChanges) throws RemoteException; 51 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) argument 53 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 66 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean preserveWindow) argument 71 scheduleDestroyActivity(IBinder token, boolean finished, int configChanges) argument
|
H A D | ActivityThread.java | 658 boolean userLeaving, int configChanges, boolean dontReport) { 666 configChanges, 671 int configChanges) { 677 token, 0, configChanges, seq); 747 int configChanges, boolean notResumed, Configuration config, 750 configChanges, notResumed, config, overrideConfig, true, preserveWindow); 762 int configChanges) { 764 configChanges); 3623 boolean userLeaving, int configChanges, boolean dontReport, int seq) { 3635 r.activity.mConfigChangeFlags |= configChanges; 657 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport) argument 670 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 745 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean preserveWindow) argument 761 scheduleDestroyActivity(IBinder token, boolean finishing, int configChanges) argument 3622 handlePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges, boolean dontReport, int seq) argument 3878 handleStopActivity(IBinder token, boolean show, int configChanges, int seq) argument 4108 performDestroyActivity(IBinder token, boolean finishing, int configChanges, boolean getNonConfigInstance) argument 4183 handleDestroyActivity(IBinder token, boolean finishing, int configChanges, boolean getNonConfigInstance) argument 4258 requestRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean fromServer, boolean preserveWindow) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityRecord.java | 1145 public void startFreezingScreenLocked(ProcessRecord app, int configChanges) { argument 1147 service.mWindowManager.startAppFreezingScreen(appToken, configChanges);
|
H A D | ActivityStack.java | 1693 final void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges, argument 1697 + " configChanges=0x" + Integer.toHexString(configChanges)); 1745 if (makeVisibleAndRestartIfNeeded(starting, configChanges, isTop, 1766 configChanges |= r.configChangeFlags; 1862 private boolean makeVisibleAndRestartIfNeeded(ActivityRecord starting, int configChanges, argument 1873 r.startFreezingScreenLocked(r.app, configChanges); 5195 (r.info.flags & FLAG_SHOW_FOR_ALL_USERS) != 0, r.userId, r.info.configChanges,
|
H A D | ActivityStackSupervisor.java | 2895 void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges, argument 2903 stack.ensureActivitiesVisibleLocked(starting, configChanges, preserveWindows);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 3421 int configChanges, boolean voiceInteraction, boolean launchTaskBehind, 3455 atoken.layoutConfigChanges = (configChanges & 4643 public void startAppFreezingScreen(IBinder token, int configChanges) { argument 4650 if (configChanges == 0 && okToDisplay()) { 3419 addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, int requestedOrientation, boolean fullscreen, boolean showForAllUsers, int userId, int configChanges, boolean voiceInteraction, boolean launchTaskBehind, Rect taskBounds, Configuration config, int taskResizeMode, boolean alwaysFocusable, boolean homeTask, int targetSdkVersion) argument
|