Searched defs:getContext (Results 1 - 24 of 24) sorted by relevance

/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/libs/rs/
H A DrsObjectBase.h48 Context * getContext() const {return mRSC;} function in class:android::renderscript::ObjectBase
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java71 public Context getContext() { method in class:AbstractThreadedSyncAdapter
H A DContentProvider.java234 final Context context = getContext();
280 final Context context = getContext();
335 public final Context getContext() { method in class:ContentProvider
457 c.setNotificationUri(getContext().getContentResolver(), uri);
/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 DPreferenceManager.java492 * managed queries, but in most cases the use of {@link #getContext()} is
511 Context getContext() { method in class:PreferenceManager
H A DPreference.java827 Context context = getContext();
840 public Context getContext() { method in class:Preference
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java197 public Context getContext() { method in class:LayoutInflater
318 XmlResourceParser parser = getContext().getResources().getLayout(resource);
658 getContext().getResources().getLayout(layout);
H A DWindow.java307 public final Context getContext() { method in class:Window
H A DView.java2052 mHandler = getContext().getClass().getMethod(handlerName,
2057 + getContext().getResources().getResourceEntryName(
2061 + getContext().getClass() + " for onClick handler"
2067 mHandler.invoke(getContext(), View.this);
2688 event.setPackageName(getContext().getPackageName());
4031 public final Context getContext() { method in class:View
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java283 public Context getContext() { method in class:ArrayAdapter
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java95 public Context getContext() { method in class:ActivityTestsBase
/frameworks/base/test-runner/tests/src/android/test/
H A DInstrumentationTestRunnerTest.java181 public Context getContext() { method in class:InstrumentationTestRunnerTest.StubInstrumentationTestRunner
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java165 mLayout = new FrameLayout(proxy.getContext());
170 mVideoView = new VideoView(proxy.getContext());
172 mVideoView.setMediaController(new MediaController(proxy.getContext()));
430 mRequestQueue = new RequestQueue(mProxy.getContext());
508 public Context getContext() { method in class:HTML5VideoViewProxy
509 return mWebView.getContext();
H A DLoadListener.java290 Context getContext() { method in class:LoadListener
1370 Network network = Network.getInstance(getContext());
H A DWebViewCore.java2326 private Context getContext() { method in class:WebViewCore
/frameworks/base/core/java/android/app/
H A DDialog.java175 public final Context getContext() { method in class:Dialog
840 Context context = getContext();
H A DInstrumentation.java227 public Context getContext() { method in class:Instrumentation
245 * {@link #getContext} to retrieve a Context for the instrumentation code.
249 * @see #getContext
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java725 public Context getContext() { method in class:MenuBuilder
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp75 static inline EGLContext getContext(JNIEnv* env, jobject o) { function in namespace:android
165 EGLContext ctx = getContext(_env, context);
240 EGLContext shr = getContext(_env, share_context);
417 EGLContext ctx = getContext(_env, context);
452 EGLContext ctx = getContext(_env, context);
/frameworks/base/opengl/libs/EGL/
H A Degl.cpp340 EGLContext getContext() { function in namespace:android
527 EGLContext context = getContext();
1116 egl_context_t * cur_c = get_context(getContext());
1219 EGLContext ctx = getContext();
1228 EGLContext ctx = getContext();
1246 EGLContext ctx = getContext();
1261 EGLContext ctx = getContext();
1281 EGLContext ctx = getContext();
1505 EGLContext ctx = getContext();
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneBase.java275 public Context getContext() { method in class:PhoneBase
286 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());
433 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());
H A DPhoneProxy.java182 public Context getContext() { method in class:PhoneProxy
183 return mActivePhone.getContext();
H A DPhone.java261 Context getContext(); method in interface:Phone

Completed in 300 milliseconds