Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java39 public class CompatibilityInfo implements Parcelable { class
41 public static final CompatibilityInfo DEFAULT_COMPATIBILITY_INFO = new CompatibilityInfo() {
102 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo
254 private CompatibilityInfo(int compFlags, in CompatibilityInfo() method in CompatibilityInfo
262 private CompatibilityInfo() { in CompatibilityInfo() method in CompatibilityInfo
317 this(CompatibilityInfo.this.applicationScale, in Translator()
318 CompatibilityInfo.this.applicationInvertedScale); in Translator()
447 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics()
538 CompatibilityInfo oc = (CompatibilityInfo)o;
596 public static final Parcelable.Creator<CompatibilityInfo> CREATOR
[all …]
DResourcesKey.java46 public final CompatibilityInfo mCompatInfo;
56 @Nullable CompatibilityInfo compatInfo) { in ResourcesKey()
64 … mCompatInfo = compatInfo != null ? compatInfo : CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in ResourcesKey()
DCompatibilityInfo.aidl19 parcelable CompatibilityInfo;
DResources.java1814 CompatibilityInfo compat) { in updateConfiguration()
1825 CompatibilityInfo compat) { in updateSystemConfiguration()
1870 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
1879 public void setCompatibilityInfo(CompatibilityInfo ci) { in setCompatibilityInfo()
DResourcesImpl.java196 CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
346 CompatibilityInfo compat) { in updateConfiguration()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java19 import android.content.res.CompatibilityInfo;
28 private volatile CompatibilityInfo mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO;
45 public void setCompatibilityInfo(CompatibilityInfo compatInfo) { in setCompatibilityInfo()
54 mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in setCompatibilityInfo()
58 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
DDisplayInfo.java19 import android.content.res.CompatibilityInfo;
507 getAppMetrics(outMetrics, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getAppMetrics()
515 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, in getAppMetrics()
520 public void getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getLogicalMetrics()
556 private void getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMetricsWithSize()
573 if (!compatInfo.equals(CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO)) { in getMetricsWithSize()
DDisplay.java23 import android.content.res.CompatibilityInfo;
989 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getRealMetrics()
DWindowManagerPolicy.java72 import android.content.res.CompatibilityInfo;
1008 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen()
DIWindowManager.aidl26 import android.content.res.CompatibilityInfo;
DSurface.java20 import android.content.res.CompatibilityInfo.Translator;
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java73 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithIdenticalParametersCacheReference()
78 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithIdenticalParametersCacheReference()
87 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
94 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testMultipleCallsWithDifferentParametersReturnDifferentReferences()
103 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testAddingASplitCreatesANewImpl()
108 Display.DEFAULT_DISPLAY, null, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testAddingASplitCreatesANewImpl()
119 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
124 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
132 overrideConfig, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testUpdateConfigurationUpdatesAllAssetManagers()
165 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl31 import android.content.res.CompatibilityInfo;
65 in CompatibilityInfo compatInfo, in String referrer, IVoiceInteractor voiceInteractor, in scheduleLaunchActivity()
74 in CompatibilityInfo compatInfo, in scheduleReceiver()
78 in CompatibilityInfo compatInfo, int processState); in scheduleCreateService()
86 in CompatibilityInfo compatInfo, in Map services, in bindApplication()
112 void scheduleCreateBackupAgent(in ApplicationInfo app, in CompatibilityInfo compatInfo, in scheduleCreateBackupAgent()
115 in CompatibilityInfo compatInfo); in scheduleDestroyBackupAgent()
128 void updatePackageCompatibilityInfo(in String pkg, in CompatibilityInfo info); in updatePackageCompatibilityInfo()
DResourcesManager.java26 import android.content.res.CompatibilityInfo;
72 private CompatibilityInfo mResCompatibilityInfo;
444 @NonNull CompatibilityInfo compatInfo) { in getOrCreateResourcesForActivityLocked()
479 @NonNull ResourcesImpl impl, @NonNull CompatibilityInfo compatInfo) { in getOrCreateResourcesLocked()
534 @NonNull CompatibilityInfo compatInfo, in createBaseActivityResources()
700 @NonNull CompatibilityInfo compatInfo, in getResources()
838 @Nullable CompatibilityInfo compat) { in applyConfigurationToResourcesLocked()
DActivityThread.java45 import android.content.res.CompatibilityInfo;
368 CompatibilityInfo compatInfo;
491 CompatibilityInfo compatInfo;
502 CompatibilityInfo compatInfo;
514 CompatibilityInfo compatInfo;
559 CompatibilityInfo compatInfo;
670 CompatibilityInfo info;
758 CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, in scheduleLaunchActivity()
817 CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, in scheduleReceiver()
828 CompatibilityInfo compatInfo, int backupMode) { in scheduleCreateBackupAgent()
[all …]
DLoadedApk.java33 import android.content.res.CompatibilityInfo;
140 CompatibilityInfo compatInfo, ClassLoader baseLoader, in LoadedApk()
233 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
237 public void setCompatibilityInfo(CompatibilityInfo compatInfo) { in setCompatibilityInfo()
DContextImpl.java42 import android.content.res.CompatibilityInfo;
1984 int displayId, Configuration overrideConfig, CompatibilityInfo compatInfo) { in createResources()
2301 final CompatibilityInfo compatInfo = (displayId == Display.DEFAULT_DISPLAY) in createActivityContext()
2303 : CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in createActivityContext()
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java19 import android.content.res.CompatibilityInfo;
30 private final CompatibilityInfo mCompatInfo;
39 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in SplashScreenStartingData()
DAppWindowContainerController.java35 import android.content.res.CompatibilityInfo;
464 public boolean addStartingWindow(String pkg, int theme, CompatibilityInfo compatInfo, in addStartingWindow()
DDisplayContent.java104 import android.content.res.CompatibilityInfo;
1168 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in updateDisplayAndOrientation()
1183 mCompatibleScreenScale = CompatibilityInfo.computeCompatibleScaling(mDisplayMetrics, in updateDisplayAndOrientation()
1333 float scale = CompatibilityInfo.computeCompatibleScaling(dm, null); in reduceCompatConfigWidthSize()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java40 import android.content.res.CompatibilityInfo;
180 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked()
200 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked()
202 CompatibilityInfo ci = new CompatibilityInfo(ai, globalConfig.screenLayout, in compatibilityInfoForPackageLocked()
212 final CompatibilityInfo info = new CompatibilityInfo(ai, globalConfig.screenLayout, in computeCompatModeLocked()
344 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in setPackageScreenCompatModeLocked()
433 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout, in saveCompatModes()
DProcessRecord.java37 import android.content.res.CompatibilityInfo;
141 CompatibilityInfo compat; // last used compatibility mode
DActivityRecord.java132 import android.content.res.CompatibilityInfo;
260 CompatibilityInfo compat;// last used compatibility mode
2168 final CompatibilityInfo compatInfo = in showStartingWindow()
/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/services/tests/servicestests/src/com/android/server/wm/
DTestWindowManagerPolicy.java37 import android.content.res.CompatibilityInfo;
210 CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, in addSplashScreen()

12