Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java44 public class CompatibilityInfo implements Parcelable { class
47 public static final CompatibilityInfo DEFAULT_COMPATIBILITY_INFO = new CompatibilityInfo() {
116 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo
121 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo
279 private CompatibilityInfo(int compFlags, in CompatibilityInfo() method in CompatibilityInfo
288 private CompatibilityInfo() { in CompatibilityInfo() method in CompatibilityInfo
348 this(CompatibilityInfo.this.applicationScale, in Translator()
349 CompatibilityInfo.this.applicationInvertedScale); in Translator()
517 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics()
615 CompatibilityInfo oc = (CompatibilityInfo)o;
[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.java94 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithIdenticalParametersCacheReference()
99 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithIdenticalParametersCacheReference()
108 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
115 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
124 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testAddingASplitCreatesANewImpl()
129 null, null, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, in testAddingASplitCreatesANewImpl()
141 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers()
146 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers()
154 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testUpdateConfigurationUpdatesAllAssetManagers()
187 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null, null); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java19 import android.content.res.CompatibilityInfo;
31 private final CompatibilityInfo mCompatInfo;
40 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in SplashScreenStartingData()
DCompatModePackages.java34 import android.content.res.CompatibilityInfo;
348 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked()
368 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked()
372 return new CompatibilityInfo(ai, config.screenLayout, config.smallestScreenWidthDp, in compatibilityInfoForPackageLocked()
434 final CompatibilityInfo info = compatibilityInfoForPackageLocked(ai); in computeCompatModeLocked()
523 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in setPackageScreenCompatModeLocked()
609 final CompatibilityInfo info = compatibilityInfoForPackageLocked(ai); in saveCompatModes()
DStartingSurfaceController.java33 import android.content.res.CompatibilityInfo;
61 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, in createSplashScreenStartingSurface()
DActivityTaskManagerInternal.java30 import android.content.res.CompatibilityInfo;
347 public abstract CompatibilityInfo compatibilityInfoForPackage(ApplicationInfo ai); in compatibilityInfoForPackage()
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl36 import android.content.res.CompatibilityInfo;
66 in CompatibilityInfo compatInfo, in scheduleReceiver()
71 in CompatibilityInfo compatInfo, int processState); in scheduleCreateService()
80 in CompatibilityInfo compatInfo, in Map services, in bindApplication()
103 void scheduleCreateBackupAgent(in ApplicationInfo app, in CompatibilityInfo compatInfo, in scheduleCreateBackupAgent()
106 in CompatibilityInfo compatInfo, int userId); in scheduleDestroyBackupAgent()
118 void updatePackageCompatibilityInfo(in String pkg, in CompatibilityInfo info); in updatePackageCompatibilityInfo()
DConfigurationController.java26 import android.content.res.CompatibilityInfo;
146 void handleConfigurationChanged(@NonNull CompatibilityInfo compat) { in handleConfigurationChanged()
157 @Nullable CompatibilityInfo compat) { in handleConfigurationChanged()
DClientTransactionHandler.java26 import android.content.res.CompatibilityInfo;
183 CompatibilityInfo compatInfo); in getPackageInfoNoCheck()
DResourcesManager.java31 import android.content.res.CompatibilityInfo;
86 private CompatibilityInfo mResCompatibilityInfo;
751 @NonNull CompatibilityInfo compatInfo) { in createResourcesForActivityLocked()
777 @NonNull ResourcesImpl impl, @NonNull CompatibilityInfo compatInfo) { in createResourcesLocked()
822 @NonNull CompatibilityInfo compatInfo, in createBaseTokenResources()
1083 @NonNull CompatibilityInfo compatInfo, in getResources()
1314 @Nullable CompatibilityInfo compat) { in applyConfigurationToResources()
1320 @Nullable CompatibilityInfo compat, @Nullable DisplayAdjustments adjustments) { in applyConfigurationToResources()
1381 @Nullable CompatibilityInfo compat, Configuration tmpConfig, in applyConfigurationToResourcesLocked()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java22 import android.content.res.CompatibilityInfo;
35 private volatile CompatibilityInfo mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO;
56 public void setCompatibilityInfo(@Nullable CompatibilityInfo compatInfo) { in setCompatibilityInfo()
65 mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in setCompatibilityInfo()
69 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
DDisplayInfo.java29 import android.content.res.CompatibilityInfo;
620 getAppMetrics(outMetrics, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getAppMetrics()
628 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, in getAppMetrics()
641 public void getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getLogicalMetrics()
650 public void getMaxBoundsMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMaxBoundsMetrics()
689 private void getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMetricsWithSize()
706 if (!compatInfo.equals(CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO)) { in getMetricsWithSize()
DInsetsAnimationThreadControlRunner.java24 import android.content.res.CompatibilityInfo;
115 CompatibilityInfo.Translator translator, Handler mainThreadHandler) { in InsetsAnimationThreadControlRunner()
DViewRootInsetsControllerHost.java24 import android.content.res.CompatibilityInfo;
265 public CompatibilityInfo.Translator getTranslator() { in getTranslator()
DInsetsAnimationControlImpl.java44 import android.content.res.CompatibilityInfo;
98 private final CompatibilityInfo.Translator mTranslator;
117 CompatibilityInfo.Translator translator) { in InsetsAnimationControlImpl()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java45 import android.content.res.CompatibilityInfo;
193 CompatibilityInfo compat = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in testLaunch()
435 CompatibilityInfo compatibilityInfo, int i, String s, Bundle bundle, boolean b, in scheduleReceiver()
441 CompatibilityInfo compatibilityInfo, int i) throws RemoteException { in scheduleCreateService()
454 CompatibilityInfo compatibilityInfo, Map map, Bundle bundle1, String s1, in bindApplication()
512 CompatibilityInfo compatibilityInfo, int i, int userId, int operatioType) in scheduleCreateBackupAgent()
518 CompatibilityInfo compatibilityInfo, int userId) throws RemoteException { in scheduleDestroyBackupAgent()
556 public void updatePackageCompatibilityInfo(String s, CompatibilityInfo compatibilityInfo) in updatePackageCompatibilityInfo()
DTestUtils.java26 import android.content.res.CompatibilityInfo;
100 private CompatibilityInfo mCompatInfo;
141 LaunchActivityItemBuilder setCompatInfo(CompatibilityInfo compatInfo) { in setCompatInfo()
DObjectPoolTests.java35 import android.content.res.CompatibilityInfo;
143 CompatibilityInfo compat = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in testRecycleLaunchActivityItem()
/frameworks/base/core/java/android/app/servertransaction/
DLaunchActivityItem.java33 import android.content.res.CompatibilityInfo;
62 private CompatibilityInfo mCompatInfo;
120 Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, in obtain()
182 in.readTypedObject(CompatibilityInfo.CREATOR), in.readString(), in LaunchActivityItem()
298 CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, in setValues()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java27 import android.content.res.CompatibilityInfo;
104 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, in addSplashScreen()
/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/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java52 import android.content.res.CompatibilityInfo;
296 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null /* referrer */, in stubActivityRecord()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java71 import android.content.res.CompatibilityInfo;
718 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, in addSplashScreen()

123