/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AbsSpinnerICS.java | 35 SpinnerAdapter mAdapter; 83 if (null != mAdapter) { 84 mAdapter.unregisterDataSetObserver(mDataSetObserver); 88 mAdapter = adapter; 93 if (mAdapter != null) { 95 mItemCount = mAdapter.getCount(); 99 mAdapter.registerDataSetObserver(mDataSetObserver); 174 if (selectedPosition >= 0 && mAdapter != null && selectedPosition < mAdapter.getCount()) { 179 view = mAdapter.getView(selectedPosition, null, this) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSnapshotPage.java | 80 SnapshotAdapter mAdapter; 106 if (mAdapter != null) { 107 mAdapter.changeCursor(null); 108 mAdapter = null; 135 if (mAdapter == null) { 136 mAdapter = new SnapshotAdapter(getActivity(), data); 137 mGrid.setAdapter(mAdapter); 139 mAdapter.changeCursor(data); 142 mAdapter.animateIn(mAnimateId); 146 boolean empty = mAdapter.isEmpty() [all...] |
BrowserHistoryPage.java | 75 HistoryAdapter mAdapter; 144 mAdapter.getGroupView(position, false, null, null), 149 if (mAdapter.mMostVisited != null && mAdapter.mHistoryCursor != null) { 151 if (mAdapter.isEmpty()) { 165 mAdapter.changeCursor(data); 166 if (!mAdapter.isEmpty() && mGroupList != null 176 mAdapter.changeMostVisitedCursor(data); 209 mAdapter = new HistoryAdapter(getActivity()); 226 mHistoryList.setAdapter(mAdapter); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SearchViewFilterMode.java | 39 private ArrayAdapter<String> mAdapter; 52 mListView.setAdapter(mAdapter = new ArrayAdapter<String>(this,
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 94 protected SimpleWeeksAdapter mAdapter; 139 if (mAdapter != null) { 140 mAdapter.notifyDataSetChanged(); 149 Time day = mAdapter.getSelectedDay(); 193 setListAdapter(mAdapter); 207 if (mAdapter == null) { 208 mAdapter = new SimpleWeeksAdapter(getActivity(), weekParams); 209 mAdapter.registerDataSetObserver(mObserver); 211 mAdapter.updateParams(weekParams); 214 mAdapter.notifyDataSetChanged() [all...] |
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/ |
CursorLoaderListFragment.java | 47 SimpleCursorAdapter mAdapter; 71 mAdapter = new SimpleCursorAdapter(getActivity(), 79 setListAdapter(mAdapter); 211 mAdapter.swapCursor(data); 228 mAdapter.swapCursor(null);
|
/development/apps/Development/src/com/android/development/ |
AppHwConfigList.java | 49 mAdapter = new AppListAdapter(this); 50 if (mAdapter.getCount() <= 0) { 53 setListAdapter(mAdapter); 69 PackageInfo app = mAdapter.appForPosition(position); 154 private AppListAdapter mAdapter;
|
RunningProcesses.java | 46 mAdapter = new AppListAdapter(this); 47 if (mAdapter.getCount() <= 0) { 50 setListAdapter(mAdapter); 66 ListItem app = mAdapter.appForPosition(position); 152 private AppListAdapter mAdapter;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCursor.java | 67 SimpleCursorAdapter mAdapter; 86 mAdapter = new SimpleCursorAdapter(getActivity(), 90 setListAdapter(mAdapter); 199 mAdapter.swapCursor(data); 213 mAdapter.swapCursor(null);
|
LoaderRetained.java | 69 SimpleCursorAdapter mAdapter; 91 mAdapter = new SimpleCursorAdapter(getActivity(), 95 setListAdapter(mAdapter); 204 mAdapter.swapCursor(data); 218 mAdapter.swapCursor(null);
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
CursorFragment.java | 43 SimpleCursorAdapter mAdapter; 59 mAdapter = new SimpleCursorAdapter(getActivity(), 63 setListAdapter(mAdapter); 139 mAdapter.swapCursor(data); 153 mAdapter.swapCursor(null);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCursorSupport.java | 69 SimpleCursorAdapter mAdapter; 85 mAdapter = new SimpleCursorAdapter(getActivity(), 89 setListAdapter(mAdapter); 178 mAdapter.swapCursor(data); 192 mAdapter.swapCursor(null);
|
LoaderRetainedSupport.java | 68 SimpleCursorAdapter mAdapter; 87 mAdapter = new SimpleCursorAdapter(getActivity(), 91 setListAdapter(mAdapter); 169 mAdapter.swapCursor(data); 183 mAdapter.swapCursor(null);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
YearPickerView.java | 46 private YearAdapter mAdapter; 78 mAdapter = new YearAdapter(context, R.layout.year_label_text_view, years); 79 setAdapter(mAdapter); 97 mAdapter.notifyDataSetChanged(); 151 mAdapter.notifyDataSetChanged();
|
/packages/apps/Gallery2/src/com/android/photos/ |
AlbumSetFragment.java | 43 private AlbumSetCursorAdapter mAdapter; 52 mAdapter = new AlbumSetCursorAdapter(context); 74 mAdapter.setDrawableFactory(loader); 82 mAdapter.swapCursor(data); 83 setAdapter(mAdapter);
|
PhotoSetFragment.java | 44 private PhotoThumbnailAdapter mAdapter; 50 mAdapter = new PhotoThumbnailAdapter(context); 86 mAdapter.setDrawableFactory(mLoaderCompatShim); 93 mAdapter.swapCursor(data); 94 setAdapter(mAdapter);
|
/packages/apps/Music/src/com/android/music/ |
PlaylistBrowserActivity.java | 71 private PlaylistListAdapter mAdapter; 146 mAdapter = (PlaylistListAdapter) getLastNonConfigurationInstance(); 147 if (mAdapter == null) { 149 mAdapter = new PlaylistListAdapter( 156 setListAdapter(mAdapter); 158 getPlaylistCursor(mAdapter.getQueryHandler(), null); 160 mAdapter.setActivity(this); 161 setListAdapter(mAdapter); 162 mPlaylistCursor = mAdapter.getCursor(); 173 getPlaylistCursor(mAdapter.getQueryHandler(), null) [all...] |
QueryBrowserActivity.java | 68 private QueryListAdapter mAdapter; 83 mAdapter = (QueryListAdapter) getLastNonConfigurationInstance(); 156 if (mAdapter == null) { 157 mAdapter = new QueryListAdapter( 164 setListAdapter(mAdapter); 166 getQueryCursor(mAdapter.getQueryHandler(), null); 172 mAdapter.setActivity(this); 173 setListAdapter(mAdapter); 174 mQueryCursor = mAdapter.getCursor(); 178 getQueryCursor(mAdapter.getQueryHandler(), mFilterString) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
AppPicker.java | 44 private AppListAdapter mAdapter; 50 mAdapter = new AppListAdapter(this); 51 if (mAdapter.getCount() <= 0) { 54 setListAdapter(mAdapter); 70 MyApplicationInfo app = mAdapter.getItem(position);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactsListFragment.java | 55 CursorFactoryListAdapter mAdapter; 90 mAdapter.changeCursor(data); 97 mAdapter = new CursorFactoryListAdapter(getActivity(), 99 list.setAdapter(mAdapter); 138 final Cursor cursor = (Cursor) mAdapter.getItem(position);
|
/frameworks/base/core/java/android/widget/ |
AdapterViewAnimator.java | 115 Adapter mAdapter; 297 if (mAdapter != null) { 361 if (relativeIndex >= 0 && relativeIndex <= getNumActiveViews() - 1 && mAdapter != null) { 371 if (mAdapter != null) { 379 if (mAdapter != null) { 410 if (mAdapter == null) return; 416 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); 456 if (mAdapter == null) return; 543 View newView = mAdapter.getView(adapterPosition, null, this); 544 long itemId = mAdapter.getItemId(adapterPosition) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 136 private GroupMembershipAdapter<GroupSelectionItem> mAdapter; 189 int position = mAdapter.getCount() - 2; 288 mAdapter = new GroupMembershipAdapter<GroupSelectionItem>( 303 mAdapter.add(new GroupSelectionItem(groupId, title, checked)); 308 mAdapter.add(new GroupSelectionItem(CREATE_NEW_GROUP_GROUP_ID, 313 mPopup.setAdapter(mAdapter); 321 int count = mAdapter.getCount(); 323 listView.setItemChecked(i, mAdapter.getItem(i).isChecked()); 339 int count = mAdapter.getCount(); 348 mAdapter.getItem(i).setChecked(list.isItemChecked(i)) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialogFragment.java | 78 private RouteAdapter mAdapter; 109 if (mAdapter != null) { 110 mAdapter = null; 181 list.setAdapter(mAdapter = new RouteAdapter()); 182 list.setOnItemClickListener(mAdapter); 186 mAdapter.scrollToSelectedItem(); 568 mAdapter.update(); 574 mAdapter.update(); 579 mAdapter.update(); 584 if (info == mAdapter.mEditingGroup) [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapter/src/main/java/com/example/android/network/sync/basicsyncadapter/ |
EntryListFragment.java | 73 private SimpleCursorAdapter mAdapter; 155 mAdapter = new SimpleCursorAdapter( 163 mAdapter.setViewBinder(new SimpleCursorAdapter.ViewBinder() { 178 setListAdapter(mAdapter); 229 mAdapter.changeCursor(cursor); 240 mAdapter.changeCursor(null); 279 Cursor c = (Cursor) mAdapter.getItem(position);
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
ListViewRemovalAnimation.java | 40 StableArrayAdapter mAdapter; 62 mAdapter = new StableArrayAdapter(this,R.layout.opaque_text_view, cheeseList, 64 mListView.setAdapter(mAdapter); 185 long itemId = mAdapter.getItemId(position); 191 mAdapter.remove(mAdapter.getItem(position)); 202 long itemId = mAdapter.getItemId(position);
|