Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java37 public class CompatibilityInfo implements Parcelable { class
39 public static final CompatibilityInfo DEFAULT_COMPATIBILITY_INFO = new CompatibilityInfo() {
95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() method in CompatibilityInfo
244 private CompatibilityInfo(int compFlags, in CompatibilityInfo() method in CompatibilityInfo
252 private CompatibilityInfo() { in CompatibilityInfo() method in CompatibilityInfo
303 this(CompatibilityInfo.this.applicationScale, in Translator()
304 CompatibilityInfo.this.applicationInvertedScale); in Translator()
433 CompatibilityInfo.computeCompatibleScaling(inoutDm, inoutDm); in applyToDisplayMetrics()
524 CompatibilityInfo oc = (CompatibilityInfo)o;
582 public static final Parcelable.Creator<CompatibilityInfo> CREATOR
[all …]
DResourcesKey.java46 public final CompatibilityInfo mCompatInfo;
56 @Nullable CompatibilityInfo compatInfo) { in ResourcesKey()
63 … mCompatInfo = compatInfo != null ? compatInfo : CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in ResourcesKey()
DCompatibilityInfo.aidl19 parcelable CompatibilityInfo;
DResources.java1781 CompatibilityInfo compat) { in updateConfiguration()
1792 CompatibilityInfo compat) { in updateSystemConfiguration()
1837 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
1846 public void setCompatibilityInfo(CompatibilityInfo ci) { in setCompatibilityInfo()
DResourcesImpl.java171 CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
321 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;
43 public void setCompatibilityInfo(CompatibilityInfo compatInfo) { in setCompatibilityInfo()
52 mCompatInfo = CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in setCompatibilityInfo()
56 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
DDisplayInfo.java19 import android.content.res.CompatibilityInfo;
494 getAppMetrics(outMetrics, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getAppMetrics()
502 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, in getAppMetrics()
507 public void getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getLogicalMetrics()
529 private void getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, in getMetricsWithSize()
548 if (!compatInfo.equals(CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO)) { in getMetricsWithSize()
DIWindowManager.aidl25 import android.content.res.CompatibilityInfo;
173 in CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, in setAppStartingWindow()
DWindowManagerPolicy.java24 import android.content.res.CompatibilityInfo;
748 int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, in addStartingWindow()
DDisplay.java22 import android.content.res.CompatibilityInfo;
863 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in getRealMetrics()
DSurface.java20 import android.content.res.CompatibilityInfo.Translator;
DSurfaceView.java23 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()
164 CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); in testTwoActivitiesWithIdenticalParametersShareImpl()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DStartingData.java19 import android.content.res.CompatibilityInfo;
24 final CompatibilityInfo compatInfo;
31 StartingData(String _pkg, int _theme, CompatibilityInfo _compatInfo, in StartingData()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java40 import android.content.res.CompatibilityInfo;
179 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in handlePackageAddedLocked()
199 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked()
200 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout, in compatibilityInfoForPackageLocked()
209 CompatibilityInfo info = new CompatibilityInfo(ai, in computeCompatModeLocked()
342 CompatibilityInfo ci = compatibilityInfoForPackageLocked(ai); in setPackageScreenCompatModeLocked()
429 CompatibilityInfo info = new CompatibilityInfo(ai, screenLayout, in saveCompatModes()
DProcessRecord.java39 import android.content.res.CompatibilityInfo;
136 CompatibilityInfo compat; // last used compatibility mode
DActivityRecord.java44 import android.content.res.CompatibilityInfo;
155 CompatibilityInfo compat;// last used compatibility mode
1402 final CompatibilityInfo compatInfo = in showStartingWindow()
/frameworks/base/core/java/android/app/
DIApplicationThread.java26 import android.content.res.CompatibilityInfo;
62 CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, in scheduleLaunchActivity()
73 void scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, in scheduleReceiver()
80 void scheduleCreateBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo, in scheduleCreateBackupAgent()
82 void scheduleDestroyBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo) in scheduleDestroyBackupAgent()
85 CompatibilityInfo compatInfo, int processState) throws RemoteException; in scheduleCreateService()
101 CompatibilityInfo compatInfo, Map<String, IBinder> services, Bundle coreSettings) in bindApplication()
138 void updatePackageCompatibilityInfo(String pkg, CompatibilityInfo info) throws RemoteException; in updatePackageCompatibilityInfo()
DApplicationThreadNative.java26 import android.content.res.CompatibilityInfo;
150 CompatibilityInfo compatInfo = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
212 CompatibilityInfo compatInfo = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
228 CompatibilityInfo compatInfo = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
301 CompatibilityInfo compatInfo = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
461 CompatibilityInfo compatInfo = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
471 CompatibilityInfo compatInfo = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
530 CompatibilityInfo compat = CompatibilityInfo.CREATOR.createFromParcel(data); in onTransact()
850 CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, in scheduleLaunchActivity()
936 CompatibilityInfo compatInfo, int resultCode, String resultData, in scheduleReceiver()
[all …]
DResourcesManager.java25 import android.content.res.CompatibilityInfo;
71 private CompatibilityInfo mResCompatibilityInfo;
498 @NonNull CompatibilityInfo compatInfo, in createBaseActivityResources()
663 @NonNull CompatibilityInfo compatInfo, in getResources()
797 @Nullable CompatibilityInfo compat) { in applyConfigurationToResourcesLocked()
DActivityThread.java42 import android.content.res.CompatibilityInfo;
336 CompatibilityInfo compatInfo;
451 CompatibilityInfo compatInfo;
462 CompatibilityInfo compatInfo;
474 CompatibilityInfo compatInfo;
519 CompatibilityInfo compatInfo;
623 CompatibilityInfo info;
712 CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, in scheduleLaunchActivity()
769 CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, in scheduleReceiver()
780 CompatibilityInfo compatInfo, int backupMode) { in scheduleCreateBackupAgent()
[all …]
DLoadedApk.java29 import android.content.res.CompatibilityInfo;
138 CompatibilityInfo compatInfo, ClassLoader baseLoader, in LoadedApk()
231 public CompatibilityInfo getCompatibilityInfo() { in getCompatibilityInfo()
235 public void setCompatibilityInfo(CompatibilityInfo compatInfo) { in setCompatibilityInfo()
DContextImpl.java41 import android.content.res.CompatibilityInfo;
2028 CompatibilityInfo compatInfo = null; in ContextImpl()
2035 : CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO; in ContextImpl()
/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/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java27 import android.content.res.CompatibilityInfo;
340 public boolean setAppStartingWindow(IBinder arg0, String arg1, int arg2, CompatibilityInfo arg3, in setAppStartingWindow()

12