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

12

/frameworks/base/core/java/android/app/
H A DAlertDialog.java116 mAlert = new AlertController(getContext(), this, getWindow());
387 public Context getContext() { method in class:AlertDialog.Builder
H A DDialog.java193 public final Context getContext() { method in class:Dialog
995 Context context = getContext();
H A DInstrumentation.java226 public Context getContext() { method in class:Instrumentation
244 * {@link #getContext} to retrieve a Context for the instrumentation code.
248 * @see #getContext
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java136 public Context getContext() { method in class:AbstractThreadedSyncAdapter
H A DContentProvider.java258 final Context context = getContext();
304 final Context context = getContext();
359 public final Context getContext() { method in class:ContentProvider
520 c.setNotificationUri(getContext().getContentResolver(), uri);
H A DLoader.java105 * store the context directly; always use {@link #getContext()} to retrieve
107 * The Context returned by {@link #getContext} is safe to use across
132 public Context getContext() { method in class:Loader
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java399 public Context getContext() { method in class:NfcAdapter
/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.java525 mIcon = getContext().getResources().getDrawable(mIconResId);
956 Context context = getContext();
980 public Context getContext() { method in class:Preference
H A DPreferenceManager.java525 * managed queries, but in most cases the use of {@link #getContext()} is
544 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);
779 getContext().getResources().getLayout(layout);
H A DView.java3024 mHandler = getContext().getClass().getMethod(handlerName,
3029 + getContext().getResources().getResourceEntryName(
3033 + getContext().getClass() + " for onClick handler"
3039 mHandler.invoke(getContext(), View.this);
4086 event.setPackageName(getContext().getPackageName());
5985 public final Context getContext() { method in class:View
H A DWindow.java383 public final Context getContext() { method in class:Window
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java158 mHTML5VideoView = new HTML5VideoFullScreen(proxy.getContext(),
505 mRequestQueue = new RequestQueue(mProxy.getContext());
594 public Context getContext() { method in class:HTML5VideoViewProxy
595 return mWebView.getContext();
H A DJniUtil.java57 protected static synchronized Context getContext() { method in class:JniUtil
H A DLoadListener.java287 Context getContext() { method in class:LoadListener
1350 Network network = Network.getInstance(getContext());
H A DWebViewCore.java2675 Context getContext() { method in class:WebViewCore
/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
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp58 static inline EGLContext getContext(JNIEnv* env, jobject o) { function in namespace:android
147 EGLContext ctx = getContext(_env, context);
232 EGLContext shr = getContext(_env, share_context);
439 EGLContext ctx = getContext(_env, context);
474 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
/frameworks/base/libs/rs/
H A DrsObjectBase.h52 Context * getContext() const {return mRSC;} function in class:android::renderscript::ObjectBase
/frameworks/base/opengl/java/android/opengl/
H A DManagedEGLContext.java69 public EGLContext getContext() { method in class:ManagedEGLContext

Completed in 1819 milliseconds

12