Searched refs:mSpinner (Results 1 – 8 of 8) sorted by relevance
40 Spinner mSpinner; field in ClipboardSample80 mSpinner = (Spinner) findViewById(R.id.clip_type); in onCreate()84 mSpinner.setAdapter(adapter); in onCreate()85 mSpinner.setOnItemSelectedListener( in onCreate()148 mSpinner.setSelection(2); in updateClipData()150 mSpinner.setSelection(1); in updateClipData()152 mSpinner.setSelection(3); in updateClipData()154 mSpinner.setSelection(4); in updateClipData()156 mSpinner.setSelection(0); in updateClipData()159 mSpinner.setSelection(0); in updateClipData()[all …]
84 private Spinner mSpinner; field in SpinnerActivityTest135 mSpinner = (Spinner)mActivity.findViewById(com.android.example.spinner.R.id.Spinner01); in setUp()137 mPlanetData = mSpinner.getAdapter(); in setUp()153 assertTrue(mSpinner.getOnItemSelectedListener() != null); in testPreconditions()186 mSpinner.requestFocus(); in testSpinnerUI()187 mSpinner.setSelection(INITIAL_POSITION); in testSpinnerUI()209 mPos = mSpinner.getSelectedItemPosition(); in testSpinnerUI()216 mSelection = (String)mSpinner.getItemAtPosition(mPos); in testSpinnerUI()
62 private Spinner mSpinner; field in MenuInflateFromXml86 mSpinner = new Spinner(this); in onCreate()89 mSpinner.setId(R.id.spinner); in onCreate()90 mSpinner.setAdapter(adapter); in onCreate()91 mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate()102 layout.addView(mSpinner, in onCreate()130 inflater.inflate(sMenuExampleResources[mSpinner.getSelectedItemPosition()], menu); in onCreateOptionsMenu()
58 private Spinner mSpinner; field in MainActivity76 mSpinner = (Spinner) findViewById(R.id.spinner); in onCreate()77 mSpinner.setAdapter( in onCreate()87 mSpinner.setSelection(selection); in onCreate()92 mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate()
41 private Spinner mSpinner; field in MidiPortSelector65 mSpinner = (Spinner) activity.findViewById(spinnerId); in MidiPortSelector()66 mSpinner.setOnItemSelectedListener( in MidiPortSelector()80 mSpinner.setAdapter(mAdapter); in MidiPortSelector()95 mSpinner.setSelection(0); in clearSelection()
58 Spinner mSpinner; field in AppUsageStatisticsFragment99 mSpinner = (Spinner) rootView.findViewById(R.id.spinner_time_span); in onViewCreated()102 mSpinner.setAdapter(spinnerAdapter); in onViewCreated()103 mSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onViewCreated()
88 private Spinner mSpinner; field in MainActivity99 mSpinner = (Spinner) findViewById(R.id.spinner); in onCreate()112 mSpinner.setAdapter(adapter); in onCreate()113 mSpinner.setOnItemSelectedListener(this); in onCreate()