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

123

/frameworks/base/core/java/android/app/
H A DAlertDialog.java128 mAlert = new AlertController(getContext(), this, getWindow());
407 public Context getContext() { method in class:AlertDialog.Builder
H A DDialog.java198 public final Context getContext() { method in class:Dialog
1028 Context context = getContext();
H A DInstrumentation.java240 public Context getContext() { method in class:Instrumentation
258 * {@link #getContext} to retrieve a Context for the instrumentation code.
262 * @see #getContext
H A DVoiceInteractor.java190 public Context getContext() { method in class:VoiceInteractor.Request
/frameworks/base/core/java/android/content/
H A DAbstractThreadedSyncAdapter.java137 public Context getContext() { method in class:AbstractThreadedSyncAdapter
H A DContentProvider.java479 final Context context = getContext();
547 final Context context = getContext();
614 public final Context getContext() { method in class:ContentProvider
879 c.setNotificationUri(getContext().getContentResolver(), uri);
937 c.setNotificationUri(getContext().getContentResolver(), uri);
H A DLoader.java124 * store the context directly; always use {@link #getContext()} to retrieve
126 * The Context returned by {@link #getContext} is safe to use across
163 public Context getContext() { method in class:Loader
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java542 public Context getContext() { method in class:NfcAdapter
/frameworks/base/core/java/android/os/
H A DSELinux.java92 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.java563 mIcon = getContext().getDrawable(mIconResId);
1000 Context context = getContext();
1024 public Context getContext() { method in class:Preference
H A DPreferenceManager.java548 * managed queries, but in most cases the use of {@link #getContext()} is
567 Context getContext() { method in class:PreferenceManager
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java432 Builder.rebuild(getContext(), notification);
615 Notification.Builder.rebuild(getContext(), sbn.getNotification());
695 private Context getContext() { method in class:NotificationListenerService
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java56 public Context getContext() { method in class:AndroidTestCase
98 getContext().startActivity(intent);
117 getContext().getContentResolver().query(uri, null, null, null, null);
136 getContext().getContentResolver().insert(uri, new ContentValues());
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java245 public Context getContext() { method in class:LayoutInflater
406 final Resources res = getContext().getResources();
702 viewContext = parent.getContext();
871 getContext().getResources().getLayout(layout);
H A DMenuInflater.java224 /*package*/ Context getContext() { method in class:MenuInflater
H A DView.java4000 mHandler = getContext().getClass().getMethod(handlerName,
4005 + getContext().getResources().getResourceEntryName(
4009 + getContext().getClass() + " for onClick handler"
4015 mHandler.invoke(getContext(), View.this);
5453 event.setPackageName(getContext().getPackageName());
6906 final int targetSdkVersion = getContext().getApplicationInfo().targetSdkVersion;
8934 public final Context getContext() { method in class:View
13157 final int targetSdkVersion = getContext().getApplicationInfo().targetSdkVersion;
H A DWindow.java462 public final Context getContext() { method in class:Window
/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.java756 public Context getContext() { method in class:MenuBuilder
915 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl));
1144 mHeaderIcon = getContext().getDrawable(iconRes);
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorToolbar.java43 Context getContext(); method in interface:DecorToolbar
H A DToolbarWidgetWrapper.java101 final TypedArray a = toolbar.getContext().obtainStyledAttributes(null,
132 setCustomView(LayoutInflater.from(mToolbar.getContext()).inflate(customNavId,
155 mToolbar.setTitleTextAppearance(mToolbar.getContext(), titleTextStyle);
161 mToolbar.setSubtitleTextAppearance(mToolbar.getContext(), subtitleTextStyle);
177 final ActionMenuItem mNavItem = new ActionMenuItem(mToolbar.getContext(),
215 public Context getContext() { method in class:ToolbarWidgetWrapper
216 return mToolbar.getContext();
321 setIcon(resId != 0 ? getContext().getDrawable(resId) : null);
332 setLogo(resId != 0 ? getContext().getDrawable(resId) : null);
386 mActionMenuPresenter = new ActionMenuPresenter(mToolbar.getContext());
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp225 PerfMeasurementContext* getContext(jlong context) { function
239 PerfMeasurementContext *context = getContext(contextHandle);
252 PerfMeasurementContext *context = getContext(contextHandle);
277 PerfMeasurementContext *context = getContext(contextHandle);
296 PerfMeasurementContext *context = getContext(contextHandle);
H A Dcom_google_android_gles_jni_EGLImpl.cpp59 static inline EGLContext getContext(JNIEnv* env, jobject o) { function in namespace:android
153 EGLContext ctx = getContext(_env, context);
238 EGLContext shr = getContext(_env, share_context);
443 EGLContext ctx = getContext(_env, context);
478 EGLContext ctx = getContext(_env, context);

Completed in 5401 milliseconds

123