Home
last modified time | relevance | path

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

12345678910>>...15

/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()
/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(context); 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/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()
48 final ListView target = mTarget; in canTargetScrollVertically()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithScreenOfNoSelectablesTest.java24 import android.widget.ListView;
29 private ListView mListView;
65 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromSelectedViewExistsToNoSelectedViewExists()
90 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
96 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java35 import android.widget.ListView;
113 private ListView mList;
191 ListView lv = (ListView) view.findViewById(android.R.id.list); in onViewCreated()
385 public ListView getListView() { in getListView()
400 if (!(rawListView instanceof ListView)) { in hasListView()
403 mList = (ListView)rawListView; in hasListView()
419 if (!(rawListView instanceof ListView)) { in ensureList()
424 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DListViewRequireScrollHelper.java22 import android.widget.ListView;
35 public static void requireScroll(NavigationBar navigationBar, ListView listView) { in requireScroll()
39 private final ListView mListView;
41 private ListViewRequireScrollHelper(NavigationBar navigationBar, ListView listView) { in ListViewRequireScrollHelper()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardListLayout.java31 import android.widget.ListView;
40 private ListView mListView;
105 mListView = (ListView) findViewById(android.R.id.list); in onTemplateInflated()
108 public ListView getListView() { in getListView()
119 final ListView listView = getListView(); in requireScrollToBottom()
151 final ListView listView = getListView(); in updateDivider()
/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.java32 import android.widget.ListView;
45 ListView listView = new ListView(context); in testRequestLayout()
73 ListView listView = new ListView(context); in testNoSelectableItems()
/frameworks/support/v4/donut/android/support/v4/widget/
DListViewCompatDonut.java21 import android.widget.ListView;
24 static void scrollListBy(final ListView listView, int y) { in scrollListBy()
26 if (firstPosition == ListView.INVALID_POSITION) { in scrollListBy()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java13 import android.widget.ListView;
46 ListView lv = (ListView) findViewById(android.R.id.list); in onCreate()
58 ListView lv = (ListView) findViewById(android.R.id.list); in onResume()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DDialogListActivity.java22 import android.widget.ListView;
29 ListView listView = new ListView(this); in onCreate()
/frameworks/base/tools/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java30 import android.widget.ListView;
62 ListView preferenceView = createContainerView(context, root); in inflatePreference()
67 private static ListView createContainerView(Context context, ViewGroup root) { in createContainerView()
78 return (ListView) root.findViewById(android.R.id.list); in createContainerView()
/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/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()

12345678910>>...15