Lines Matching refs:mSpinner
70 private Spinner mSpinner;
488 if (mSpinner != null && mSpinner.getParent() == mToolbar) {
489 mToolbar.removeView(mSpinner);
506 mToolbar.addView(mSpinner, 0);
524 if (mSpinner == null) {
525 mSpinner = new Spinner(getContext(), null, R.attr.actionDropDownStyle);
528 mSpinner.setLayoutParams(lp);
536 mSpinner.setAdapter(adapter);
537 mSpinner.setOnItemSelectedListener(listener);
542 if (mSpinner == null) {
546 mSpinner.setSelection(position);
551 return mSpinner != null ? mSpinner.getSelectedItemPosition() : 0;
556 return mSpinner != null ? mSpinner.getCount() : 0;