Home
last modified time | relevance | path

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

1234567

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DListMixin.java31 import android.widget.ListView;
44 @Nullable private ListView listView;
82 public ListView getListView() { in getListView()
89 private ListView getListViewInternal() { in getListViewInternal()
92 if (list instanceof ListView) { in getListViewInternal()
93 listView = (ListView) list; in getListViewInternal()
117 final ListView listView = getListViewInternal(); in getAdapter()
130 final ListView listView = getListViewInternal(); in setAdapter()
177 final ListView listView = getListViewInternal(); in updateDivider()
DListViewScrollHandlingDelegate.java24 import android.widget.ListView;
40 @Nullable private final ListView listView;
43 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ListView listView) { in ListViewScrollHandlingDelegate()
/frameworks/base/core/java/android/widget/
DHeaderViewListAdapter.java41 ArrayList<ListView.FixedViewInfo> mHeaderViewInfos;
43 ArrayList<ListView.FixedViewInfo> mFooterViewInfos;
47 static final ArrayList<ListView.FixedViewInfo> EMPTY_INFO_LIST =
48 new ArrayList<ListView.FixedViewInfo>();
54 public HeaderViewListAdapter(ArrayList<ListView.FixedViewInfo> headerViewInfos, in HeaderViewListAdapter()
55 ArrayList<ListView.FixedViewInfo> footerViewInfos, in HeaderViewListAdapter()
89 private boolean areAllListInfosSelectable(ArrayList<ListView.FixedViewInfo> infos) { in areAllListInfosSelectable()
91 for (ListView.FixedViewInfo info : infos) { in areAllListInfosSelectable()
102 ListView.FixedViewInfo info = mHeaderViewInfos.get(i); in removeHeader()
119 ListView.FixedViewInfo info = mFooterViewInfos.get(i); in removeFooter()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java26 import android.widget.ListView;
33 private ListView mLeftListView;
34 private ListView mRightListView;
36 public ListView getLeftListView() { in getLeftListView()
40 public ListView getRightListView() { in getRightListView()
70 mLeftListView = new ListView(this); in onCreate()
75 mRightListView = new ListView(this); in onCreate()
DListGetCheckItemIdsTest.java20 import android.widget.ListView;
31 private ListView mListView;
61 mListView.setChoiceMode(ListView.CHOICE_MODE_NONE); in testNoneCheck()
70 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in testSimpleCheck()
92 mListView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); in testMultipleCheck()
129 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in testClearChoices()
134 mListView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); in testClearChoices()
DListInVertical.java22 import android.widget.ListView;
30 private ListView mListView;
43 mListView = (ListView) findViewById(R.id.list); in onCreate()
49 public ListView getListView() { in getListView()
DListInHorizontal.java22 import android.widget.ListView;
30 private ListView mListView;
49 public ListView getListView() { in getListView()
DListDividers.java22 import android.widget.ListView;
30 private ListView mListView;
49 public ListView getListView() { in getListView()
DListUnspecifiedMeasure.java21 import android.widget.ListView;
29 private ListView mListView;
40 mListView = (ListView) mActivity.findViewById(R.id.list); in setUp()
DListSetSelectionTest.java20 import android.widget.ListView;
30 private ListView mListView;
71 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;
165 onListItemClick((ListView)parent, v, position, id);
170 ListView mList;
235 public void onListItemClick(ListView l, View v, int position, long id) { in onListItemClick()
284 public ListView getListView() { in getListView()
393 if (root instanceof ListView) { in ensureList()
394 mList = (ListView)root; in ensureList()
406 if (!(rawListView instanceof ListView)) { in ensureList()
411 mList = (ListView)rawListView; in ensureList()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithScreenOfNoSelectablesTest.java22 import android.widget.ListView;
30 private ListView mListView;
66 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromSelectedViewExistsToNoSelectedViewExists()
91 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
97 … 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.java44 ListView listView = new ListView(context); in testRequestLayout()
72 ListView listView = new ListView(context); in testNoSelectableItems()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java36 import android.widget.ListView;
108 private ListView mList;
190 ListView lv = (ListView) view.findViewById(android.R.id.list); in onViewCreated()
397 public ListView getListView() { in getListView()
412 if (!(rawListView instanceof ListView)) { in hasListView()
415 mList = (ListView)rawListView; in hasListView()
431 if (!(rawListView instanceof ListView)) { in ensureList()
436 mList = (ListView)rawListView; in ensureList()
DPreferenceScreen.java36 import android.widget.ListView;
106 private ListView mListView;
176 public void bind(ListView listView) { in bind()
202 mListView = (ListView) childPrefScreen.findViewById(android.R.id.list); in showDialog()
253 if (parent instanceof ListView) { in onItemClick()
254 position -= ((ListView) parent).getHeaderViewsCount(); in onItemClick()
/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/core/java/com/android/internal/widget/
DWatchHeaderListView.java25 import android.widget.ListView;
31 public class WatchHeaderListView extends ListView {
49 ArrayList<ListView.FixedViewInfo> headerViewInfos, in wrapHeaderListAdapterInternal()
50 ArrayList<ListView.FixedViewInfo> footerViewInfos, in wrapHeaderListAdapterInternal()
126 ArrayList<ListView.FixedViewInfo> headerViewInfos, in WatchHeaderListAdapter()
127 ArrayList<ListView.FixedViewInfo> footerViewInfos, in WatchHeaderListAdapter()
/frameworks/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/tests/coretests/src/android/widget/focus/
DListOfInternalSelectionViews.java26 import android.widget.ListView;
34 private ListView mListView;
48 public ListView getListView() { in getListView()
124 mListView = new ListView(this); in onCreate()
DListOfEditTexts.java28 import android.widget.ListView;
38 private ListView mListView;
41 public ListView getListView() { in getListView()
66 mListView = new ListView(this); in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DListUtil.java21 import android.widget.ListView;
28 private final ListView mListView;
35 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/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()
/frameworks/base/core/java/com/android/internal/view/menu/
DShowableListMenu.java19 import android.widget.ListView;
34 public ListView getListView(); in getListView()

1234567