/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
D | InsertingCells.java | 42 private InsertionListView mListView; field in InsertingCells 71 mListView = (InsertionListView)findViewById(R.id.listview); in onCreate() 73 mListView.setAdapter(mAdapter); in onCreate() 74 mListView.setData(mData); in onCreate() 75 mListView.setLayout(mLayout); in onCreate() 76 mListView.setRowAdditionAnimationListener(this); in onCreate() 87 boolean shouldAnimateInNewImage = mListView.shouldAnimateInNewImage(); in addRow() 89 mListView.addRow(newObj); in addRow() 93 mListView.setEnabled(false); in addRow() 98 mListView.addRow(newObj); in addRow()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | SearchViewFilterMode.java | 38 private ListView mListView; field in SearchViewFilterMode 51 mListView = (ListView) findViewById(R.id.list_view); in onCreate() 52 mListView.setAdapter(mAdapter = new ArrayAdapter<String>(this, in onCreate() 55 mListView.setTextFilterEnabled(true); in onCreate() 68 mListView.clearTextFilter(); in onQueryTextChange() 70 mListView.setFilterText(newText.toString()); in onQueryTextChange()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | ListViewRemovalAnimation.java | 41 ListView mListView; field in ListViewRemovalAnimation 56 mListView = (ListView) findViewById(R.id.listview); in onCreate() 57 android.util.Log.d("Debug", "d=" + mListView.getDivider()); in onCreate() 64 mListView.setAdapter(mAdapter); in onCreate() 103 mListView.requestDisallowInterceptTouchEvent(true); 143 mListView.setEnabled(false); 153 animateRemoval(mListView, v); 157 mListView.setEnabled(true); 190 int position = mListView.getPositionForView(viewToRemove); in animateRemoval() 215 mListView.setEnabled(true); in animateRemoval() [all …]
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
D | ExpandingCells.java | 41 private ExpandingListView mListView; field in ExpandingCells 67 mListView = (ExpandingListView)findViewById(R.id.main_list_view); in onCreate() 68 mListView.setAdapter(adapter); in onCreate() 69 mListView.setDivider(null); in onCreate()
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
D | CustomLocaleActivity.java | 71 private ListView mListView; field in CustomLocaleActivity 111 mListView = (ListView) findViewById(android.R.id.list); in onCreate() 112 mListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); in onCreate() 113 mListView.setItemsCanFocus(false); in onCreate() 114 mListView.setFocusable(true); in onCreate() 115 mListView.setFocusableInTouchMode(true); in onCreate() 116 mListView.requestFocus(); in onCreate() 182 Object o = mListView.getItemAtPosition(position); in onCreateContextMenu() 246 mListView.setAdapter(new ArrayAdapter<LocaleInfo>( in setupLocaleList() 284 ListAdapter a = mListView.getAdapter(); in checkLocaleInList() [all …]
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | ListViewItemAnimations.java | 53 ListView mListView; field in ListViewItemAnimations 71 mListView = (ListView) findViewById(R.id.listview); in onCreate() 78 mListView.setAdapter(mAdapter); in onCreate() 127 mListView.requestDisallowInterceptTouchEvent(true); 187 mListView.setEnabled(false); in animateSwipe() 198 animateOtherViews(mListView, view); in animateSwipe() 203 mListView.setEnabled(true); in animateSwipe() 220 animateOtherViews(mListView, view); in animateSwipe() 225 mListView.setEnabled(true); in animateSwipe() 276 int position = mListView.getPositionForView(viewToRemove); in animateOtherViews() [all …]
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | SearchableDictionary.java | 47 private ListView mListView; field in SearchableDictionary 55 mListView = (ListView) findViewById(R.id.list); in onCreate() 112 mListView.setAdapter(words); in showResults() 115 mListView.setOnItemClickListener(new OnItemClickListener() { in showResults()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/ |
D | SwipeRefreshLayoutBasicFragment.java | 62 private ListView mListView; field in SwipeRefreshLayoutBasicFragment 95 mListView = (ListView) view.findViewById(android.R.id.list); in onCreateView() 117 mListView.setAdapter(mListAdapter); in onViewCreated()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | QueueFragment.java | 151 ListView mListView = (ListView) rootView.findViewById(R.id.list_view); in onCreateView() local 152 mListView.setAdapter(mQueueAdapter); in onCreateView() 153 mListView.setFocusable(true); in onCreateView() 154 mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreateView()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PresentationActivity.java | 98 private ListView mListView; field in PresentationActivity 142 mListView = (ListView)findViewById(R.id.display_list); in onCreate() 143 mListView.setAdapter(mDisplayListAdapter); in onCreate()
|