HomeSort by relevance Sort by last modified time
    Searched full:listview (Results 26 - 50 of 1727) sorted by null

12 3 4 5 6 7 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/view/
Focus1.java 24 import android.widget.ListView;
42 ListView listView = (ListView) findViewById(R.id.rssListView);
43 listView.setAdapter(new ArrayAdapter<String>(this,
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListDividers.java 17 package android.widget.listview;
22 import android.widget.ListView;
30 private ListView mListView;
43 mListView = (ListView) findViewById(android.R.id.list);
49 public ListView getListView() {
ListInHorizontal.java 17 package android.widget.listview;
25 import android.widget.ListView;
33 private ListView mListView;
46 mListView = (ListView) findViewById(R.id.list);
52 public ListView getListView() {
ListInVertical.java 17 package android.widget.listview;
25 import android.widget.ListView;
33 private ListView mListView;
46 mListView = (ListView) findViewById(R.id.list);
52 public ListView getListView() {
AdjacentListsWithAdjacentISVsInside.java 17 package android.widget.listview;
27 import android.widget.ListView;
34 private ListView mLeftListView;
35 private ListView mRightListView;
37 public ListView getLeftListView() {
41 public ListView getRightListView() {
71 mLeftListView = new ListView(this);
76 mRightListView = new ListView(this);
ListBottomGravityManyTest.java 17 package android.widget.listview;
21 import android.widget.ListView;
23 import android.widget.listview.ListBottomGravityMany;
27 private ListView mListView;
ListBottomGravityTest.java 17 package android.widget.listview;
21 import android.widget.ListView;
23 import android.widget.listview.ListBottomGravity;
27 private ListView mListView;
  /frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
BitmapView.java 22 import android.widget.ListView;
30 private ListView mListView;
52 public void setListView(final ListView listView) {
53 mListView = listView;
  /cts/tests/tests/widget/src/android/widget/cts/
AbsListViewTest.java 50 import android.widget.ListView;
67 private ListView mListView;
103 mListView = (ListView)mActivity.findViewById(R.id.listview_default);
422 MyListView listView = new MyListView(mActivity);
423 listView.dispatchDraw(canvas);
470 MyListView listView = new MyListView(mActivity);
473 assertTrue(listView.checkLayoutParams(param1));
476 assertFalse(listView.checkLayoutParams(param2));
480 MyListView listView = new MyListView(mActivity);
481 assertEquals(0, listView.computeVerticalScrollRange())
    [all...]
ListViewTest.java 51 import android.widget.ListView;
81 private ListView mListView;
108 mListView = (ListView) mActivity.findViewById(R.id.listview_default);
112 new ListView(mActivity);
113 new ListView(mActivity, mAttributeSet);
114 new ListView(mActivity, mAttributeSet, 0);
117 new ListView(null);
124 new ListView(null, null);
131 new ListView(null, null, -1);
206 mListView.setChoiceMode(ListView.CHOICE_MODE_NONE)
    [all...]
AdapterViewCtsActivity.java 26 import android.widget.ListView;
34 private ListView mView;
42 mView = new ListView(this);
48 public ListView getListView() {
  /packages/apps/Messaging/src/com/android/messaging/ui/
CustomHeaderPagerListViewHolder.java 26 import android.widget.ListView;
38 private ListView mListView;
54 final ListView listView = (ListView) view.findViewById(getListViewResId());
55 listView.setAdapter(mListAdapter);
56 listView.setOnScrollListener(new OnScrollListener() {
69 mListView = listView;
97 final ListView listView = (ListView) mView.findViewById(getListViewResId())
    [all...]
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndActivity.java 26 import android.widget.ListView;
65 ListView listView = (ListView) findViewById(R.id.listview);
66 listView.setAdapter(listAdapter);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
AbstractTestListActivity.java 27 import android.widget.ListView;
81 /** Launch the activity when its {@link ListView} item is clicked. */
83 protected final void onListItemClick(ListView listView, View view, int position, long id) {
84 super.onListItemClick(listView, view, position, id);
85 handleItemClick(listView, view, position, id);
89 protected void handleItemClick(ListView listView, View view, int position, long id) {
  /cts/tests/tests/widget/src/android/widget/cts/util/
ListUtil.java 21 import android.widget.ListView;
24 * Various useful stuff for instrumentation testing listview.
28 private final ListView mListView;
32 * @param listView The listview to act on
35 public ListUtil(ListView listView, Instrumentation instrumentation) {
36 mListView = listView;
  /frameworks/base/core/tests/coretests/src/android/util/
ListUtil.java 21 import android.widget.ListView;
25 * Various useful stuff for instrumentation testing listview.
30 private final ListView mListView;
34 * @param listView The listview to act on
37 public ListUtil(ListView listView, Instrumentation instrumentation) {
38 mListView = listView;
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
ListViewRequireScrollHelper.java 22 import android.widget.ListView;
35 public static void requireScroll(NavigationBar navigationBar, ListView listView) {
36 new ListViewRequireScrollHelper(navigationBar, listView).requireScroll();
39 private final ListView mListView;
41 private ListViewRequireScrollHelper(NavigationBar navigationBar, ListView listView) {
43 mListView = listView;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
metadata.xml 6 <ListView android:layout_width="match_parent" android:id="@+id/listView1"
8 </ListView>
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListAdapter.java 94 public void configurePinnedHeaders(PinnedHeaderListView listView) {
109 listView.setHeaderInvisible(i, true);
113 int headerViewsCount = listView.getHeaderViewsCount();
120 int position = listView.getPositionAt(topHeaderHeight) - headerViewsCount;
126 listView.setHeaderPinnedAtTop(i, topHeaderHeight, false);
127 topHeaderHeight += listView.getPinnedHeaderHeight(i);
135 int listHeight = listView.getHeight();
138 int position = listView.getPositionAt(listHeight - bottomHeaderHeight)
149 int height = listView.getPinnedHeaderHeight(i);
152 listView.setHeaderPinnedAtBottom(i, listHeight - bottomHeaderHeight, false)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ViewUtil.java 24 import android.widget.ListView;
114 * Adds padding to the bottom of the given {@link ListView} so that the floating action button
117 * @param listView to add the padding to
120 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) {
123 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(),
124 listView.getPaddingEnd(), listView.getPaddingBottom() + fabPadding)
    [all...]
  /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...]
  /development/samples/browseable/SwipeRefreshLayoutBasic/
_index.jd 10 In this sample the View which can be refreshed is a ListView.
  /development/samples/browseable/SwipeRefreshListFragment/
_index.jd 9 \'swipe-to-refresh\' gesture to a ListView, enabling the ability to trigger a refresh
  /development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
ListViewDeletion.java 32 import android.widget.ListView;
35 * This example shows how animating ListView views can lead to artifacts if those views are
52 final ListView listview = (ListView) findViewById(R.id.listview); local
59 listview.setAdapter(adapter);
60 listview.setItemsCanFocus(false);
61 listview.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE)
    [all...]
  /external/androidplot/Examples/DemoApp/res/layout/
listview_example.xml 6 <ListView android:id="@+id/listView1"

Completed in 1411 milliseconds

12 3 4 5 6 7 8 91011>>