/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);
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/contacts/ |
ContactsListActivity.java | 49 private ContactsListAdapter mAdapter; 64 mAdapter = 73 recyclerView.setAdapter(mAdapter); 146 Constants.RESULT_CONTACTS_KEY, mAdapter.getSelectedContacts()); 178 mAdapter.addAll(contacts);
|
/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);
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
InterpreterPicker.java | 51 private InterpreterPickerAdapter mAdapter; 63 mAdapter = new InterpreterPickerAdapter(); 64 mAdapter.registerDataSetObserver(mObserver); 65 setListAdapter(mAdapter); 100 mAdapter.notifyDataSetInvalidated();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
UserGridView.java | 39 private Adapter mAdapter; 49 mAdapter = new Adapter(mUserSwitcherController); 50 setAdapter(mAdapter); 56 UserSwitcherController.UserRecord record = mAdapter.getItem(position); 79 UserSwitcherController.UserRecord record = mAdapter.getItem(position);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
YearPickerView.java | 44 private YearAdapter mAdapter; 76 mAdapter = new YearAdapter(context, R.layout.year_label_text_view, years); 77 setAdapter(mAdapter); 95 mAdapter.notifyDataSetChanged(); 149 mAdapter.notifyDataSetChanged();
|
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/template/ |
RecyclerMixinTest.java | 59 private Adapter mAdapter; 82 mRecyclerView.setAdapter(mAdapter); 85 assertSame(mAdapter, mixin.getAdapter()); 93 mixin.setAdapter(mAdapter); 95 assertSame(mAdapter, mRecyclerView.getAdapter());
|
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/ |
CursorFragment.java | 43 SimpleCursorAdapter mAdapter; 59 mAdapter = new SimpleCursorAdapter(getActivity(), 63 setListAdapter(mAdapter); 142 mAdapter.swapCursor(data); 157 mAdapter.swapCursor(null);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderCursorSupport.java | 64 SimpleCursorAdapter mAdapter; 80 mAdapter = new SimpleCursorAdapter(getActivity(), 84 setListAdapter(mAdapter); 173 mAdapter.swapCursor(data); 187 mAdapter.swapCursor(null);
|
LoaderRetainedSupport.java | 64 SimpleCursorAdapter mAdapter; 83 mAdapter = new SimpleCursorAdapter(getActivity(), 87 setListAdapter(mAdapter); 167 mAdapter.swapCursor(data); 181 mAdapter.swapCursor(null);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatSpinner.java | 597 private SpinnerAdapter mAdapter; 610 mAdapter = adapter; 635 return mAdapter == null ? 0 : mAdapter.getCount(); 640 return mAdapter == null ? null : mAdapter.getItem(position); 645 return mAdapter == null ? -1 : mAdapter.getItemId(position); 655 return (mAdapter == null) ? null 656 : mAdapter.getDropDownView(position, convertView, parent) [all...] |
/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/ |
MultiPageUi.java | 129 private final WearableNavigationDrawerAdapter mAdapter; 132 mAdapter = adapter; 148 iconView.setImageDrawable(mAdapter.getItemDrawable(position)); 149 textView.setText(mAdapter.getItemText(position)); 160 return mAdapter.getCount();
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_msg.h | 60 LocEngAdapter* mAdapter; 70 LocEngAdapter* mAdapter; 79 LocEngAdapter* mAdapter; 88 LocAdapterBase* mAdapter; 107 LocAdapterBase* mAdapter;
|
loc_eng.cpp | 244 LocMsg(), mAdapter(adapter) 250 loc_eng_data_s_type* locEng = (loc_eng_data_s_type*)mAdapter->getOwner(); 262 mAdapter->sendMsg(this); 267 LocMsg(), mAdapter(adapter) 273 loc_eng_data_s_type* locEng = (loc_eng_data_s_type*)mAdapter->getOwner(); 285 mAdapter->sendMsg(this); 291 LocMsg(), mAdapter(adapter), mPosMode(mode) 296 mAdapter->setPositionMode(&mPosMode); 302 mAdapter->sendMsg(this); 307 LocEngAdapter* mAdapter; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
SimpleMenuPreference.java | 37 private SimpleMenuAdapter mAdapter; 58 mAdapter = new SimpleMenuAdapter(getContext(), R.layout.simple_menu_dropdown_item); 59 return mAdapter; 90 final int lastSelectedOriginalPosition = mAdapter.getLastSelectedOriginalPosition(); 91 mAdapter.setSelectedPosition(index);
|
/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/Messaging/src/com/android/messaging/ui/conversation/ |
SimSelectorView.java | 47 private final SimSelectorAdapter mAdapter; 54 mAdapter = new SimSelectorAdapter(getContext()); 61 mSimListView.setAdapter(mAdapter); 73 mAdapter.bindData(data.getActiveSubscriptionEntriesExcludingDefault()); 90 mShow = show && mAdapter.getCount() > 1;
|
/packages/apps/Music/src/com/android/music/ |
PlaylistBrowserActivity.java | 70 private PlaylistListAdapter mAdapter; 141 mAdapter = (PlaylistListAdapter) getLastNonConfigurationInstance(); 142 if (mAdapter == null) { 144 mAdapter = new PlaylistListAdapter(getApplication(), this, R.layout.track_list_item, 147 setListAdapter(mAdapter); 149 getPlaylistCursor(mAdapter.getQueryHandler(), null); 151 mAdapter.setActivity(this); 152 setListAdapter(mAdapter); 153 mPlaylistCursor = mAdapter.getCursor(); 164 getPlaylistCursor(mAdapter.getQueryHandler(), null) [all...] |
/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 | 113 Adapter mAdapter; 300 if (mAdapter != null) { 364 if (relativeIndex >= 0 && relativeIndex <= getNumActiveViews() - 1 && mAdapter != null) { 374 if (mAdapter != null) { 382 if (mAdapter != null) { 412 if (mAdapter == null) return; 418 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); 458 if (mAdapter == null) return; 545 View newView = mAdapter.getView(adapterPosition, null, this); 546 long itemId = mAdapter.getItemId(adapterPosition) [all...] |