Home
last modified time | relevance | path

Searched refs:arrayAdapter (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowArrayAdapterTest.java24 private ArrayAdapter<Integer> arrayAdapter; field in ShadowArrayAdapterTest
34 arrayAdapter = new ArrayAdapter<>(context, 0, list); in setUp()
39 assertThat(arrayAdapter.getContext()).isSameAs(context); in verifyContext()
45 assertEquals(3, arrayAdapter.getCount()); in verifyListContent()
46 assertEquals(new Integer(1), arrayAdapter.getItem(0)); in verifyListContent()
47 assertEquals(new Integer(2), arrayAdapter.getItem(1)); in verifyListContent()
48 assertEquals(new Integer(3), arrayAdapter.getItem(2)); in verifyListContent()
54 ArrayAdapter<String> arrayAdapter = in usesTextViewResourceIdToSetTextWithinListItemView() local
56 View listItemView = arrayAdapter.getView(0, null, parent); in usesTextViewResourceIdToSetTextWithinListItemView()
63 ArrayAdapter<String> arrayAdapter = in hasTheCorrectConstructorResourceIDs() local
[all …]
DShadowAbsSpinnerTest.java22 private ArrayAdapter<String> arrayAdapter; field in ShadowAbsSpinnerTest
30 arrayAdapter = new MyArrayAdapter(this.context, testItems); in setUp()
35 spinner.setAdapter(arrayAdapter); in checkSetAdapter()
40 spinner.setAdapter(arrayAdapter); in getSelectedItemShouldReturnCorrectValue()
57 spinner.setAdapter(arrayAdapter); in setSelectionWithAnimatedTransition()
DShadowAlertDialogTest.java263 ArrayAdapter<Integer> arrayAdapter = in shouldCallTheClickListenerOfTheCheckedAdapterInASingleChoiceDialog() local
265 builder.setSingleChoiceItems(arrayAdapter, 1, listener); in shouldCallTheClickListenerOfTheCheckedAdapterInASingleChoiceDialog()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DSpeechActivity.java137 ArrayAdapter<String> arrayAdapter = in onCreate() local
139 labelsListView.setAdapter(arrayAdapter); in onCreate()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java153 ArrayAdapter<String> arrayAdapter = in onCreate() local
155 labelsListView.setAdapter(arrayAdapter); in onCreate()