/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 93 private ViewAdapter mAdapter; 299 if (mAdapter == null) { 300 mAdapter = new ViewAdapter(getActivity(), mSections); 301 mListView.setAdapter(mAdapter); 303 mAdapter.setSections(mSections, SHOW_SEPARATORS);
|
/cts/tests/src/android/widget/cts/util/ |
ExpandableListScenario.java | 42 protected ExpandableListAdapter mAdapter; 57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); 278 final ExpandableListAdapter adapter = mAdapter; 296 return mAdapter;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderThrottle.java | 391 SimpleCursorAdapter mAdapter; 406 mAdapter = new SimpleCursorAdapter(getActivity(), 410 setListAdapter(mAdapter); 497 mAdapter.swapCursor(data); 508 mAdapter.swapCursor(null);
|
LoaderCustom.java | 406 AppListAdapter mAdapter; 425 mAdapter = new AppListAdapter(getActivity()); 426 setListAdapter(mAdapter); 467 mAdapter.getFilter().filter(mCurFilter); 497 mAdapter.setData(data); 509 mAdapter.setData(null);
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
KeyStoreUsage.java | 78 AliasAdapter mAdapter; 130 mAdapter = new AliasAdapter(getApplicationContext()); 131 lv.setAdapter(mAdapter); 135 mSelectedAlias = mAdapter.getItem(position); 294 mAdapter.setAliases(aliases);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderThrottleSupport.java | 392 SimpleCursorAdapter mAdapter; 407 mAdapter = new SimpleCursorAdapter(getActivity(), 411 setListAdapter(mAdapter); 497 mAdapter.swapCursor(data); 508 mAdapter.swapCursor(null);
|
LoaderCustomSupport.java | 409 AppListAdapter mAdapter; 427 mAdapter = new AppListAdapter(getActivity()); 428 setListAdapter(mAdapter); 453 mAdapter.getFilter().filter(mCurFilter); 485 mAdapter.setData(data); 497 mAdapter.setData(null);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoThumbnailFragment.java | 70 private GridViewAdapter mAdapter; 136 mAdapter = new GridViewAdapter(getActivity()); 170 mGridView.setAdapter(mAdapter); 253 if (mAdapter != null) { 254 mAdapter.changeCursor(null); 255 mAdapter = null; 281 Cursor cursor = (Cursor) mAdapter.getItem(viewId); 310 mAdapter.changeCursor(returnCursor); 321 mAdapter.changeCursor(null);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHeadset.java | 223 private BluetoothAdapter mAdapter; 262 mAdapter = BluetoothAdapter.getDefaultAdapter(); 264 IBluetoothManager mgr = mAdapter.getBluetoothManager(); 287 IBluetoothManager mgr = mAdapter.getBluetoothManager(); 876 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true; 881 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) return true; [all...] |
BluetoothHealth.java | 468 BluetoothAdapter mAdapter; 476 mAdapter = BluetoothAdapter.getDefaultAdapter(); 477 IBluetoothManager mgr = mAdapter.getBluetoothManager(); 493 IBluetoothManager mgr = mAdapter.getBluetoothManager();
|
/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 43 final NfcAdapter mAdapter; 187 mAdapter = adapter; 190 mDefaultEvent = new NfcEvent(mAdapter); 267 mAdapter.attemptDeadServiceRecovery(e);
|
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 220 private WeeksAdapter mAdapter; 748 Calendar date = mAdapter.mSelectedDate; 750 mAdapter.setSelectedDay(mMinDate); 753 mAdapter.init(); 797 mAdapter.init(); 798 Calendar date = mAdapter.mSelectedDate; 822 mAdapter.notifyDataSetChanged(); 876 mAdapter.init(); 877 mAdapter.notifyDataSetChanged(); 897 return mAdapter.mSelectedDate.getTimeInMillis() [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
ListFragment.java | 62 ListAdapter mAdapter; 179 boolean hadAdapter = mAdapter != null; 180 mAdapter = adapter; 319 return mAdapter; 362 if (mAdapter != null) { 363 ListAdapter adapter = mAdapter; 364 mAdapter = null;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
BondStateMachine.java | 62 private BluetoothAdapter mAdapter; 75 mAdapter = BluetoothAdapter.getDefaultAdapter(); 281 device = mAdapter.getRemoteDevice(Utils.getAddressStringFromByte(address));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferActivity.java | 91 private BluetoothAdapter mAdapter; 162 mAdapter = BluetoothAdapter.getDefaultAdapter(); 376 BluetoothDevice remoteDevice = mAdapter.getRemoteDevice(mTransInfo.mDestAddr);
|
/packages/apps/Calendar/src/com/android/calendar/ |
StickyHeaderListView.java | 57 protected Adapter mAdapter = null; 133 // if (mAdapter != null && mListDataObserver != null) { 134 // mAdapter.unregisterDataSetObserver(mListDataObserver); 138 mAdapter = adapter; 141 // mAdapter.registerDataSetObserver(mListDataObserver); 257 if (mAdapter == null && mListView != null) { 262 if (mAdapter != null && mIndexer != null && mDoHeaderReset) { 284 View v = mAdapter.getView(sectionPos + mListViewHeadersCount, null, mListView);
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupBrowseListFragment.java | 88 private GroupBrowseListAdapter mAdapter; 114 mAdapter = new GroupBrowseListAdapter(mContext); 115 mAdapter.setSelectionVisible(mSelectionVisible); 116 mAdapter.setSelectedGroup(mSelectedGroupUri); 121 mListView.setAdapter(mAdapter); 219 mAdapter.setCursor(mGroupListCursor); 226 mSelectedGroupUri = mAdapter.getSelectedGroup(); 238 if (mAdapter != null) { 239 mAdapter.setSelectionVisible(mSelectionVisible); 245 mAdapter.setSelectedGroup(groupUri) [all...] |
/packages/apps/DeskClock/src/com/android/alarmclock/ |
DigitalWidgetViewsFactory.java | 49 private RemoteWorldClockAdapter mAdapter; 141 mAdapter = new RemoteWorldClockAdapter(c); 151 return mAdapter.getCount(); 168 RemoteViews v = mAdapter.getViewAt(position); 206 mAdapter.loadData(mContext); 210 mAdapter.loadCitiesDb(mContext); 211 mAdapter.updateHomeLabel(mContext);
|
/packages/apps/Email/src/com/android/email/activity/ |
MoveMessageToDialog.java | 58 private MailboxMoveToAdapter mAdapter; 122 mAdapter = new MailboxMoveToAdapter(builder.getContext()); 123 builder.setSingleChoiceItems(mAdapter, -1, this); 136 if (mAdapter.getCursor() == null) { 172 final long mailboxId = mAdapter.getItemId(position); 242 boolean needsShowing = (mAdapter.getCursor() == null); 243 mAdapter.swapCursor(data); 253 mAdapter.swapCursor(null);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
HeaderGridView.java | 220 private final ListAdapter mAdapter; 231 mAdapter = adapter; 248 return (mAdapter == null || mAdapter.isEmpty()) && getHeadersCount() == 0; 290 if (mAdapter != null) { 291 return getHeadersCount() * mNumColumns + mAdapter.getCount(); 299 if (mAdapter != null) { 300 return mAreAllFixedViewsSelectable && mAdapter.areAllItemsEnabled(); 318 if (mAdapter != null) { 319 adapterCount = mAdapter.getCount() [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsCategory.java | 53 AppListAdapter mAdapter; 320 mAdapter = new AppListAdapter(getActivity(), mState); 321 setListAdapter(mAdapter); 342 AppOpEntry entry = mAdapter.getItem(position); 360 mAdapter.setData(data); 372 mAdapter.setData(null);
|
/packages/apps/Music/src/com/android/music/ |
ArtistAlbumBrowserActivity.java | 77 private ArtistAlbumListAdapter mAdapter; 112 mAdapter = (ArtistAlbumListAdapter) getLastNonConfigurationInstance(); 113 if (mAdapter == null) { 115 mAdapter = new ArtistAlbumListAdapter( 125 setListAdapter(mAdapter); 127 getArtistCursor(mAdapter.getQueryHandler(), null); 129 mAdapter.setActivity(this); 130 setListAdapter(mAdapter); 131 mArtistCursor = mAdapter.getCursor(); 135 getArtistCursor(mAdapter.getQueryHandler(), null) [all...] |
TrackBrowserActivity.java | 91 private TrackListAdapter mAdapter; 174 mAdapter = (TrackListAdapter) getLastNonConfigurationInstance(); 176 if (mAdapter != null) { 177 mAdapter.setActivity(this); 178 setListAdapter(mAdapter); 200 if (mAdapter == null) { 202 mAdapter = new TrackListAdapter( 212 setListAdapter(mAdapter); 214 getTrackCursor(mAdapter.getQueryHandler(), null, true); 216 mTrackCursor = mAdapter.getCursor() [all...] |
/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 77 private RSSListAdapter mAdapter; 129 mAdapter = new RSSListAdapter(this, items); 130 getListView().setAdapter(mAdapter); 216 RssItem item = mAdapter.getItem(position); 229 mAdapter = new RSSListAdapter(this, items); 230 getListView().setAdapter(mAdapter); 284 mAdapter.add(mItem); 315 parseRSS(in, mAdapter); 408 int count = mAdapter.getCount(); 414 RssItem item = mAdapter.getItem(i) [all...] |
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactsListFragment.java | 97 private ContactsAdapter mAdapter; // The main query adapter 157 mAdapter = new ContactsAdapter(getActivity()); 208 setListAdapter(mAdapter); 270 final Cursor cursor = mAdapter.getCursor(); 494 mAdapter.swapCursor(data); 528 mAdapter.swapCursor(null); [all...] |