Searched defs:getContext (Results 51 - 73 of 73) sorted by relevance

123

/frameworks/base/core/java/android/app/
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
/frameworks/base/core/java/android/content/
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);
/frameworks/base/core/java/com/android/internal/view/menu/
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 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 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);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTile.java73 mContext = host.getContext();
298 Context getContext(); method in interface:QSTile.Host
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp199 static inline EGLContext getContext() { return egl_tls_t::getContext(); } function
722 egl_context_t * cur_c = get_context(getContext());
807 EGLContext ctx = getContext();
818 EGLContext ctx = getContext();
838 EGLContext ctx = getContext();
1067 EGLContext ctx = egl_tls_t::getContext();
1079 EGLContext ctx = egl_tls_t::getContext();
1097 egl_context_t * const c = get_context( egl_tls_t::getContext() );
1310 egl_display_t::loseCurrent(get_context(getContext()));
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java554 public Context getContext() { method in class:BaseRecipientAdapter
602 getContext(), this, inAddresses, getAccount(), callback);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java797 public Context getContext() { method in class:MenuBuilder
960 itemImpl.setSubMenu(new SubMenuBuilder(getContext(), this, itemImpl));
1191 mHeaderIcon = ContextCompat.getDrawable(getContext(), iconRes);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DToolbarWidgetWrapper.java101 final TintTypedArray a = TintTypedArray.obtainStyledAttributes(toolbar.getContext(),
134 setCustomView(LayoutInflater.from(mToolbar.getContext()).inflate(customNavId,
157 mToolbar.setTitleTextAppearance(mToolbar.getContext(), titleTextStyle);
163 mToolbar.setSubtitleTextAppearance(mToolbar.getContext(), subtitleTextStyle);
177 mTintManager = new TintManager(toolbar.getContext());
186 final ActionMenuItem mNavItem = new ActionMenuItem(mToolbar.getContext(),
240 public Context getContext() { method in class:ToolbarWidgetWrapper
241 return mToolbar.getContext();
411 mActionMenuPresenter = new ActionMenuPresenter(mToolbar.getContext());
551 mSpinner = new SpinnerCompat(getContext(), nul
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java563 mIcon = getContext().getDrawable(mIconResId);
1000 Context context = getContext();
1024 public Context getContext() { method in class:Preference
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java717 mSurfaceView = mRunner.getContext().getDummySurfaceView();
891 public MffContext getContext() { method in class:CameraStreamer.CameraRunnable
1205 getContext().assertOpenGLSupported();
H A DGraphRunner.java283 if (getContext().isOpenGLSupported()) {
660 public MffContext getContext() { method in class:GraphRunner
1006 getContext().postRunnable(new Runnable() {
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java75 public Context getContext(); method in interface:PhotoViewController.ActivityInterface
217 activity.getContext().getSystemService(Context.ACCESSIBILITY_SERVICE);
298 mAdapter = createPhotoPagerAdapter(mActivity.getContext(),
359 mActivity.getContext().getSystemService(Context.WINDOW_SERVICE);
505 return new PhotoPagerLoader(mActivity.getContext(), Uri.parse(mPhotosUri), mProjection);
516 return new PhotoBitmapLoader(mActivity.getContext(), uri);
788 announcement = mActivity.getContext().getResources().getString(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java518 Context context = getContext();
591 private Context getContext() { method in class:CallManager
593 return ((defaultPhone == null) ? null : defaultPhone.getContext());
H A DPhoneProxy.java99 mIccCardProxy = new IccCardProxy(mActivePhone.getContext(), mCommandsInterface, mActivePhone.getPhoneId());
152 if (!mActivePhone.getContext().getResources().getBoolean(
182 int volteReplacementRat = mActivePhone.getContext().getResources().getInteger(
383 public Context getContext() { method in class:PhoneProxy
384 return mActivePhone.getContext();
H A DPhone.java231 Context getContext(); method in interface:Phone
H A DPhoneBase.java643 public Context getContext() { method in class:PhoneBase
658 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());
920 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());
961 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());
1220 int mode = Settings.Secure.getInt(getContext().getContentResolver(),
/frameworks/rs/cpp/
H A DrsCppStructs.h144 RsContext getContext() { return mContext; } function in class:android::RSC::RS
/frameworks/base/core/java/android/view/
H A DWindow.java462 public final Context getContext() { method in class:Window
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;
/frameworks/native/services/inputflinger/
H A DInputReader.h546 inline InputReaderContext* getContext() { return mContext; } function in class:android::InputDevice
955 inline InputReaderContext* getContext() { return mContext; } function in class:android::InputMapper

Completed in 354 milliseconds

123