Home | History | Annotate | Download | only in app

Lines Matching defs:overrideConfig

96         public final Configuration overrideConfig = new Configuration();
326 if (DEBUG) Slog.v(TAG, "Applied overrideConfig=" + key.mOverrideConfiguration);
406 * @param overrideConfig The override configuration to be checked for equality with.
411 @Nullable Configuration overrideConfig) {
416 return overrideConfig == null;
420 return Objects.equals(activityResources.overrideConfig, overrideConfig)
421 || (overrideConfig != null && activityResources.overrideConfig != null
422 && 0 == overrideConfig.diffPublicOnly(
423 activityResources.overrideConfig));
519 * @param overrideConfig The configuration to apply on top of the base configuration. Can be
533 @Nullable Configuration overrideConfig,
545 overrideConfig != null ? new Configuration(overrideConfig) : null, // Copy
560 updateResourcesForActivity(activityToken, overrideConfig, displayId,
601 && !activityResources.overrideConfig.equals(Configuration.EMPTY)) {
602 final Configuration temp = new Configuration(activityResources.overrideConfig);
670 * (resDir, splitResDirs, overrideConfig) for a given Activity, the same Resources object
684 * @param overrideConfig The configuration to apply on top of the base configuration. Can be
699 @Nullable Configuration overrideConfig,
710 overrideConfig != null ? new Configuration(overrideConfig) : null, // Copy
720 * Updates an Activity's Resources object with overrideConfig. The Resources object
726 * @param overrideConfig The configuration override to update.
731 @Nullable Configuration overrideConfig, int displayId,
740 if (Objects.equals(activityResources.overrideConfig, overrideConfig)
748 final Configuration oldConfig = new Configuration(activityResources.overrideConfig);
751 if (overrideConfig != null) {
752 overrideConfig.setTo(overrideConfig);
754 activityResources.overrideConfig.unset();
765 activityResources.overrideConfig) + " displayId=" + displayId,
770 !activityResources.overrideConfig.equals(Configuration.EMPTY);
793 if (overrideConfig != null) {
794 rebasedOverrideConfig.setTo(overrideConfig);