Home
last modified time | relevance | path

Searched refs:newContext (Results 1 – 14 of 14) sorted by relevance

/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DPhoneLayoutInflater.java47 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()
/aosp12/frameworks/base/core/java/android/preference/
H A DPreferenceInflater.java57 …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()
H A DGenericInflater.java128 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
/aosp12/frameworks/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java100 private BridgeInflater(LayoutInflater original, Context newContext) { in BridgeInflater() argument
101 super(original, newContext); in BridgeInflater()
102 newContext = getBaseContext(newContext); in BridgeInflater()
103 mLayoutlibCallback = (newContext instanceof BridgeContext) ? in BridgeInflater()
104 ((BridgeContext) newContext).getLayoutlibCallback() : in BridgeInflater()
529 public LayoutInflater cloneInContext(Context newContext) { in cloneInContext() argument
530 return new BridgeInflater(this, newContext); in cloneInContext()
/aosp12/build/soong/cmd/soong_build/
H A Dmain.go82 func newContext(configuration android.Config, prepareBuildActions bool) *android.Context { func
125 secondCtx := newContext(secondConfig, true)
147 ctx := newContext(configuration, false)
196 ctx := newContext(configuration, prepareBuildActions)
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DPackageDexUsageTests.java723 private TestData updateClassLoaderContext(String newContext) { in updateClassLoaderContext() argument
724 return updateClassLoaderContext(newContext, mOverwriteCLC); in updateClassLoaderContext()
727 private TestData updateClassLoaderContext(String newContext, boolean overwriteCLC) { in updateClassLoaderContext() argument
729 mPrimaryOrSplit, mUsedBy, newContext, overwriteCLC); in updateClassLoaderContext()
/aosp12/frameworks/base/core/java/android/view/
H A DLayoutInflater.java273 protected LayoutInflater(LayoutInflater original, Context newContext) { in LayoutInflater() argument
274 StrictMode.assertConfigurationContext(newContext, "LayoutInflater"); in LayoutInflater()
275 mContext = newContext; in LayoutInflater()
307 public abstract LayoutInflater cloneInContext(Context newContext); in cloneInContext() argument
/aosp12/build/blueprint/
H A Dcontext_test.go402 ctx := newContext()
493 ctx := newContext()
550 ctx := newContext()
H A Dcontext.go382 func newContext() *Context { func
403 ctx := newContext()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarVolumeTest.java402 @AudioContext int newContext = in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext() local
406 assertThat(newContext).isEqualTo(CALL); in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext()
/aosp12/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java725 Context newContext = mContext.createApplicationContext( in getRemoteContextEnsuringCorrectCachedApkPath() local
729 mColorResources.apply(newContext); in getRemoteContextEnsuringCorrectCachedApkPath()
731 return newContext; in getRemoteContextEnsuringCorrectCachedApkPath()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java2660 Context newContext = context.createConfigurationContext(overrideConfig); in getResourcesForSubId() local
2661 Resources res = newContext.getResources(); in getResourcesForSubId()
/aosp12/packages/apps/TV/libs/m2/
H A Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...