Home
last modified time | relevance | path

Searched refs:mPopupContext (Results 1 – 12 of 12) 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()
298 return mPopupContext; in getPopupContext()
395 final Context popupContext = mPopupContext == null ? getContext() : mPopupContext; in setAdapter()
DAbsActionBarView.java41 protected final Context mPopupContext; field in AbsActionBarView
66 mPopupContext = new ContextThemeWrapper(context, tv.resourceId); in AbsActionBarView()
68 mPopupContext = context; in AbsActionBarView()
DActionMenuView.java56 private Context mPopupContext; field in ActionMenuView
82 mPopupContext = context; in ActionMenuView()
97 mPopupContext = getContext(); in setPopupTheme()
99 mPopupContext = new ContextThemeWrapper(getContext(), resId); in setPopupTheme()
648 mMenu.addMenuPresenter(mPresenter, mPopupContext); in getMenu()
DToolbar.java155 private Context mPopupContext; field in Toolbar
312 mPopupContext = getContext(); in Toolbar()
357 mPopupContext = getContext(); in setPopupTheme()
359 mPopupContext = new ContextThemeWrapper(getContext(), resId); in setPopupTheme()
564 menu.addMenuPresenter(outerPresenter, mPopupContext); in setMenu()
565 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
567 outerPresenter.initForMenu(mPopupContext, null); in setMenu()
568 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
1036 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in ensureMenu()
DActionBarContextView.java180 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java101 private final Context mPopupContext; field in AutoCompleteTextView
224 mPopupContext = new ContextThemeWrapper(context, popupTheme); in AutoCompleteTextView()
229 mPopupContext = new ContextThemeWrapper(context, popupThemeResId); in AutoCompleteTextView()
231 mPopupContext = context; in AutoCompleteTextView()
237 if (mPopupContext != context) { in AutoCompleteTextView()
238 pa = mPopupContext.obtainStyledAttributes( in AutoCompleteTextView()
259 mPopup = new ListPopupWindow(mPopupContext, attrs, defStyleAttr, defStyleRes); in AutoCompleteTextView()
334 final TextView hintView = (TextView) LayoutInflater.from(mPopupContext).inflate( in setCompletionHint()
DSpinner.java91 private final Context mPopupContext; field in Spinner
246 mPopupContext = new ContextThemeWrapper(context, popupTheme); in Spinner()
250 mPopupContext = new ContextThemeWrapper(context, popupThemeResId); in Spinner()
252 mPopupContext = context; in Spinner()
269 mPopupContext, attrs, defStyleAttr, defStyleRes); in Spinner()
270 final TypedArray pa = mPopupContext.obtainStyledAttributes( in Spinner()
319 return mPopupContext; in getPopupContext()
530 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.java146 private Context mPopupContext; field in Toolbar
299 mPopupContext = mContext; in Toolbar()
344 mPopupContext = mContext; in setPopupTheme()
346 mPopupContext = new ContextThemeWrapper(mContext, resId); in setPopupTheme()
550 menu.addMenuPresenter(outerPresenter, mPopupContext); in setMenu()
551 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in setMenu()
553 outerPresenter.initForMenu(mPopupContext, null); in setMenu()
554 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in setMenu()
1031 menu.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in ensureMenu()
2139 return mPopupContext; in getPopupContext()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java46 protected final Context mPopupContext; field in AbsActionBarView
79 mPopupContext = new ContextThemeWrapper(context, tv.resourceId); in AbsActionBarView()
81 mPopupContext = context; in AbsActionBarView()
DActionBarContextView.java227 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
240 menu.addMenuPresenter(mActionMenuPresenter, mPopupContext); in initForMode()
DActionBarView.java438 builder.addMenuPresenter(mActionMenuPresenter, mPopupContext); in configPresenters()
439 builder.addMenuPresenter(mExpandedMenuPresenter, mPopupContext); in configPresenters()
441 mActionMenuPresenter.initForMenu(mPopupContext, null); in configPresenters()
442 mExpandedMenuPresenter.initForMenu(mPopupContext, null); in configPresenters()