Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java40 public class CompatibilityInfo implements Parcelable { class
43 public static final CompatibilityInfo DEFAULT_COMPATIBILITY_INFO = new CompatibilityInfo() {
106 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo
258 private CompatibilityInfo(int compFlags, in CompatibilityInfo() method in CompatibilityInfo
267 private CompatibilityInfo() { in CompatibilityInfo() method in CompatibilityInfo
327 this(CompatibilityInfo.this.applicationScale, in Translator()
328 CompatibilityInfo.this.applicationInvertedScale); in Translator()
465 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics()
557 CompatibilityInfo oc = (CompatibilityInfo)o;
616 public static final @android.annotation.NonNull Parcelable.Creator<CompatibilityInfo> CREATOR
[all …]
DResourcesKey.java49 public final CompatibilityInfo mCompatInfo;
60 @Nullable CompatibilityInfo compatInfo) { in ResourcesKey()
68 … mCompatInfo = compatInfo != null ? compatInfo : CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in ResourcesKey()
DCompatibilityInfo.aidl19 parcelable CompatibilityInfo;
DResources.java1941 CompatibilityInfo compat) { in updateConfiguration()
1953 CompatibilityInfo compat) { in updateSystemConfiguration()
2000 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
2010 public void setCompatibilityInfo(CompatibilityInfo ci) { in setCompatibilityInfo()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java20 import android.content.res.CompatibilityInfo;
29 private volatile CompatibilityInfo mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO;
48 public void setCompatibilityInfo(CompatibilityInfo compatInfo) { in setCompatibilityInfo()
57 mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in setCompatibilityInfo()
61 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
DDisplayInfo.java27 import android.content.res.CompatibilityInfo;
545 getAppMetrics(outMetrics, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getAppMetrics()
553 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, in getAppMetrics()
558 public void getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getLogicalMetrics()
594 private void getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMetricsWithSize()
611 if (!compatInfo.equals(CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO)) { in getMetricsWithSize()
DDisplay.java27 import android.content.res.CompatibilityInfo;
1078 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getRealMetrics()
DIWindowManager.aidl24 import android.content.res.CompatibilityInfo;
DSurface.java22 import android.content.res.CompatibilityInfo.Translator;
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java75 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithIdenticalParametersCacheReference()
80 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithIdenticalParametersCacheReference()
89 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
96 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
105 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testAddingASplitCreatesANewImpl()
110 Display.DEFAULT_DISPLAY, null, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testAddingASplitCreatesANewImpl()
121 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
126 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
134 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
167 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl34 import android.content.res.CompatibilityInfo;
60 in CompatibilityInfo compatInfo, in scheduleReceiver()
65 in CompatibilityInfo compatInfo, int processState); in scheduleCreateService()
74 in CompatibilityInfo compatInfo, in Map services, in bindApplication()
97 void scheduleCreateBackupAgent(in ApplicationInfo app, in CompatibilityInfo compatInfo, in scheduleCreateBackupAgent()
100 in CompatibilityInfo compatInfo, int userId); in scheduleDestroyBackupAgent()
112 void updatePackageCompatibilityInfo(in String pkg, in CompatibilityInfo info); in updatePackageCompatibilityInfo()
DClientTransactionHandler.java24 import android.content.res.CompatibilityInfo;
174 CompatibilityInfo compatInfo); in getPackageInfoNoCheck()
DResourcesManager.java29 import android.content.res.CompatibilityInfo;
76 private CompatibilityInfo mResCompatibilityInfo;
629 @NonNull CompatibilityInfo compatInfo) { in getOrCreateResourcesForActivityLocked()
664 @NonNull ResourcesImpl impl, @NonNull CompatibilityInfo compatInfo) { in getOrCreateResourcesLocked()
719 @NonNull CompatibilityInfo compatInfo, in createBaseActivityResources()
873 @NonNull CompatibilityInfo compatInfo, in getResources()
1011 @Nullable CompatibilityInfo compat) { in applyConfigurationToResourcesLocked()
DActivityThread.java71 import android.content.res.CompatibilityInfo;
508 CompatibilityInfo compatInfo;
535 ActivityInfo info, Configuration overrideConfig, CompatibilityInfo compatInfo, in ActivityClientRecord()
694 CompatibilityInfo compatInfo;
705 CompatibilityInfo compatInfo;
724 CompatibilityInfo compatInfo;
785 CompatibilityInfo compatInfo;
902 CompatibilityInfo info;
921 CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, in scheduleReceiver()
932 CompatibilityInfo compatInfo, int backupMode, int userId) { in scheduleCreateBackupAgent()
[all …]
DLoadedApk.java36 import android.content.res.CompatibilityInfo;
169 CompatibilityInfo compatInfo, ClassLoader baseLoader, in LoadedApk()
288 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
292 public void setCompatibilityInfo(CompatibilityInfo compatInfo) { in setCompatibilityInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java43 import android.content.res.CompatibilityInfo;
182 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked()
202 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked()
204 CompatibilityInfo ci = new CompatibilityInfo(ai, globalConfig.screenLayout, in compatibilityInfoForPackageLocked()
214 final CompatibilityInfo info = new CompatibilityInfo(ai, globalConfig.screenLayout, in computeCompatModeLocked()
300 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in setPackageScreenCompatModeLocked()
390 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout, in saveCompatModes()
DSplashScreenStartingData.java19 import android.content.res.CompatibilityInfo;
31 private final CompatibilityInfo mCompatInfo;
40 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in SplashScreenStartingData()
DActivityTaskManagerInternal.java31 import android.content.res.CompatibilityInfo;
346 public abstract CompatibilityInfo compatibilityInfoForPackage(ApplicationInfo ai); in compatibilityInfoForPackage()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java41 import android.content.res.CompatibilityInfo;
234 CompatibilityInfo compat = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in testLaunch()
399 CompatibilityInfo compatibilityInfo, int i, String s, Bundle bundle, boolean b, in scheduleReceiver()
405 CompatibilityInfo compatibilityInfo, int i) throws RemoteException { in scheduleCreateService()
418 CompatibilityInfo compatibilityInfo, Map map, Bundle bundle1, String s1, in bindApplication()
479 CompatibilityInfo compatibilityInfo, int i, int userId) throws RemoteException { in scheduleCreateBackupAgent()
484 CompatibilityInfo compatibilityInfo, int userId) throws RemoteException { in scheduleDestroyBackupAgent()
522 public void updatePackageCompatibilityInfo(String s, CompatibilityInfo compatibilityInfo) in updatePackageCompatibilityInfo()
DObjectPoolTests.java32 import android.content.res.CompatibilityInfo;
137 CompatibilityInfo compat = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in testRecycleLaunchActivityItem()
/frameworks/base/core/java/android/app/servertransaction/
DLaunchActivityItem.java28 import android.content.res.CompatibilityInfo;
56 private CompatibilityInfo mCompatInfo;
100 Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, in obtain()
152 in.readTypedObject(CompatibilityInfo.CREATOR), in.readString(), in LaunchActivityItem()
263 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;
113 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java36 import android.content.res.CompatibilityInfo;
65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, in init()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java44 import android.content.res.CompatibilityInfo;
347 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null /* referrer */, in stubActivityRecord()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java71 import android.content.res.CompatibilityInfo;
969 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen()

12