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

1 2 3 45 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
ListTouchTest.java 17 package android.widget.listview.touch;
23 import android.widget.ListView;
25 import android.widget.listview.ListTopGravity;
32 private ListView mListView;
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
TestActivity.java 24 import android.widget.ListView;
66 public void onListItemClick(ListView l, View v, int position, long id)
  /frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
SamplesList.java 23 import android.widget.ListView;
56 protected void onListItemClick(ListView l, View v, int position, long id) {
  /packages/apps/Calendar/src/com/android/calendar/
StickyHeaderListView.java 29 import android.widget.ListView;
32 * Implements a ListView class with a sticky header at the top. The header is
37 * 1. The class uses the first available child ListView as the working
38 * ListView. If no ListView child exists, the class will create a default one.
39 * 2. The ListView's adapter must be passed to this class using the 'setAdapter'
41 * is specified, the class will try to extract it from the ListView
43 * ListView needs to receive scroll events, it must register its listener using
47 * since a change the dataset in a listview forces a call to OnScroll. The needed code is
62 protected ListView mListView = null
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/widget/
PinnedHeaderUseCaseActivity.java 25 import android.widget.ListView;
47 protected void onListItemClick(ListView l, View v, int position, long id) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
AutoScrollListView.java 21 import android.widget.ListView;
24 * A ListView that can be asked to scroll (smoothly or otherwise) to a specific
26 * in {@link ListView} and enhances it.
28 public class AutoScrollListView extends ListView {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ViewUtil.java 24 import android.widget.ListView;
95 * Adds padding to the bottom of the given {@link ListView} so that the floating action button
98 * @param listView to add the padding to
101 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) {
104 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(),
105 listView.getPaddingEnd(), listView.getPaddingBottom() + fabPadding)
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MessageListView.java 23 import android.widget.ListView;
25 public final class MessageListView extends ListView {
  /packages/apps/Music/tests/src/com/android/music/
MusicPlayerStability.java 22 import android.widget.ListView;
34 private ListView mTrackList;
  /packages/apps/Settings/src/com/android/settings/
CreateShortcut.java 23 import android.widget.ListView;
40 protected void onListItemClick(ListView l, View v, int position, long id) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ScrollNotifyingListView.java 23 import android.widget.ListView;
31 public class ScrollNotifyingListView extends ListView implements ScrollNotifier {
  /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java 32 import android.widget.ListView;
93 // Find and set up the ListView for paired devices
94 ListView pairedListView = (ListView) findViewById(R.id.paired_devices);
98 // Find and set up the ListView for newly discovered devices
99 ListView newDevicesListView = (ListView) findViewById(R.id.new_devices);
  /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DeviceListActivity.java 32 import android.widget.ListView;
93 // Find and set up the ListView for paired devices
94 ListView pairedListView = (ListView) findViewById(R.id.paired_devices);
98 // Find and set up the ListView for newly discovered devices
99 ListView newDevicesListView = (ListView) findViewById(R.id.new_devices);
  /development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DeviceListActivity.java 36 import android.widget.ListView;
84 // Find and set up the ListView for paired devices
85 ListView pairedListView = (ListView) findViewById(R.id.paired_devices);
89 // Find and set up the ListView for newly discovered devices
90 ListView newDevicesListView = (ListView) findViewById(R.id.new_devices);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ListViewTest.java 31 import android.widget.ListView;
40 private ListView listView;
48 listView = new ListView(null);
53 listView.setAdapter(new CountingAdapter(1));
56 listView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
67 listView.setSelection(0);
74 listView.setAdapter(new CountingAdapter(1));
76 listView.addHeaderView(new View(null))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java 31 import android.widget.ListView;
38 * If a view in a ListView requests a layout it should be remeasured.
43 ListView listView = new ListView(context);
46 listView.setAdapter(adapter);
51 listView.measure(measureSpec, measureSpec);
52 listView.layout(0, 0, 100, 100);
54 MockView childView = (MockView) listView.getChildAt(0);
58 listView.measure(measureSpec, measureSpec)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactsListFragment.java 35 import android.widget.ListView;
54 ListView mList;
95 ListView list = (ListView) inflater.inflate(R.layout.contacts_list, container, false);
131 * {@link ListView} position.
134 if (position == ListView.INVALID_POSITION) {
  /frameworks/base/core/java/android/preference/
PreferenceFragment.java 32 import android.widget.ListView;
110 private ListView mList;
358 public ListView getListView() {
373 if (!(rawListView instanceof ListView)) {
376 mList = (ListView)rawListView;
392 if (!(rawListView instanceof ListView)) {
395 + "that is not a ListView class");
397 mList = (ListView)rawListView;
400 "Your content must have a ListView whose id attribute is " +
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 31 import android.widget.ListView;
95 ListView lv1 = new ListView(mContext);
99 ListView lv2 = new ListView(mContext);
117 ListView lv1 = new ListView(mContext);
118 ListView lv2 = new ListView(mContext);
119 ListView lv3 = new ListView(mContext)
    [all...]
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactManager.java 31 import android.widget.ListView;
40 private ListView mContactList;
56 mContactList = (ListView) findViewById(R.id.contactList);
  /development/samples/Support4Demos/src/com/example/android/supportv4/widget/
SwipeRefreshLayoutActivity.java 31 import android.widget.ListView;
83 private ListView mList;
100 mList = (ListView) findViewById(R.id.content);
  /development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
ListViewAnimations.java 33 import android.widget.ListView;
36 * This example shows how animating ListView items can lead to problems as views are recycled,
51 final ListView listview = (ListView) findViewById(R.id.listview); local
58 listview.setAdapter(adapter);
60 listview.setOnItemClickListener(new AdapterView.OnItemClickListener() {
84 // transientState, then ListView ill avoid recycling it until the
  /frameworks/base/core/java/android/content/
SyncActivityTooManyDeletes.java 29 import android.widget.ListView;
73 ListView listView = new ListView(this);
74 listView.setAdapter(adapter);
75 listView.setItemsCanFocus(true);
76 listView.setOnItemClickListener(this);
89 ll.addView(listView, lp);
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ListOfEditTexts.java 33 private ListView mListView;
36 public ListView getListView() {
61 mListView = new ListView(this);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java 17 package android.widget.listview;
24 import android.widget.ListView;
35 private ListView mInnerList;
52 mInnerList = (ListView)findViewById(R.id.inner_list);
61 // set listview to fixed height
74 // If you then hide the views, there is an NPE when calculating the ListView height.
77 // set listview to fill screen
98 // hide listview's owner

Completed in 1276 milliseconds

1 2 3 45 6 7 8 91011>>