HomeSort by relevance Sort by last modified time
    Searched refs:ListView (Results 151 - 175 of 513) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
ListWithEditTextHeaderTest.java 17 package android.widget.listview.focus;
27 import android.widget.ListView;
28 import android.widget.listview.ListWithEditTextHeader;
31 private ListView mListView;
45 assertTrue("listview.getItemsCanFocus()", mListView.getItemsCanFocus());
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ExpandedMenuView.java 28 import android.widget.ListView;
36 public final class ExpandedMenuView extends ListView
  /packages/apps/PhoneCommon/src/com/android/phone/common/util/
ViewUtil.java 26 import android.widget.ListView;
81 * Adds padding to the bottom of the given {@link ListView} so that the floating action button
84 * @param listView to add the padding to
87 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) {
90 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(),
91 listView.getPaddingEnd(), listView.getPaddingBottom() + fabPadding)
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
MiscFilesHandler.java 39 import android.widget.ListView;
68 ListView lv = getListView();
70 lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL);
75 private class ModeCallback implements ListView.MultiChoiceModeListener {
95 ListView lv = getListView();
166 ListView lv = getListView();
255 final ListView listView = (ListView) parent;
261 listView.setItemChecked(listPosition, isChecked)
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
TitlesFragment.java 36 import android.widget.ListView;
42 * that includes a single ListView, which you can acquire with getListView()
75 * ListFragment, which includes a ListView as the root view by default, so there's
107 ListView lv = getListView();
112 lv.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
132 // to the ListView in order to dodge the ActionBar. Ordinarily, that's not
146 /** Attaches an adapter to the fragment's ListView to populate it with items */
152 // Convenience method to attach an adapter to ListFragment's ListView
159 public void onListItemClick(ListView l, View v, int position, long id) {
165 /** Called to select an item from the listview */
    [all...]
  /frameworks/base/core/java/android/accounts/
ChooseAccountActivity.java 32 import android.widget.ListView;
78 ListView list = (ListView) findViewById(android.R.id.list);
82 list.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
86 onListItemClick((ListView)parent, v, position, id);
119 protected void onListItemClick(ListView l, View v, int position, long id) {
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestActivity.java 32 import android.widget.ListView;
41 private ListView mList;
46 onListItemClick((ListView)parent, v, position, id);
50 private void onListItemClick(ListView lv, View v, int position, long id) {
78 mList = (ListView) findViewById(R.id.testlist);
79 mList.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryAdapter.java 23 import android.widget.ListView;
36 private int mItemWidth = ListView.LayoutParams.MATCH_PARENT;
113 new ListView.LayoutParams(width, height));
134 if (mContainer instanceof ListView) {
135 ListView lv = (ListView) mContainer;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DevicePickerActivity.java 37 import android.widget.ListView;
71 ListView pairedDevicesListView = (ListView) findViewById(R.id.bt_paired_devices);
79 ListView newDevicesListView = (ListView) findViewById(R.id.bt_new_devices);
BleScannerHardwareScanFilterActivity.java 33 import android.widget.ListView;
44 private ListView mScanResultListView;
55 mScanResultListView = (ListView)findViewById(R.id.ble_scan_result_list);
BleServerStartActivity.java 35 import android.widget.ListView;
54 ListView listView = (ListView) findViewById(R.id.ble_server_tests);
55 listView.setAdapter(mTestAdapter);
  /cts/tests/tests/widget/src/android/widget/cts/
TabHost_TabSpecTest.java 34 import android.widget.ListView;
149 // TabContentFactory to create a ListView as the content of the tab.
153 assertTrue(mTabHost.getCurrentView() instanceof ListView);
169 // TabContentFactory to create a ListView as the content of the tab.
173 assertTrue(mTabHost.getCurrentView() instanceof ListView);
210 final ListView lv = new ListView(mActivity);
  /packages/providers/MediaProvider/src/com/android/providers/media/
RingtonePickerActivity.java 32 import android.widget.ListView;
191 public void onPrepareListView(ListView listView) {
194 mDefaultRingtonePos = addDefaultRingtoneItem(listView);
202 mSilentPos = addSilentItem(listView);
222 * @param listView The ListView to add to.
226 private int addStaticItem(ListView listView, int textResId) {
228 com.android.internal.R.layout.select_dialog_singlechoice_material, listView, false)
    [all...]
  /developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/swiperefreshlayoutbasic/
SwipeRefreshLayoutBasicFragment.java 33 import android.widget.ListView;
40 * scrollable {@link android.widget.ListView} as its only child.
45 * <p>In this sample app, the refresh updates the ListView with a random set of new items.
60 * The {@link android.widget.ListView} that displays the content that should be refreshed.
62 private ListView mListView;
65 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.ListView}
84 // Retrieve the SwipeRefreshLayout and ListView instances
94 // Retrieve the ListView
95 mListView = (ListView) view.findViewById(android.R.id.list);
107 * Create an ArrayAdapter to contain the data for the ListView. Each item in the ListVie
    [all...]
  /developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/swiperefreshlayoutbasic/
SwipeRefreshLayoutBasicFragment.java 33 import android.widget.ListView;
40 * scrollable {@link android.widget.ListView} as its only child.
45 * <p>In this sample app, the refresh updates the ListView with a random set of new items.
60 * The {@link android.widget.ListView} that displays the content that should be refreshed.
62 private ListView mListView;
65 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.ListView}
84 // Retrieve the SwipeRefreshLayout and ListView instances
94 // Retrieve the ListView
95 mListView = (ListView) view.findViewById(android.R.id.list);
107 * Create an ArrayAdapter to contain the data for the ListView. Each item in the ListVie
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Transition3d.java 7 import android.widget.ListView;
20 * ListView and an ImageView. When the user clicks the list, it flips to
29 private ListView mPhotosList;
59 mPhotosList = (ListView) findViewById(android.R.id.list);
63 // Prepare the ListView
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentLayout.java 34 import android.widget.ListView;
113 getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE);
126 public void onListItemClick(ListView l, View v, int position, long id) {
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader2.java 27 import android.widget.ListView;
35 ListView mRssList = null;
49 // Populate ArrayAdapter and bind it to ListView
50 mRssList = (ListView)findViewById(R.id.rssListView);
54 mLogger.warning("MyRssReader.onCreate-2 -- Couldn't instantiate a ListView!");
61 mLogger.warning("MyRssReader.onCreate-4 -- Couldn't instantiate a ListView!");
80 // We'd like to store the current ListView selection.
MyRssReader3.java 28 import android.widget.ListView;
37 ListView mRssList;
51 // Populate ArrayAdapter and bind it to ListView
52 mRssList = (ListView)findViewById(R.id.rssListView);
63 // We'd like to store the current ListView selection.
MyRssReader4.java 27 import android.widget.ListView;
37 ListView mRssList;
49 // Populate ArrayAdapter and bind it to ListView
50 mRssList = (ListView)findViewById(R.id.rssListView);
74 // We'd like to store the current ListView selection.
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
SearchableDictionary.java 33 import android.widget.ListView;
47 private ListView mListView;
55 mListView = (ListView) findViewById(R.id.list);
109 // Create a simple cursor adapter for the definitions and apply them to the ListView
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentLayoutSupport.java 35 import android.widget.ListView;
116 getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE);
129 public void onListItemClick(ListView l, View v, int position, long id) {
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
WiFiChatFragment.java 12 import android.widget.ListView;
27 private ListView listView;
36 listView = (ListView) view.findViewById(android.R.id.list);
39 listView.setAdapter(adapter);
  /development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/
SwipeRefreshLayoutBasicFragment.java 33 import android.widget.ListView;
40 * scrollable {@link android.widget.ListView} as its only child.
45 * <p>In this sample app, the refresh updates the ListView with a random set of new items.
60 * The {@link android.widget.ListView} that displays the content that should be refreshed.
62 private ListView mListView;
65 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.ListView}
84 // Retrieve the SwipeRefreshLayout and ListView instances
94 // Retrieve the ListView
95 mListView = (ListView) view.findViewById(android.R.id.list);
107 * Create an ArrayAdapter to contain the data for the ListView. Each item in the ListVie
    [all...]
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
CustomArrayAdapter.java 34 import android.widget.ListView;
41 * This custom array adapter is used to populate the ListView in this application.
98 convertView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams

Completed in 1376 milliseconds

1 2 3 4 5 67 8 91011>>