Searched defs:getContext (Results 1 - 25 of 51) sorted by path

123

/frameworks/base/core/java/android/app/
H A DAlertDialog.java117 mAlert = new AlertController(getContext(), this, getWindow());
388 public Context getContext() { method in class:AlertDialog.Builder
H A DDialog.java196 public final Context getContext() { method in class:Dialog
997 Context context = getContext();
H A DInstrumentation.java228 public Context getContext() { method in class:Instrumentation
246 * {@link #getContext} to retrieve a Context for the instrumentation code.
250 * @see #getContext
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java137 public Context getContext() { method in class:AbstractThreadedSyncAdapter
H A DContentProvider.java277 final Context context = getContext();
338 final Context context = getContext();
404 public final Context getContext() { method in class:ContentProvider
565 c.setNotificationUri(getContext().getContentResolver(), uri);
623 c.setNotificationUri(getContext().getContentResolver(), uri);
H A DLoader.java123 * store the context directly; always use {@link #getContext()} to retrieve
125 * The Context returned by {@link #getContext} is safe to use across
162 public Context getContext() { method in class:Loader
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java439 public Context getContext() { method in class:NfcAdapter
/frameworks/base/core/java/android/os/
H A DSELinux.java86 public static final native String getContext(); method in class:SELinux
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java164 public Context getContext() { method in class:GenericInflater
261 XmlResourceParser parser = getContext().getResources().getXml(resource);
H A DPreference.java535 mIcon = getContext().getResources().getDrawable(mIconResId);
966 Context context = getContext();
990 public Context getContext() { method in class:Preference
H A DPreferenceManager.java545 * managed queries, but in most cases the use of {@link #getContext()} is
564 Context getContext() { method in class:PreferenceManager
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java54 public Context getContext() { method in class:AndroidTestCase
96 getContext().startActivity(intent);
115 getContext().getContentResolver().query(uri, null, null, null, null);
134 getContext().getContentResolver().insert(uri, new ContentValues());
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java236 public Context getContext() { method in class:LayoutInflater
394 XmlResourceParser parser = getContext().getResources().getLayout(resource);
786 getContext().getResources().getLayout(layout);
H A DView.java3577 mHandler = getContext().getClass().getMethod(handlerName,
3582 + getContext().getResources().getResourceEntryName(
3586 + getContext().getClass() + " for onClick handler"
3592 mHandler.invoke(getContext(), View.this);
4835 event.setPackageName(getContext().getPackageName());
5918 final int targetSdkVersion = getContext().getApplicationInfo().targetSdkVersion;
7685 public final Context getContext() { method in class:View
11639 final int targetSdkVersion = getContext().getApplicationInfo().targetSdkVersion;
H A DWindow.java400 public final Context getContext() { method in class:Window
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java170 mHTML5VideoView = new HTML5VideoFullScreen(proxy.getContext(),
577 mRequestQueue = new RequestQueue(mProxy.getContext());
669 public Context getContext() { method in class:HTML5VideoViewProxy
670 return mWebView.getContext();
H A DJniUtil.java56 protected static synchronized Context getContext() { method in class:JniUtil
H A DWebViewClassic.java1225 mContext = webView.getContext();
1406 // Cached reference to mWebView.getContext(), for convenience.
1447 Context getContext() { method in class:WebViewClassic
2186 Context context = JniUtil.getContext();
2199 Context context = JniUtil.getContext();
7660 public Context getContext() { method in class:WebViewClassic.PrivateHandler
7661 return WebViewClassic.this.getContext();
8661 return new PictureWrapperView(getContext(), pic, mWebView);
H A DWebViewCore.java2885 Context getContext() { method in class:WebViewCore
H A DWebViewInputDispatcher.java240 ViewConfiguration config = ViewConfiguration.get(mUiCallbacks.getContext());
1049 public Context getContext(); method in interface:WebViewInputDispatcher.UiCallbacks
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java322 public Context getContext() { method in class:ArrayAdapter
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java47 public Context getContext() { method in class:ActionMenu
64 ActionMenuItem item = new ActionMenuItem(getContext(),
H A DMenuBuilder.java730 public Context getContext() { method in class:MenuBuilder
885 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl));
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp59 static inline EGLContext getContext(JNIEnv* env, jobject o) { function in namespace:android
148 EGLContext ctx = getContext(_env, context);
233 EGLContext shr = getContext(_env, share_context);
440 EGLContext ctx = getContext(_env, context);
475 EGLContext ctx = getContext(_env, context);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java95 public Context getContext() { method in class:ActivityTestsBase

Completed in 406 milliseconds

123