/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ArrayAdapterTest.java | 12 import android.widget.ArrayAdapter; 31 private ArrayAdapter<Integer> arrayAdapter; 39 arrayAdapter = new ArrayAdapter<Integer>(Robolectric.application, 0, list); 44 assertEquals(Robolectric.application, arrayAdapter.getContext()); 49 assertEquals(3, arrayAdapter.getCount()); 50 assertEquals(new Integer(1), arrayAdapter.getItem(0)); 51 assertEquals(new Integer(2), arrayAdapter.getItem(1)); 52 assertEquals(new Integer(3), arrayAdapter.getItem(2)) [all...] |
AbsSpinnerTest.java | 10 import android.widget.ArrayAdapter; 32 private ArrayAdapter<String> arrayAdapter; 41 arrayAdapter = new MyArrayAdapter(this.context, testItems); 51 spinner.setAdapter(arrayAdapter); 56 spinner.setAdapter(arrayAdapter); 79 spinner.setAdapter(arrayAdapter); 95 spinner.setAdapter(arrayAdapter); 103 spinner.setAdapter(arrayAdapter); 111 spinner.setAdapter(arrayAdapter); [all...] |
ShadowAutoCompleteTextViewTest.java | 15 import android.widget.ArrayAdapter; 25 ArrayAdapter<Object> adapter = new ArrayAdapter<Object>(Robolectric.application, 0);
|
/cts/tests/src/android/view/animation/cts/ |
LayoutAnimStubActivity.java | 21 import android.widget.ArrayAdapter; 35 setListAdapter(new ArrayAdapter<String>(this,
|
/cts/tests/src/android/widget/cts/ |
AdapterViewStubActivity.java | 25 import android.widget.ArrayAdapter; 52 public ArrayAdapter<String> getArrayAdapter() { 57 return new ArrayAdapter<String>(this, R.layout.adapterview_layout, list);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete2.java | 23 import android.widget.ArrayAdapter; 34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
|
AutoComplete3.java | 23 import android.widget.ArrayAdapter; 34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
|
Controls1.java | 25 import android.widget.ArrayAdapter; 45 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
|
List12.java | 25 import android.widget.ArrayAdapter; 40 private ArrayAdapter<String> mAdapter; 50 mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, mStrings);
|
SearchViewFilterMode.java | 25 import android.widget.ArrayAdapter; 39 private ArrayAdapter<String> mAdapter; 52 mListView.setAdapter(mAdapter = new ArrayAdapter<String>(this,
|
Spinner1.java | 27 import android.widget.ArrayAdapter; 45 ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource( 62 adapter = ArrayAdapter.createFromResource(this, R.array.planets,
|
Focus1.java | 25 import android.widget.ArrayAdapter; 43 listView.setAdapter(new ArrayAdapter<String>(this,
|
LayoutAnimation3.java | 23 import android.widget.ArrayAdapter; 31 setListAdapter(new ArrayAdapter<String>(this,
|
LinearLayout9.java | 24 import android.widget.ArrayAdapter; 37 list.setAdapter(new ArrayAdapter<String>(this,
|
List1.java | 21 import android.widget.ArrayAdapter; 36 setListAdapter(new ArrayAdapter<String>(this,
|
List10.java | 21 import android.widget.ArrayAdapter; 35 setListAdapter(new ArrayAdapter<String>(this,
|
List11.java | 21 import android.widget.ArrayAdapter; 35 setListAdapter(new ArrayAdapter<String>(this,
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ArrayAdapterTest.java | 25 import android.widget.ArrayAdapter; 39 private ArrayAdapter<String> mArrayAdapter; 43 mArrayAdapter = new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line); 48 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line); 49 new ArrayAdapter<String>(mContext, INVALD_ID);// invalid resource id 51 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1); 52 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, INVALD_ID); 54 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, 57 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, R.id.text1, 64 new ArrayAdapter<String>(mContext, R.layout.simple_dropdown_item_1line, list) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SoftInputModes.java | 12 import android.widget.ArrayAdapter; 50 ArrayAdapter<CharSequence> adapter = new ArrayAdapter<CharSequence>(this,
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridInHorizontal.java | 22 import android.widget.ArrayAdapter; 50 mGridView.setAdapter(new ArrayAdapter<String>(this,
|
GridInVertical.java | 22 import android.widget.ArrayAdapter; 50 mGridView.setAdapter(new ArrayAdapter<String>(this,
|
GridPadding.java | 21 import android.widget.ArrayAdapter; 44 mGridView.setAdapter(new ArrayAdapter<String>(this,
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListDividers.java | 21 import android.widget.ArrayAdapter; 44 mListView.setAdapter(new ArrayAdapter<String>(this,
|
ListInHorizontal.java | 22 import android.widget.ArrayAdapter; 47 mListView.setAdapter(new ArrayAdapter<String>(this,
|
ListInVertical.java | 22 import android.widget.ArrayAdapter; 47 mListView.setAdapter(new ArrayAdapter<String>(this,
|