/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ExpandableList2.java | 51 private CursorTreeAdapter mAdapter; field in ExpandableList2.QueryHandler 55 this.mAdapter = adapter; in QueryHandler() 62 mAdapter.setGroupCursor(cursor); in onQueryComplete() 67 mAdapter.setChildrenCursor(groupPosition, cursor); in onQueryComplete() 104 private CursorTreeAdapter mAdapter; field in ExpandableList2 111 mAdapter = new MyExpandableListAdapter( in onCreate() 120 setListAdapter(mAdapter); in onCreate() 122 mQueryHandler = new QueryHandler(this, mAdapter); in onCreate() 135 mAdapter.changeCursor(null); in onDestroy() 136 mAdapter = null; in onDestroy()
|
D | List12.java | 40 private ArrayAdapter<String> mAdapter; field in List12 50 mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, mStrings); in onCreate() 52 setListAdapter(mAdapter); in onCreate() 66 mAdapter.add(text); in sendText()
|
D | List8.java | 41 PhotoAdapter mAdapter; field in List8 54 mAdapter = new PhotoAdapter(this); in onCreate() 55 setListAdapter(mAdapter); in onCreate() 62 mAdapter.clearPhotos(); in onCreate() 70 mAdapter.addPhotos(); in onCreate()
|
D | ExpandableList3.java | 37 private ExpandableListAdapter mAdapter; field in ExpandableList3 62 mAdapter = new SimpleExpandableListAdapter( in onCreate() 73 setListAdapter(mAdapter); in onCreate()
|
D | SearchViewFilterMode.java | 39 private ArrayAdapter<String> mAdapter; field in SearchViewFilterMode 52 mListView.setAdapter(mAdapter = new ArrayAdapter<String>(this, in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/nfc/ |
D | ForegroundDispatch.java | 37 private NfcAdapter mAdapter; field in ForegroundDispatch 52 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 78 if (mAdapter != null) mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters, in onResume() 91 if (mAdapter != null) mAdapter.disableForegroundDispatch(this); in onPause()
|
D | ForegroundNdefPush.java | 32 private NfcAdapter mAdapter; field in ForegroundNdefPush 40 mAdapter = NfcAdapter.getDefaultAdapter(this); in onCreate() 48 if (mAdapter != null) { in onCreate() 49 mAdapter.setNdefPushMessage(mMessage, this); in onCreate()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | PhotoThumbnailFragment.java | 70 private GridViewAdapter mAdapter; field in PhotoThumbnailFragment 136 mAdapter = new GridViewAdapter(getActivity()); in onCreateView() 170 mGridView.setAdapter(mAdapter); in onCreateView() 253 if (mAdapter != null) { in onDetach() 254 mAdapter.changeCursor(null); in onDetach() 255 mAdapter = null; in onDetach() 281 Cursor cursor = (Cursor) mAdapter.getItem(viewId); in onItemClick() 310 mAdapter.changeCursor(returnCursor); in onLoadFinished() 321 mAdapter.changeCursor(null); in onLoaderReset()
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
D | RssReader.java | 77 private RSSListAdapter mAdapter; field in RssReader 129 mAdapter = new RSSListAdapter(this, items); in onCreate() 130 getListView().setAdapter(mAdapter); in onCreate() 216 RssItem item = mAdapter.getItem(position); in onListItemClick() 229 mAdapter = new RSSListAdapter(this, items); in resetUI() 230 getListView().setAdapter(mAdapter); in resetUI() 284 mAdapter.add(mItem); in run() 315 parseRSS(in, mAdapter); in run() 408 int count = mAdapter.getCount(); in onSaveInstanceState() 414 RssItem item = mAdapter.getItem(i); in onSaveInstanceState() [all …]
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
D | CursorFragment.java | 43 SimpleCursorAdapter mAdapter; field in CursorFragment 59 mAdapter = new SimpleCursorAdapter(getActivity(), in onActivityCreated() 63 setListAdapter(mAdapter); in onActivityCreated() 139 mAdapter.swapCursor(data); in onLoadFinished() 153 mAdapter.swapCursor(null); in onLoaderReset()
|
D | FragmentPagerSupport.java | 44 MyAdapter mAdapter; field in FragmentPagerSupport 53 mAdapter = new MyAdapter(getFragmentManager()); in onCreate() 56 mPager.setAdapter(mAdapter); in onCreate()
|
D | FragmentStatePagerSupport.java | 44 MyAdapter mAdapter; field in FragmentStatePagerSupport 53 mAdapter = new MyAdapter(getFragmentManager()); in onCreate() 56 mPager.setAdapter(mAdapter); in onCreate()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | ListViewRemovalAnimation.java | 40 StableArrayAdapter mAdapter; field in ListViewRemovalAnimation 62 mAdapter = new StableArrayAdapter(this,R.layout.opaque_text_view, cheeseList, in onCreate() 64 mListView.setAdapter(mAdapter); in onCreate() 185 long itemId = mAdapter.getItemId(position); in animateRemoval() 191 mAdapter.remove(mAdapter.getItem(position)); in animateRemoval() 202 long itemId = mAdapter.getItemId(position); in animateRemoval()
|
/development/apps/Development/src/com/android/development/ |
D | AppHwConfigList.java | 49 mAdapter = new AppListAdapter(this); in onCreate() 50 if (mAdapter.getCount() <= 0) { in onCreate() 53 setListAdapter(mAdapter); in onCreate() 69 PackageInfo app = mAdapter.appForPosition(position); in onListItemClick() 154 private AppListAdapter mAdapter; field in AppHwConfigList
|
D | RunningProcesses.java | 46 mAdapter = new AppListAdapter(this); in onCreate() 47 if (mAdapter.getCount() <= 0) { in onCreate() 50 setListAdapter(mAdapter); in onCreate() 66 ListItem app = mAdapter.appForPosition(position); in onListItemClick() 152 private AppListAdapter mAdapter; field in RunningProcesses
|
D | PackageBrowser.java | 51 private PackageListAdapter mAdapter; field in PackageBrowser 123 mAdapter = new PackageListAdapter(this); in setupAdapter() 124 setListAdapter(mAdapter); in setupAdapter() 143 final MyPackageInfo packageInfo = mAdapter.itemForPosition(curSelection); in deletePackage() 153 mAdapter.notifyDataSetChanged(); in deletePackage() 191 mAdapter.itemForPosition(position); in onListItemClick()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | EntryListFragment.java | 73 private SimpleCursorAdapter mAdapter; field in EntryListFragment 155 mAdapter = new SimpleCursorAdapter( in onViewCreated() 163 mAdapter.setViewBinder(new SimpleCursorAdapter.ViewBinder() { in onViewCreated() 178 setListAdapter(mAdapter); in onViewCreated() 229 mAdapter.changeCursor(cursor); in onLoadFinished() 240 mAdapter.changeCursor(null); in onLoaderReset() 279 Cursor c = (Cursor) mAdapter.getItem(position); in onListItemClick()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderRetainedSupport.java | 68 SimpleCursorAdapter mAdapter; field in LoaderRetainedSupport.CursorLoaderListFragment 87 mAdapter = new SimpleCursorAdapter(getActivity(), in onActivityCreated() 91 setListAdapter(mAdapter); in onActivityCreated() 169 mAdapter.swapCursor(data); in onLoadFinished() 183 mAdapter.swapCursor(null); in onLoaderReset()
|
D | LoaderCursorSupport.java | 69 SimpleCursorAdapter mAdapter; field in LoaderCursorSupport.CursorLoaderListFragment 85 mAdapter = new SimpleCursorAdapter(getActivity(), in onActivityCreated() 89 setListAdapter(mAdapter); in onActivityCreated() 178 mAdapter.swapCursor(data); in onLoadFinished() 192 mAdapter.swapCursor(null); in onLoaderReset()
|
/development/samples/Spinner/src/com/android/example/spinner/ |
D | SpinnerActivity.java | 48 protected ArrayAdapter<CharSequence> mAdapter; field in SpinnerActivity 114 this.mAdapter = ArrayAdapter.createFromResource(this, R.array.Planets, in onCreate() 121 spinner.setAdapter(this.mAdapter); in onCreate() 128 OnItemSelectedListener spinnerListener = new myOnItemSelectedListener(this,this.mAdapter); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderCursor.java | 67 SimpleCursorAdapter mAdapter; field in LoaderCursor.CursorLoaderListFragment 86 mAdapter = new SimpleCursorAdapter(getActivity(), in onActivityCreated() 90 setListAdapter(mAdapter); in onActivityCreated() 199 mAdapter.swapCursor(data); in onLoadFinished() 213 mAdapter.swapCursor(null); in onLoaderReset()
|
D | LoaderRetained.java | 69 SimpleCursorAdapter mAdapter; field in LoaderRetained.CursorLoaderListFragment 91 mAdapter = new SimpleCursorAdapter(getActivity(), in onActivityCreated() 95 setListAdapter(mAdapter); in onActivityCreated() 204 mAdapter.swapCursor(data); in onLoadFinished() 218 mAdapter.swapCursor(null); in onLoaderReset()
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/ |
D | ImageGridFragment.java | 62 private ImageAdapter mAdapter; field in ImageGridFragment 78 mAdapter = new ImageAdapter(getActivity()); in onCreate() 96 mGridView.setAdapter(mAdapter); in onCreateView() 126 if (mAdapter.getNumColumns() == 0) { in onCreateView() 132 mAdapter.setNumColumns(numColumns); in onCreateView() 133 mAdapter.setItemHeight(columnWidth); in onCreateView() 149 mAdapter.notifyDataSetChanged(); in onResume()
|
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/ |
D | MainActivity.java | 60 private SimpleCursorAdapter mAdapter; field in MainActivity 84 mAdapter = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_2, null, in onCreate() 86 listView.setAdapter(mAdapter); in onCreate() 173 mAdapter.swapCursor(cursor); in onLoadFinished() 180 mAdapter.swapCursor(null); in onLoaderReset()
|
/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
D | GestureBuilderActivity.java | 80 private GesturesAdapter mAdapter; field in GestureBuilderActivity 94 mAdapter = new GesturesAdapter(this); in onCreate() 95 setListAdapter(mAdapter); in onCreate() 154 if (mAdapter.getCount() == 0) { in checkForEmpty() 276 final GesturesAdapter adapter = mAdapter; in changeGestureName() 308 final GesturesAdapter adapter = mAdapter; in deleteGesture() 335 mAdapter.setNotifyOnChange(false); in onPreExecute() 336 mAdapter.clear(); in onPreExecute() 359 mAdapter.addBitmap(namedGesture.gesture.getID(), bitmap); in doInBackground() 374 final GesturesAdapter adapter = mAdapter; in onProgressUpdate()
|