Home
last modified time | relevance | path

Searched refs:CompatibilityInfo (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/view/
DDisplayAdjustments.java22 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()
DInsetsAnimationThreadControlRunner.java24 import android.content.res.CompatibilityInfo;
116 CompatibilityInfo.Translator translator, Handler mainThreadHandler, in InsetsAnimationThreadControlRunner()
DViewRootInsetsControllerHost.java23 import android.content.res.CompatibilityInfo;
261 public CompatibilityInfo.Translator getTranslator() { in getTranslator()
DDisplayInfo.java32 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()
DInsetsAnimationControlImpl.java50 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/
DCompatibilityInfo.java45 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 …]
DResourcesKey.java61 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()
DCompatibilityInfo.aidl19 parcelable CompatibilityInfo;
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java125 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/
DReceiverInfo.aidl22 import android.content.res.CompatibilityInfo;
61 CompatibilityInfo compatInfo;
DConfigurationController.java27 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()
DIApplicationThread.aidl38 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()
DResourcesManager.java31 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/
DCompatModePackages.java35 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()
DCompatScaleProvider.java21 import android.content.res.CompatibilityInfo.CompatScale;
/frameworks/base/core/java/android/app/servertransaction/
DConfigurationChangeItem.java22 import android.content.res.CompatibilityInfo;
39 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfiguration); in preExecute()
DActivityConfigurationChangeItem.java26 import android.content.res.CompatibilityInfo;
46 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfiguration); in preExecute()
DMoveToDisplayItem.java25 import android.content.res.CompatibilityInfo;
46 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfiguration); in preExecute()
DActivityRelaunchItem.java26 import android.content.res.CompatibilityInfo;
65 CompatibilityInfo.applyOverrideScaleIfNeeded(mConfig); in preExecute()
DLaunchActivityItem.java35 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/
DSameProcessApplicationThread.java25 import android.content.res.CompatibilityInfo;
50 public void scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, in scheduleReceiver()
/frameworks/base/core/java/android/window/
DWindowMetricsController.java28 import android.content.res.CompatibilityInfo;
119 final float overrideInvScale = CompatibilityInfo.getOverrideInvertedScale(); in getWindowInsetsFromServerForDisplay()
DWindowTokenClient.java32 import android.content.res.CompatibilityInfo;
169 CompatibilityInfo.applyOverrideScaleIfNeeded(newConfig); in onConfigurationChangedInner()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java25 import android.content.res.CompatibilityInfo;
65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, in init()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DCompatModePackagesTests.java31 import android.content.res.CompatibilityInfo.CompatScale;

123