Lines Matching defs:getContext
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() {
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());
524 mSpinner = new Spinner(getContext(), null, R.attr.actionDropDownStyle);
611 setNavigationIcon(resId != 0 ? mToolbar.getContext().getDrawable(resId) : null);
638 setNavigationContentDescription(resId == 0 ? null : getContext().getString(resId));