Home
last modified time | relevance | path

Searched refs:getBaseContext (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/view/
DContextThemeWrapper.java184 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this); in getSystemService()
188 return getBaseContext().getSystemService(name); in getSystemService()
211 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
/frameworks/layoutlib/bridge/src/android/view/
DView_Delegate.java44 Context baseContext = BridgeContext.getBaseContext(thisView.getContext()); in getWindowToken()
104 Context context = BridgeContext.getBaseContext(thisView.getContext()); in dispatchDetachedFromWindow()
DBridgeInflater.java58 import static com.android.layoutlib.bridge.android.BridgeContext.getBaseContext;
102 newContext = getBaseContext(newContext); in BridgeInflater()
246 context = getBaseContext(context); in createViewFromCustomInflater()
357 context = getBaseContext(context); in inflate()
433 context = getBaseContext(context); in setupViewInContext()
DMenuInflater_Delegate.java50 context = BridgeContext.getBaseContext(context); in registerMenu()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DActivity1.java26 setContentView(new GridLayout(getBaseContext())); in onCreate()
DAbstractLayoutTest.java74 setContentView(create(getBaseContext())); in onCreate()
DAlignmentTest.java124 setContentView(create(getBaseContext())); in onCreate()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryLtr.java32 g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext())); in onCreateView()
DBiDiTestGalleryRtl.java32 g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext())); in onCreateView()
/frameworks/layoutlib/bridge/src/com/android/internal/view/menu/
DBridgeMenuItemImpl.java44 context = BridgeContext.getBaseContext(context); in BridgeMenuItemImpl()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DLinkSpan.java131 context = ((ContextWrapper) context).getBaseContext(); in getLegacyListenerFromContext()
/frameworks/base/core/java/android/app/
DWindowContext.java128 final ContextImpl impl = (ContextImpl) getBaseContext(); in destroy()
DInstantAppResolverService.java258 return getBaseContext().getMainLooper(); in getLooper()
DMediaRouteButton.java170 context = ((ContextWrapper)context).getBaseContext(); in getActivity()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java417 packageMonitor.register(getBaseContext(), null, UserHandle.ALL, true); in applyComponentAtInstall()
451 boolean isInSetup = Settings.Secure.getInt(getBaseContext().getContentResolver(),
453 boolean isInDeferredSetup = Settings.Secure.getInt(getBaseContext()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java163 return getBaseContext().getSystemService(LayoutInflater.class).cloneInContext(this); in getSystemService()
299 getBaseContext().registerComponentCallbacks(callback); in registerComponentCallbacks()
305 getBaseContext().unregisterComponentCallbacks(callback); in unregisterComponentCallbacks()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestableContext.java52 new SysuiTestableContext(getBaseContext().createDisplayContext(display)); in createDisplayContext()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DImageListViewScrollActivity.java135 convertView = LayoutInflater.from(getBaseContext()) in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java70 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstanceManager.java438 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this); in getSystemService()
442 return getBaseContext().getSystemService(name); in getSystemService()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java179 Intent settingsActivity = new Intent(getBaseContext(), SettingsActivity.class); in onOptionsItemSelected()
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java278 public Context getBaseContext() { in getBaseContext() method in WallpaperBackupAgentTest.IsolatedWallpaperBackupAgent
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestActivity.java102 startService(new Intent(getBaseContext(), SoundTriggerTestService.class)); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java146 Context ctx = getBaseContext(); in handleMessage()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java71 mRs = RenderScript.create(this.getBaseContext()); in onCreate()

12