/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneLayoutInflater.java | 47 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { in PhoneLayoutInflater() argument 48 super(original, newContext); in PhoneLayoutInflater() 71 public LayoutInflater cloneInContext(Context newContext) { in cloneInContext() argument 72 return new PhoneLayoutInflater(this, newContext); in cloneInContext()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceInflater.java | 57 …r<Preference, PreferenceGroup> original, PreferenceManager preferenceManager, Context newContext) { in PreferenceInflater() argument 58 super(original, newContext); in PreferenceInflater() 63 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) { in cloneInContext() argument 64 return new PreferenceInflater(this, mPreferenceManager, newContext); in cloneInContext()
|
D | GenericInflater.java | 128 protected GenericInflater(GenericInflater<T,P> original, Context newContext) { in GenericInflater() argument 129 mContext = newContext; in GenericInflater() 145 public abstract GenericInflater cloneInContext(Context newContext); in cloneInContext() argument
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | BridgeInflater.java | 109 private BridgeInflater(LayoutInflater original, Context newContext) { in BridgeInflater() argument 110 super(original, newContext); in BridgeInflater() 111 newContext = getBaseContext(newContext); in BridgeInflater() 112 mLayoutlibCallback = (newContext instanceof BridgeContext) ? in BridgeInflater() 113 ((BridgeContext) newContext).getLayoutlibCallback() : in BridgeInflater() 651 public LayoutInflater cloneInContext(Context newContext) { in cloneInContext() argument 652 return new BridgeInflater(this, newContext); in cloneInContext()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 118 Context newContext = getContext().createConfigurationContext(config); in assertResGetString() local 119 assertEquals(expectedString, newContext.getResources().getString(resId)); in assertResGetString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDexUsageTests.java | 725 private TestData updateClassLoaderContext(String newContext) { in updateClassLoaderContext() argument 726 return updateClassLoaderContext(newContext, mOverwriteCLC); in updateClassLoaderContext() 729 private TestData updateClassLoaderContext(String newContext, boolean overwriteCLC) { in updateClassLoaderContext() argument 731 mPrimaryOrSplit, mUsedBy, newContext, overwriteCLC); in updateClassLoaderContext()
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 253 protected LayoutInflater(LayoutInflater original, Context newContext) { in LayoutInflater() argument 254 StrictMode.assertConfigurationContext(newContext, "LayoutInflater"); in LayoutInflater() 255 mContext = newContext; in LayoutInflater() 286 public abstract LayoutInflater cloneInContext(Context newContext); in cloneInContext() argument
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 755 Context newContext = mContext.createApplicationContext( in getRemoteContextEnsuringCorrectCachedApkPath() local 759 mColorResources.apply(newContext); in getRemoteContextEnsuringCorrectCachedApkPath() 761 return newContext; in getRemoteContextEnsuringCorrectCachedApkPath()
|
/frameworks/base/core/java/android/service/credentials/ |
D | CredentialProviderInfoFactory.java | 457 Context newContext = context.createContextAsUser(UserHandle.of(userId), 0); in getDeviceManagerPolicy() local 460 DevicePolicyManager dpm = newContext.getSystemService(DevicePolicyManager.class); in getDeviceManagerPolicy()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 3151 Context newContext = context.createConfigurationContext(overrideConfig); in getResourcesForSubId() local 3152 Resources res = newContext.getResources(); in getResourcesForSubId()
|