Home
last modified time | relevance | path

Searched refs:getBaseContext (Results 1 – 25 of 42) 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/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/layoutlib/bridge/src/android/view/
DBridgeInflater.java60 import static com.android.layoutlib.bridge.android.BridgeContext.getBaseContext;
104 newContext = getBaseContext(newContext); in BridgeInflater()
248 context = getBaseContext(context); in createViewFromCustomInflater()
358 context = getBaseContext(context); in inflate()
434 context = getBaseContext(context); in setupViewInContext()
DMenuInflater_Delegate.java50 context = BridgeContext.getBaseContext(context); in registerMenu()
DView_Delegate.java44 Context baseContext = BridgeContext.getBaseContext(thisView.getContext()); in getWindowToken()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGalleryRtl.java32 g.setAdapter(new BiDiTestGalleryImages(this.getActivity().getBaseContext())); in onCreateView()
DBiDiTestGalleryLtr.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/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestableContext.java59 new SysuiTestableContext(getBaseContext().createDisplayContext(display)); in createDisplayContext()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/span/
DLinkSpan.java131 context = ((ContextWrapper) context).getBaseContext(); in getLegacyListenerFromContext()
/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/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.java67 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstanceManager.java442 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this); in getSystemService()
446 return getBaseContext().getSystemService(name); in getSystemService()
/frameworks/base/core/java/android/app/
DInstantAppResolverService.java208 return getBaseContext().getMainLooper(); in getLooper()
DMediaRouteButton.java170 context = ((ContextWrapper)context).getBaseContext(); in getActivity()
/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/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java91 when(mHost.getContext()).thenReturn(mContext.getBaseContext()); in setup()
/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/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java71 mRs = RenderScript.create(this.getBaseContext()); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java435 context = ((ContextWrapper) context).getBaseContext();
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java71 mRs = RenderScript.create(this.getBaseContext()); in onCreate()

12