Home
last modified time | relevance | path

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

12345678910

/frameworks/support/v4/java/android/support/v4/widget/
DListViewAutoScrollHelper.java20 import android.widget.ListView;
27 private final ListView mTarget;
29 public ListViewAutoScrollHelper(ListView target) { in ListViewAutoScrollHelper()
37 final ListView target = mTarget; in scrollTargetBy()
39 if (firstPosition == ListView.INVALID_POSITION) { in scrollTargetBy()
60 final ListView target = mTarget; in canTargetScrollVertically()
/frameworks/base/core/java/android/widget/
DHeaderViewListAdapter.java38 ArrayList<ListView.FixedViewInfo> mHeaderViewInfos;
39 ArrayList<ListView.FixedViewInfo> mFooterViewInfos;
43 static final ArrayList<ListView.FixedViewInfo> EMPTY_INFO_LIST =
44 new ArrayList<ListView.FixedViewInfo>();
50 public HeaderViewListAdapter(ArrayList<ListView.FixedViewInfo> headerViewInfos, in HeaderViewListAdapter()
51 ArrayList<ListView.FixedViewInfo> footerViewInfos, in HeaderViewListAdapter()
85 private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) { in areAllListInfosSelectable()
87 for (ListView.FixedViewInfo info : infos) { in areAllListInfosSelectable()
98 ListView.FixedViewInfo info = mHeaderViewInfos.get(i); in removeHeader()
115 ListView.FixedViewInfo info = mFooterViewInfos.get(i); in removeFooter()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java27 import android.widget.ListView;
34 private ListView mLeftListView;
35 private ListView mRightListView;
37 public ListView getLeftListView() { in getLeftListView()
41 public ListView getRightListView() { in getRightListView()
71 mLeftListView = new ListView(this); in onCreate()
76 mRightListView = new ListView(this); in onCreate()
DListGetCheckItemIdsTest.java22 import android.widget.ListView;
30 private ListView mListView;
60 mListView.setChoiceMode(ListView.CHOICE_MODE_NONE); in testNoneCheck()
69 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in testSimpleCheck()
91 mListView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); in testMultipleCheck()
128 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in testClearChoices()
133 mListView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); in testClearChoices()
DListDividers.java22 import android.widget.ListView;
30 private ListView mListView;
43 mListView = (ListView) findViewById(android.R.id.list); in onCreate()
49 public ListView getListView() { in getListView()
DListInHorizontal.java25 import android.widget.ListView;
33 private ListView mListView;
46 mListView = (ListView) findViewById(R.id.list); in onCreate()
52 public ListView getListView() { in getListView()
DListInVertical.java25 import android.widget.ListView;
33 private ListView mListView;
46 mListView = (ListView) findViewById(R.id.list); in onCreate()
52 public ListView getListView() { in getListView()
DListUnspecifiedMeasure.java24 import android.widget.ListView;
28 private ListView mListView;
39 mListView = (ListView) mActivity.findViewById(R.id.list); in setUp()
DListSetSelectionTest.java22 import android.widget.ListView;
29 private ListView mListView;
70 mListView.setSelection(ListView.INVALID_POSITION); in testClearSelection()
DListRecyclerProfiling.java22 import android.widget.ListView;
41 ListView listView = (ListView) findViewById(R.id.list); in onCreate()
DListViewHeightTest.java23 import android.widget.ListView;
56 ListView list = (ListView) mActivity.findViewById(R.id.inner_list); in testButtons()
/frameworks/base/core/java/android/app/
DListActivity.java24 import android.widget.ListView;
185 protected ListView mList;
207 protected void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
241 mList = (ListView)findViewById(com.android.internal.R.id.list); in onContentChanged()
296 public ListView getListView() { in getListView()
319 onListItemClick((ListView)parent, v, position, id);
DListFragment.java27 import android.widget.ListView;
160 onListItemClick((ListView)parent, v, position, id);
165 ListView mList;
230 public void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
279 public ListView getListView() { in getListView()
388 if (root instanceof ListView) { in ensureList()
389 mList = (ListView)root; in ensureList()
401 if (!(rawListView instanceof ListView)) { in ensureList()
406 mList = (ListView)rawListView; in ensureList()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java31 import android.widget.ListView;
58 onListItemClick((ListView)parent, v, position, id);
63 ListView mList;
122 ListView lv = new ListView(getActivity()); in onCreateView()
172 public void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
221 public ListView getListView() { in getListView()
330 if (root instanceof ListView) { in ensureList()
331 mList = (ListView)root; in ensureList()
342 if (!(rawListView instanceof ListView)) { in ensureList()
352 mList = (ListView)rawListView; in ensureList()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithScreenOfNoSelectablesTest.java23 import android.widget.ListView;
28 private ListView mListView;
64 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromSelectedViewExistsToNoSelectedViewExists()
88 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
94 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java56 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupSetListSelection()
88 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupGetListSelection()
115 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupClearListSelection()
129 ListView.INVALID_POSITION); in testPopupClearListSelection()
148 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupNavigateNoAdapter()
242 int currentSelection = ListView.INVALID_POSITION; in waitAssertListSelection()
DListViewTest.java31 import android.widget.ListView;
43 ListView listView = new ListView(context); in testRequestLayout()
71 ListView listView = new ListView(context); in testNoSelectableItems()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java14 import android.widget.ListView;
47 ListView lv = (ListView) findViewById(android.R.id.list); in onCreate()
59 ListView lv = (ListView) findViewById(android.R.id.list); in onResume()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java32 import android.widget.ListView;
110 private ListView mList;
358 public ListView getListView() { in getListView()
373 if (!(rawListView instanceof ListView)) { in hasListView()
376 mList = (ListView)rawListView; in hasListView()
392 if (!(rawListView instanceof ListView)) { in ensureList()
397 mList = (ListView)rawListView; in ensureList()
DPreferenceScreen.java33 import android.widget.ListView;
93 private ListView mListView;
142 public void bind(ListView listView) { in bind()
168 mListView = (ListView) childPrefScreen.findViewById(android.R.id.list); in showDialog()
207 if (parent instanceof ListView) { in onItemClick()
208 position -= ((ListView) parent).getHeaderViewsCount(); in onItemClick()
/frameworks/base/core/tests/coretests/src/android/util/
DListUtil.java21 import android.widget.ListView;
30 private final ListView mListView;
37 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java30 import android.widget.ListView;
65 ListView preferenceView = createContainerView(context, root); in inflatePreference()
70 private static ListView createContainerView(Context context, ViewGroup root) { in createContainerView()
81 return (ListView) root.findViewById(android.R.id.list); in createContainerView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfInternalSelectionViews.java25 import android.widget.ListView;
34 private ListView mListView;
48 public ListView getListView() { in getListView()
124 mListView = new ListView(this); in onCreate()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java32 import android.widget.ListView;
78 ListView list = (ListView) findViewById(android.R.id.list); in onCreate()
82 list.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreate()
86 onListItemClick((ListView)parent, v, position, id); in onCreate()
119 protected void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
DBitmapView.java22 import android.widget.ListView;
30 private ListView mListView;
52 public void setListView(final ListView listView) { in setListView()

12345678910