Home
last modified time | relevance | path

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

/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/support/v7/appcompat/src/android/support/v7/internal/widget/
DToolbarWidgetWrapper.java70 private Spinner mSpinner; field in ToolbarWidgetWrapper
493 if (mSpinner != null && mSpinner.getParent() == mToolbar) { in setNavigationMode()
494 mToolbar.removeView(mSpinner); in setNavigationMode()
511 mToolbar.addView(mSpinner, 0); in setNavigationMode()
529 if (mSpinner == null) { in ensureSpinner()
530 mSpinner = new AppCompatSpinner(getContext(), null, R.attr.actionDropDownStyle); in ensureSpinner()
533 mSpinner.setLayoutParams(lp); in ensureSpinner()
541 mSpinner.setAdapter(adapter); in setDropdownParams()
542 mSpinner.setOnItemSelectedListener(listener); in setDropdownParams()
547 if (mSpinner == null) { in setDropdownSelectedPosition()
[all …]
/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.java99 private Spinner mSpinner; field in ActionBarView
716 if (mSpinner == null) { in setNavigationMode()
717 mSpinner = new Spinner(mContext, null, in setNavigationMode()
719 mSpinner.setId(com.android.internal.R.id.action_bar_spinner); in setNavigationMode()
725 mListNavLayout.addView(mSpinner, params); in setNavigationMode()
727 if (mSpinner.getAdapter() != mSpinnerAdapter) { in setNavigationMode()
728 mSpinner.setAdapter(mSpinnerAdapter); in setNavigationMode()
730 mSpinner.setOnItemSelectedListener(mNavItemSelectedListener); in setNavigationMode()
747 if (mSpinner != null) { in setDropdownParams()
748 mSpinner.setAdapter(adapter); in setDropdownParams()
[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
/frameworks/base/docs/html/tools/testing/
Dactivity_testing.jd263 private Spinner mSpinner;
276 mSpinner = (Spinner) mActivity.findViewById(com.android.demo.myactivity.R.id.Spinner01);
288 mSpinner.requestFocus();
Dactivity_test.jd502 mSpinner =
507 mPlanetData = mSpinner.getAdapter();
516 private Spinner mSpinner;
551 assertTrue(mSpinner.getOnItemSelectedListener() != null);
603 mSpinner.requestFocus();
604 mSpinner.setSelection(INITIAL_POSITION);
644 mPos = mSpinner.getSelectedItemPosition();
645 mSelection = (String)mSpinner.getItemAtPosition(mPos);
1001 …<code>assertTrue(mSpinner.getOnItemSelectedListener() != null);</code>. This test asserts that the…
Dtesting_android.jd278 mSpinner = (Spinner)mActivity.findViewById(com.android.example.spinner.R.id.Spinner01);