Home
last modified time | relevance | path

Searched refs:ListView (Results 1 – 25 of 38) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowListViewTest.java19 import android.widget.ListView;
34 private ListView listView;
44 listView = new ListView(context); in setUp()
245 prepareListAdapter().withChoiceMode(ListView.CHOICE_MODE_SINGLE).withAnyItemChecked(); in givenChoiceModeIsSingle_whenGettingCheckedItemPosition_thenReturnPosition()
252 prepareListAdapter().withChoiceMode(ListView.CHOICE_MODE_MULTIPLE).withAnyItemChecked(); in givenChoiceModeIsMultiple_whenGettingCheckedItemPosition_thenReturnInvalidPosition()
254 assertThat(listView.getCheckedItemPosition()).isEqualTo(ListView.INVALID_POSITION); in givenChoiceModeIsMultiple_whenGettingCheckedItemPosition_thenReturnInvalidPosition()
259 prepareListAdapter().withChoiceMode(ListView.CHOICE_MODE_NONE); in givenChoiceModeIsNone_whenGettingCheckedItemPosition_thenReturnInvalidPosition()
261 assertThat(listView.getCheckedItemPosition()).isEqualTo(ListView.INVALID_POSITION); in givenChoiceModeIsNone_whenGettingCheckedItemPosition_thenReturnInvalidPosition()
266 prepareListAdapter().withChoiceMode(ListView.CHOICE_MODE_SINGLE); in givenNoItemsChecked_whenGettingCheckedItemOisition_thenReturnInvalidPosition()
268 assertThat(listView.getCheckedItemPosition()).isEqualTo(ListView.INVALID_POSITION); in givenNoItemsChecked_whenGettingCheckedItemOisition_thenReturnInvalidPosition()
[all …]
DShadowListViewAdapterViewBehaviorTest.java4 import android.widget.ListView;
12 return new ListView(ApplicationProvider.getApplicationContext()); in createAdapterView()
DShadowArrayAdapterTest.java9 import android.widget.ListView;
53 ListView parent = new ListView(context); in usesTextViewResourceIdToSetTextWithinListItemView()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DListMixin.java31 import android.widget.ListView;
45 @Nullable private ListView listView;
83 public ListView getListView() { in getListView()
90 private ListView getListViewInternal() { in getListViewInternal()
93 if (list instanceof ListView) { in getListViewInternal()
94 listView = (ListView) list; in getListViewInternal()
118 final ListView listView = getListViewInternal(); in getAdapter()
131 final ListView listView = getListViewInternal(); in setAdapter()
178 final ListView listView = getListViewInternal(); in updateDivider()
DListViewScrollHandlingDelegate.java24 import android.widget.ListView;
40 @Nullable private final ListView listView;
43 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ListView listView) { in ListViewScrollHandlingDelegate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowListView.java5 import android.widget.ListView;
12 @Implements(ListView.class)
14 @RealObject private ListView realListView;
DShadowAlertController.java9 import android.widget.ListView;
85 …return ReflectionHelpers.<ListView>callInstanceMethod(realAlertController, "getListView").getAdapt… in getAdapter()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DListViewActivity.java27 import android.widget.ListView;
42 private ListView lv;
47 lv = (ListView) findViewById(R.id.listView1); in onCreate()
/external/python/cpython3/Lib/msilib/
Dschema.py319 ListView = Table('ListView') variable
320 ListView.add_field(1,'Property',11592)
321 ListView.add_field(2,'Order',9474)
322 ListView.add_field(3,'Value',3392)
323 ListView.add_field(4,'Text',8000)
324 ListView.add_field(5,'Binary_',7496)
580 …quence, InstallUISequence, IsolatedComponent, LaunchCondition, ListBox, ListView, LockPermissions,…
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java24 import android.widget.ListView;
32 private ListView mDrawerList;
89 mDrawerList = (ListView) findViewById(R.id.leftDrawer); in onCreate()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java24 import android.widget.ListView;
32 private ListView mDrawerList;
89 mDrawerList = (ListView) findViewById(R.id.leftDrawer); in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptPicker.java24 import android.widget.ListView;
62 protected void onListItemClick(ListView list, View view, int position, long id) { in onListItemClick()
DApiPrompt.java32 import android.widget.ListView;
64 ((ListView) findViewById(R.id.list)).setAdapter(mAdapter); in onCreate()
DInterpreterPicker.java31 import android.widget.ListView;
69 protected void onListItemClick(ListView list, View view, int position, long id) { in onListItemClick()
DTriggerManager.java33 import android.widget.ListView;
138 public void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
DScriptProcessMonitor.java35 import android.widget.ListView;
125 protected void onListItemClick(ListView list, View view, int position, long id) { in onListItemClick()
DInterpreterManager.java39 import android.widget.ListView;
182 protected void onListItemClick(ListView list, View view, int position, long id) { in onListItemClick()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java60 import android.widget.ListView;
93 private ListView deviceView;
94 private ListView modelView;
398 deviceView = (ListView) view.findViewById(R.id.device); in onViewCreated()
399 modelView = (ListView) view.findViewById(R.id.model); in onViewCreated()
416 deviceView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onViewCreated()
426 modelView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onViewCreated()
/external/setupdesign/main/src/com/google/android/setupdesign/
DSetupWizardListLayout.java28 import android.widget.ListView;
92 public ListView getListView() { in getListView()
DGlifListLayout.java28 import android.widget.ListView;
96 public ListView getListView() { in getListView()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DSpeechActivity.java47 import android.widget.ListView;
84 private ListView labelsListView;
115 labelsListView = (ListView) findViewById(R.id.list_view); in onCreate()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DSpeechActivity.java48 import android.widget.ListView;
87 private ListView labelsListView;
131 labelsListView = (ListView) findViewById(R.id.list_view); in onCreate()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DStickyHeaderListView.java31 import android.widget.ListView;
53 public class StickyHeaderListView extends ListView {
/external/tensorflow/tensorflow/contrib/graph_editor/
Dsubgraph.py496 return util.ListView(self._input_ts)
506 return util.ListView(self._output_ts)
516 return util.ListView(self._passthrough_ts)
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java33 import android.widget.ListView;
55 private ListView roomListView;
125 roomListView = (ListView) findViewById(R.id.room_listview); in onCreate()
126 roomListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreate()

12