Home
last modified time | relevance | path

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

/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/
DMainActivity.java67 private ArrayAdapter<String> mModelsAdapter; field in MainActivity
94 mModelsAdapter = new ArrayAdapter<String>(this, in onCreate()
97 mModelsAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); in onCreate()
99 testModelSpinner.setAdapter(mModelsAdapter); in onCreate()
124 mModelsAdapter.clear(); in onCreate()
125 mModelsAdapter.addAll(modelsForAccelerator(mAcceleratorName.get())); in onCreate()
126 mModelsAdapter.notifyDataSetChanged(); in onCreate()
238 testList = new int[mModelsAdapter.getCount()]; in startInferenceTest()
240 for (int i = 1; i < mModelsAdapter.getCount(); i++) { in startInferenceTest()
241 String modelName = mModelsAdapter.getItem(i); in startInferenceTest()