Home
last modified time | relevance | path

Searched refs:mPopupContext (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatSpinner.java85 private Context mPopupContext; field in AppCompatSpinner
206 mPopupContext = new ContextThemeWrapper(context, popupTheme); in AppCompatSpinner()
210 mPopupContext = new ContextThemeWrapper(context, popupThemeResId); in AppCompatSpinner()
214 mPopupContext = !IS_AT_LEAST_M ? context : null; in AppCompatSpinner()
218 if (mPopupContext != null) { in AppCompatSpinner()
243 final DropdownPopup popup = new DropdownPopup(mPopupContext, attrs, defStyleAttr); in AppCompatSpinner()
245 mPopupContext, attrs, R.styleable.Spinner, defStyleAttr, 0); in AppCompatSpinner()
289 return mPopupContext; in getPopupContext()
386 final Context popupContext = mPopupContext == null ? getContext() : mPopupContext; in setAdapter()
DActionMenuView.java57 private Context mPopupContext; field in ActionMenuView
83 mPopupContext = context; in ActionMenuView()
98 mPopupContext = getContext(); in setPopupTheme()
100 mPopupContext = new ContextThemeWrapper(getContext(), resId); in setPopupTheme()
649 mMenu.addMenuPresenter(mPresenter, mPopupContext); in getMenu()
DToolbar.java135 private Context mPopupContext; field in Toolbar
278 mPopupContext = getContext(); in Toolbar()
324 mPopupContext = getContext(); in setPopupTheme()
326 mPopupContext = new ContextThemeWrapper(getContext(), resId); in setPopupTheme()
421 menu.addMenuPresenter(outerPresenter, mPopupContext); in setMenu()
422 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
424 outerPresenter.initForMenu(mPopupContext, null); in setMenu()
425 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
881 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in ensureMenu()
/frameworks/base/core/java/android/widget/
DSpinner.java89 private Context mPopupContext; field in Spinner
238 mPopupContext = new ContextThemeWrapper(context, popupTheme); in Spinner()
242 mPopupContext = new ContextThemeWrapper(context, popupThemeResId); in Spinner()
244 mPopupContext = context; in Spinner()
261 mPopupContext, attrs, defStyleAttr, defStyleRes); in Spinner()
262 final TypedArray pa = mPopupContext.obtainStyledAttributes( in Spinner()
307 return mPopupContext; in getPopupContext()
518 final Context popupContext = mPopupContext == null ? mContext : mPopupContext; in setAdapter()
DActionMenuView.java55 private Context mPopupContext; field in ActionMenuView
81 mPopupContext = context; in ActionMenuView()
96 mPopupContext = mContext; in setPopupTheme()
98 mPopupContext = new ContextThemeWrapper(mContext, resId); in setPopupTheme()
646 mMenu.addMenuPresenter(mPresenter, mPopupContext); in getMenu()
DToolbar.java117 private Context mPopupContext; field in Toolbar
263 mPopupContext = mContext; in Toolbar()
308 mPopupContext = mContext; in setPopupTheme()
310 mPopupContext = new ContextThemeWrapper(mContext, resId); in setPopupTheme()
404 menu.addMenuPresenter(outerPresenter, mPopupContext); in setMenu()
405 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
407 outerPresenter.initForMenu(mPopupContext, null); in setMenu()
408 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
876 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in ensureMenu()
1823 return mPopupContext; in getPopupContext()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsActionBarView.java43 protected final Context mPopupContext; field in AbsActionBarView
68 mPopupContext = new ContextThemeWrapper(context, tv.resourceId); in AbsActionBarView()
70 mPopupContext = context; in AbsActionBarView()
DActionBarContextView.java183 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java45 protected final Context mPopupContext; field in AbsActionBarView
75 mPopupContext = new ContextThemeWrapper(context, tv.resourceId); in AbsActionBarView()
77 mPopupContext = context; in AbsActionBarView()
DActionBarContextView.java227 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
240 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
DActionBarView.java436 builder.addMenuPresenter(mActionMenuPresenter, mPopupContext); in configPresenters()
437 builder.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in configPresenters()
439 mActionMenuPresenter.initForMenu(mPopupContext, null); in configPresenters()
440 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in configPresenters()