Home
last modified time | relevance | path

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

12

/frameworks/support/v7/appcompat/src/android/support/v7/view/
DContextThemeWrapper.java77 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this); in getSystemService()
81 return getBaseContext().getSystemService(name); in getSystemService()
103 Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
DSupportMenuInflater.java224 return findRealOwner(((ContextWrapper) owner).getBaseContext()); in findRealOwner()
/frameworks/base/core/java/android/view/
DContextThemeWrapper.java167 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this); in getSystemService()
171 return getBaseContext().getSystemService(name); in getSystemService()
193 final Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
DMenuInflater.java276 return findRealOwner(((ContextWrapper) owner).getBaseContext()); in findRealOwner()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java47 import static com.android.layoutlib.bridge.android.BridgeContext.getBaseContext;
79 newContext = getBaseContext(newContext); in BridgeInflater()
196 context = getBaseContext(context); in inflate()
260 context = getBaseContext(context); in setupViewInContext()
DView_Delegate.java41 Context baseContext = BridgeContext.getBaseContext(thisView.getContext()); in getWindowToken()
DMenuInflater_Delegate.java51 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/base/tools/layoutlib/bridge/src/com/android/internal/view/menu/
DBridgeMenuItemImpl.java44 context = BridgeContext.getBaseContext(context); in BridgeMenuItemImpl()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DTintContextWrapper.java46 if (wrapper != null && wrapper.getBaseContext() == context) { in wrap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java59 if (getBaseContext().checkCallingOrSelfPermission(PERMISSION) != PERMISSION_GRANTED) { in checkPermission()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java179 Intent settingsActivity = new Intent(getBaseContext(), SettingsActivity.class); in onOptionsItemSelected()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatViewInflater.java315 context = ((ContextWrapper) context).getBaseContext(); in resolveMethod()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java176 context = ((ContextWrapper)context).getBaseContext(); in getActivity()
DActivityView.java147 context = ((ContextWrapper)context).getBaseContext(); in ActivityView()
DDialog.java1107 ((ContextWrapper) context).getBaseContext() : // unwrap one level in getAssociatedActivity()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java1415 if (getBaseContext() == null) { in getSystemService()
1423 mWindowManager = (WindowManager) getBaseContext().getSystemService(name); in getSystemService()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DFocusSearchNavigationTest.java98 LinearLayoutManager layout = new LinearLayoutManager(mActivity.getBaseContext()); in setup()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java71 mRs = RenderScript.create(this.getBaseContext()); in onCreate()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java270 context = ((ContextWrapper)context).getBaseContext(); in getActivity()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1081 public static Context getBaseContext(Context context) { in getBaseContext() method in BridgeContext
1083 context = ((ContextWrapper) context).getBaseContext(); in getBaseContext()

12