/frameworks/base/core/java/android/view/ |
D | DisplayAdjustments.java | 22 import android.content.res.CompatibilityInfo; 31 private volatile CompatibilityInfo mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; 50 public void setCompatibilityInfo(@Nullable CompatibilityInfo compatInfo) { in setCompatibilityInfo() 59 mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in setCompatibilityInfo() 63 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
|
D | InsetsAnimationThreadControlRunner.java | 24 import android.content.res.CompatibilityInfo; 116 CompatibilityInfo.Translator translator, Handler mainThreadHandler, in InsetsAnimationThreadControlRunner()
|
D | ViewRootInsetsControllerHost.java | 23 import android.content.res.CompatibilityInfo; 261 public CompatibilityInfo.Translator getTranslator() { in getTranslator()
|
D | DisplayInfo.java | 32 import android.content.res.CompatibilityInfo; 744 getAppMetrics(outMetrics, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getAppMetrics() 752 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, in getAppMetrics() 765 public void getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getLogicalMetrics() 774 public void getMaxBoundsMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMaxBoundsMetrics() 813 private void getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMetricsWithSize()
|
D | InsetsAnimationControlImpl.java | 50 import android.content.res.CompatibilityInfo; 105 private final CompatibilityInfo.Translator mTranslator; 126 CompatibilityInfo.Translator translator, @Nullable ImeTracker.Token statsToken) { in InsetsAnimationControlImpl()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 45 public class CompatibilityInfo implements Parcelable { class 48 public static final CompatibilityInfo DEFAULT_COMPATIBILITY_INFO = new CompatibilityInfo() { 138 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo 143 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo 148 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo 317 private CompatibilityInfo(int compFlags, in CompatibilityInfo() method in CompatibilityInfo 328 private CompatibilityInfo() { in CompatibilityInfo() method in CompatibilityInfo 393 this(CompatibilityInfo.this.applicationScale, in Translator() 394 CompatibilityInfo.this.applicationInvertedScale); in Translator() 578 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics() [all …]
|
D | ResourcesKey.java | 61 public final CompatibilityInfo mCompatInfo; 74 @Nullable CompatibilityInfo compatInfo, in ResourcesKey() 84 … mCompatInfo = compatInfo != null ? compatInfo : CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in ResourcesKey() 105 @Nullable CompatibilityInfo compatInfo) { in ResourcesKey()
|
D | CompatibilityInfo.aidl | 19 parcelable CompatibilityInfo;
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 125 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithIdenticalParametersCacheReference() 130 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithIdenticalParametersCacheReference() 140 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 147 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 157 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testAddingASplitCreatesANewImpl() 162 null, null, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, in testAddingASplitCreatesANewImpl() 175 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers() 180 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers() 188 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers() 222 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testTwoActivitiesWithIdenticalParametersShareImpl() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ReceiverInfo.aidl | 22 import android.content.res.CompatibilityInfo; 61 CompatibilityInfo compatInfo;
|
D | ConfigurationController.java | 27 import android.content.res.CompatibilityInfo; 137 void handleConfigurationChanged(@NonNull CompatibilityInfo compat) { in handleConfigurationChanged() 148 @Nullable CompatibilityInfo compat) { in handleConfigurationChanged() 166 @Nullable CompatibilityInfo compat) { in handleConfigurationChangedInner()
|
D | IApplicationThread.aidl | 38 import android.content.res.CompatibilityInfo; 70 in CompatibilityInfo compatInfo, in scheduleReceiver() 79 in CompatibilityInfo compatInfo, int processState); in scheduleCreateService() 90 in CompatibilityInfo compatInfo, in Map services, in bindApplication() 131 void updatePackageCompatibilityInfo(in String pkg, in CompatibilityInfo info); in updatePackageCompatibilityInfo()
|
D | ResourcesManager.java | 31 import android.content.res.CompatibilityInfo; 87 private CompatibilityInfo mResCompatibilityInfo; 873 @NonNull CompatibilityInfo compatInfo) { in createResourcesForActivityLocked() 899 @NonNull ResourcesImpl impl, @NonNull CompatibilityInfo compatInfo) { in createResourcesLocked() 944 @NonNull CompatibilityInfo compatInfo, in createBaseTokenResources() 1205 @NonNull CompatibilityInfo compatInfo, in getResources() 1436 @Nullable CompatibilityInfo compat) { in applyConfigurationToResources() 1492 @Nullable CompatibilityInfo compat, Configuration tmpConfig, in applyConfigurationToResourcesLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CompatModePackages.java | 35 import android.content.res.CompatibilityInfo; 36 import android.content.res.CompatibilityInfo.CompatScale; 441 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked() 472 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked() 480 final CompatibilityInfo info = new CompatibilityInfo(ai, config.screenLayout, in compatibilityInfoForPackageLocked() 618 final CompatibilityInfo info = compatibilityInfoForPackageLocked(ai); in computeCompatModeLocked() 707 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in setPackageScreenCompatModeLocked() 794 final CompatibilityInfo info = compatibilityInfoForPackageLocked(ai); in saveCompatModes()
|
D | CompatScaleProvider.java | 21 import android.content.res.CompatibilityInfo.CompatScale;
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | ConfigurationChangeItem.java | 22 import android.content.res.CompatibilityInfo; 39 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfiguration); in preExecute()
|
D | ActivityConfigurationChangeItem.java | 26 import android.content.res.CompatibilityInfo; 46 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfiguration); in preExecute()
|
D | MoveToDisplayItem.java | 25 import android.content.res.CompatibilityInfo; 46 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfiguration); in preExecute()
|
D | ActivityRelaunchItem.java | 26 import android.content.res.CompatibilityInfo; 65 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfig); in preExecute()
|
D | LaunchActivityItem.java | 35 import android.content.res.CompatibilityInfo; 95 CompatibilityInfo.applyOverrideScaleIfNeeded(mCurConfig); in preExecute() 96 CompatibilityInfo.applyOverrideScaleIfNeeded(mOverrideConfig); in preExecute()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | SameProcessApplicationThread.java | 25 import android.content.res.CompatibilityInfo; 50 public void scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, in scheduleReceiver()
|
/frameworks/base/core/java/android/window/ |
D | WindowMetricsController.java | 28 import android.content.res.CompatibilityInfo; 119 final float overrideInvScale = CompatibilityInfo.getOverrideInvertedScale(); in getWindowInsetsFromServerForDisplay()
|
D | WindowTokenClient.java | 32 import android.content.res.CompatibilityInfo; 169 CompatibilityInfo.applyOverrideScaleIfNeeded(newConfig); in onConfigurationChangedInner()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 25 import android.content.res.CompatibilityInfo; 65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, in init()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | CompatModePackagesTests.java | 31 import android.content.res.CompatibilityInfo.CompatScale;
|