/frameworks/base/core/java/android/app/ |
H A D | Dialog.java | 198 public final Context getContext() { method in class:Dialog 1028 Context context = getContext();
|
H A D | Instrumentation.java | 240 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 D | ContentProvider.java | 479 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 D | MenuBuilder.java | 756 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 D | ToolbarWidgetWrapper.java | 101 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 D | com_google_android_gles_jni_EGLImpl.cpp | 59 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 D | QSTile.java | 73 mContext = host.getContext(); 298 Context getContext(); method in interface:QSTile.Host
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 199 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 D | BaseRecipientAdapter.java | 554 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 D | MenuBuilder.java | 797 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 D | ToolbarWidgetWrapper.java | 101 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 D | Preference.java | 563 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 D | CameraStreamer.java | 717 mSurfaceView = mRunner.getContext().getDummySurfaceView(); 891 public MffContext getContext() { method in class:CameraStreamer.CameraRunnable 1205 getContext().assertOpenGLSupported();
|
H A D | GraphRunner.java | 283 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 D | PhotoViewController.java | 75 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 D | CallManager.java | 518 Context context = getContext(); 591 private Context getContext() { method in class:CallManager 593 return ((defaultPhone == null) ? null : defaultPhone.getContext());
|
H A D | PhoneProxy.java | 99 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 D | Phone.java | 231 Context getContext(); method in interface:Phone
|
H A D | PhoneBase.java | 643 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 D | rsCppStructs.h | 144 RsContext getContext() { return mContext; } function in class:android::RSC::RS
|
/frameworks/base/core/java/android/view/ |
H A D | Window.java | 462 public final Context getContext() { method in class:Window
|
H A D | View.java | 4000 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 D | InputReader.h | 546 inline InputReaderContext* getContext() { return mContext; } function in class:android::InputDevice 955 inline InputReaderContext* getContext() { return mContext; } function in class:android::InputMapper
|