/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 32 import android.widget.ListView; 59 expected.setClassName(ListView.class.getName()); 69 final ListView listView = (ListView) getActivity().findViewById(R.id.listview); 80 listView.setSelection(1);
|
/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/ |
LogBuildNumber.java | 62 new UiSelector().className(android.widget.ListView.class.getName());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 13 import android.widget.ListView; 44 private ListView listView; 137 public ListView getListView() { 138 if (listView == null) { 139 listView = new ListView(context); 140 listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { 155 return listView;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootsFragment.java | 43 import android.widget.ListView; 62 private ListView mList; 91 mList = (ListView) view.findViewById(android.R.id.list); 93 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
ToastTest.java | 23 import android.widget.ListView;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
IPControlsJB.java | 34 import android.widget.ListView; 53 private ListView mTestListView; 112 mTestListView = (ListView) findViewById(R.id.test_list); 118 mTestListView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationListFragment.java | 37 import android.widget.ListView; 86 /** Key used to save the ListView choice mode, since ListView doesn't save it automatically! */ 159 // Tracks if a onKey event was initiated from the listview (received ACTION_DOWN before 160 // ACTION_UP). If not, the listview only receives ACTION_UP. 401 return isTablet ? ListView.CHOICE_MODE_SINGLE : ListView.CHOICE_MODE_NONE; 507 setChoiceMode(ListView.CHOICE_MODE_NONE); 746 if (currentSelected != ListView.INVALID_POSITION) { 815 if (mListView.getChoiceMode() == ListView.CHOICE_MODE_NONE) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TabWidgetTest.java | 26 import android.widget.ListView; 183 mockTabWidget.addView(new ListView(mActivity));
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 40 import android.widget.ListView; 71 * Cursor adapter for controlling ListView results. 111 * List of Cursor columns to read from when preparing an adapter to populate the ListView. 224 * Move the Cursor returned by the query into the ListView adapter. This refreshes the existing 271 public void onListItemClick(ListView listView, View view, int position, long id) { 272 super.onListItemClick(listView, view, position, id);
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
DeviceScanActivity.java | 35 import android.widget.ListView; 148 protected void onListItemClick(ListView l, View v, int position, long id) { 225 // General ListView optimization code.
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
DeviceScanActivity.java | 35 import android.widget.ListView; 148 protected void onListItemClick(ListView l, View v, int position, long id) { 225 // General ListView optimization code.
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 40 import android.widget.ListView; 71 * Cursor adapter for controlling ListView results. 111 * List of Cursor columns to read from when preparing an adapter to populate the ListView. 224 * Move the Cursor returned by the query into the ListView adapter. This refreshes the existing 271 public void onListItemClick(ListView listView, View view, int position, long id) { 272 super.onListItemClick(listView, view, position, id);
|
/development/apps/Development/src/com/android/development/ |
InstrumentationList.java | 36 import android.widget.ListView; 147 protected void onListItemClick(ListView l, View v, int position, long id)
|
PackageBrowser.java | 36 import android.widget.ListView; 189 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
ApiDemos.java | 25 import android.widget.ListView; 143 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NotesList.java | 39 import android.widget.ListView; 92 * Sets the callback for context menu activation for the ListView. The listener is set 94 * ListView, and the context menu is handled by a method in NotesList. 113 * for items in the ListView. Each element in the dataColumns array represents 116 * value will appear in the ListView. 126 // Creates the backing adapter for the ListView. 129 this, // The Context for the ListView 136 // Sets the ListView's adapter to be the cursor adapter that was just created. 289 * itself as the handler for context menus in its ListView (this is done in onCreate()). 306 // Tries to get the position of the item in the ListView that was long-pressed [all...] |
/development/samples/Support13Demos/src/com/example/android/supportv13/ |
Support13Demos.java | 25 import android.widget.ListView; 143 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/ |
Support4Demos.java | 25 import android.widget.ListView; 143 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/development/samples/Support7Demos/src/com/example/android/supportv7/ |
Support7Demos.java | 25 import android.widget.ListView; 145 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
PaletteActivity.java | 40 import android.widget.ListView; 138 public void onListItemClick(ListView l, View v, int position, long id) {
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
EntryListFragment.java | 40 import android.widget.ListView; 71 * Cursor adapter for controlling ListView results. 111 * List of Cursor columns to read from when preparing an adapter to populate the ListView. 224 * Move the Cursor returned by the query into the ListView adapter. This refreshes the existing 271 public void onListItemClick(ListView listView, View view, int position, long id) { 272 super.onListItemClick(listView, view, position, id);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
DeviceScanActivity.java | 35 import android.widget.ListView; 148 protected void onListItemClick(ListView l, View v, int position, long id) { 225 // General ListView optimization code.
|
/frameworks/base/core/java/android/preference/ |
PreferenceGroupAdapter.java | 31 import android.widget.ListView; 73 * returned, this cannot be modified (since the ListView only checks the 217 if (position < 0 || position >= getCount()) return ListView.INVALID_ROW_ID;
|
/frameworks/base/core/java/android/widget/ |
ListPopupWindow.java | 522 * @see ListView#setOnItemClickListener(android.widget.AdapterView.OnItemClickListener) 533 * @see ListView#setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener) 641 mDropDownList.setSelection(ListView.INVALID_POSITION); 718 if (list.getChoiceMode() != ListView.CHOICE_MODE_NONE) { 784 * @return The position of the currently selected item or {@link ListView#INVALID_POSITION} 787 * @see ListView#getSelectedItemPosition() 791 return ListView.INVALID_POSITION; 797 * @return The ID of the currently selected item or {@link ListView#INVALID_ROW_ID} 800 * @see ListView#getSelectedItemId() 804 return ListView.INVALID_ROW_ID [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 54 import android.widget.ListView; 69 private ListView mListView; 403 public ListView getListView() { 727 * a ListView. If it's text we should use the dark background 728 * for ListView we should use the light background. If neither 784 final ListView listView = mListView; 785 if (listView != null && mAdapter != null) { 786 listView.setAdapter(mAdapter); 789 listView.setItemChecked(checkedItem, true) [all...] |