Home
last modified time | relevance | path

Searched refs:mSpinner (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v7/preference/src/android/support/v7/preference/
DDropDownPreference.java37 private Spinner mSpinner; field in DropDownPreference
62 mSpinner.performClick(); in onClick()
121 mSpinner = (Spinner) view.itemView.findViewById(R.id.spinner); in onBindViewHolder()
122 mSpinner.setAdapter(mAdapter); in onBindViewHolder()
123 mSpinner.setOnItemSelectedListener(mItemSelectedListener); in onBindViewHolder()
124 mSpinner.setSelection(findSpinnerIndexOfValue(getValue())); in onBindViewHolder()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineAlignmentSpinnerButton.java29 private View mSpinner; field in BaselineAlignmentSpinnerButton
41 mSpinner = activity.findViewById(R.id.reminder_value); in setUp()
47 assertNotNull(mSpinner); in testSetUpConditions()
53 ViewAsserts.assertBaselineAligned(mSpinner, mButton); in testChildrenAligned()
/frameworks/base/core/java/com/android/internal/widget/
DToolbarWidgetWrapper.java70 private Spinner mSpinner; field in ToolbarWidgetWrapper
488 if (mSpinner != null && mSpinner.getParent() == mToolbar) { in setNavigationMode()
489 mToolbar.removeView(mSpinner); in setNavigationMode()
506 mToolbar.addView(mSpinner, 0); in setNavigationMode()
524 if (mSpinner == null) { in ensureSpinner()
525 mSpinner = new Spinner(getContext(), null, R.attr.actionDropDownStyle); in ensureSpinner()
528 mSpinner.setLayoutParams(lp); in ensureSpinner()
536 mSpinner.setAdapter(adapter); in setDropdownParams()
537 mSpinner.setOnItemSelectedListener(listener); in setDropdownParams()
542 if (mSpinner == null) { in setDropdownSelectedPosition()
[all …]
DActionBarView.java101 private Spinner mSpinner; field in ActionBarView
718 if (mSpinner == null) { in setNavigationMode()
719 mSpinner = new Spinner(mContext, null, in setNavigationMode()
721 mSpinner.setId(com.android.internal.R.id.action_bar_spinner); in setNavigationMode()
727 mListNavLayout.addView(mSpinner, params); in setNavigationMode()
729 if (mSpinner.getAdapter() != mSpinnerAdapter) { in setNavigationMode()
730 mSpinner.setAdapter(mSpinnerAdapter); in setNavigationMode()
732 mSpinner.setOnItemSelectedListener(mNavItemSelectedListener); in setNavigationMode()
749 if (mSpinner != null) { in setDropdownParams()
750 mSpinner.setAdapter(adapter); in setDropdownParams()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbarWidgetWrapper.java68 private Spinner mSpinner; field in ToolbarWidgetWrapper
464 if (mSpinner != null && mSpinner.getParent() == mToolbar) { in setNavigationMode()
465 mToolbar.removeView(mSpinner); in setNavigationMode()
482 mToolbar.addView(mSpinner, 0); in setNavigationMode()
500 if (mSpinner == null) { in ensureSpinner()
501 mSpinner = new AppCompatSpinner(getContext(), null, R.attr.actionDropDownStyle); in ensureSpinner()
504 mSpinner.setLayoutParams(lp); in ensureSpinner()
512 mSpinner.setAdapter(adapter); in setDropdownParams()
513 mSpinner.setOnItemSelectedListener(listener); in setDropdownParams()
518 if (mSpinner == null) { in setDropdownSelectedPosition()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java64 private Spinner mSpinner; field in SmartCamera
137 mSpinner.setEnabled(true); in captureImages()
160 mSpinner = (Spinner) findViewById(R.id.spinner); in onCreate()
167 mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate()
187 numImages = mSpinner.getSelectedItemPosition()+1; in onCreate()
204 mSpinner.setEnabled(false); in onCreate()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
DImageProcessingActivity.java123 private Spinner mSpinner; field in ImageProcessingActivity
215 mSpinner.setVisibility(View.VISIBLE); in setupBars()
216 mTest.onSpinner1Setup(mSpinner); in setupBars()
421 mSpinner = (Spinner) findViewById(R.id.spinner1); in init()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java51 private Spinner mSpinner; field in ImageProcessingActivityJB
581 mSpinner.setVisibility(View.VISIBLE); in setupBars()
582 t.onSpinner1Setup(mSpinner); in setupBars()
606 mSpinner.setVisibility(View.INVISIBLE); in hideBars()
632 mSpinner = (Spinner) findViewById(R.id.spinner1); in onCreate()
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java49 private Spinner mSpinner; field in ImageProcessingActivity2
620 mSpinner.setVisibility(View.VISIBLE); in setupBars()
621 t.onSpinner1Setup(mSpinner); in setupBars()
645 mSpinner.setVisibility(View.INVISIBLE); in hideBars()
672 mSpinner = (Spinner) findViewById(R.id.spinner1); in onCreate()
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
DScriptGroupTestActivity.java60 private Spinner mSpinner; field in ScriptGroupTestActivity