/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/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);
|
NotificationStation.java | 89 private NotificationHistoryAdapter mAdapter; 142 mAdapter = new NotificationHistoryAdapter(mContext); 143 listView.setAdapter(mAdapter); 173 mAdapter.clear(); 174 mAdapter.addAll(infos); 175 mAdapter.sort(mNotificationSorter);
|
TrustedCredentialsSettings.java | 144 certHolder.mAdapter.mCertHolders.remove(certHolder); 146 certHolder.mAdapter.notifyDataSetChanged(); 149 certHolder.mAdapter.load(); 289 private final TrustedCertificateAdapter mAdapter; 305 mAdapter = adapter;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MergedAdapter.java | 48 public final T mAdapter; 52 mAdapter = adapter; 129 return result.mAdapter.getItem(result.mLocalPosition); 151 if (adapter == result.mAdapter) { 156 int type = result.mAdapter.getItemViewType(result.mLocalPosition); 168 return result.mAdapter.getView(result.mLocalPosition, convertView, parent); 174 return result.mAdapter.getDropDownView(result.mLocalPosition, convertView, parent); 189 return result.mAdapter.isEnabled(result.mLocalPosition);
|
MultiAdapterSpinner.java | 57 protected MergedAdapter<FancySpinnerAdapter> mAdapter; 99 mAdapter = new MergedSpinnerAdapter(); 104 mPopup.setAdapter(mAdapter); 108 mAdapter.setAdapters(adapters); 115 for (int i = 0, count = mAdapter.getSubAdapterCount(); i < count; i++) { 116 ListSpinnerAdapter a = mAdapter.getSubAdapter(i); 143 for (int i = 0, count = mAdapter.getSubAdapterCount(); i < count; i++) { 144 mAdapter.getSubAdapter(i).onShowPopup(); 166 mAdapter.getAdapterOffsetForItem(position); 168 if (result.mAdapter.canSelect(result.mLocalPosition)) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderSelectionDialog.java | 45 protected final SeparatedFolderListAdapter mAdapter; 97 mAdapter = new SeparatedFolderListAdapter();
|
/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);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 75 private BackupAdapter mAdapter; 85 mAdapter = new BackupAdapter(this); 86 setListAdapter(mAdapter); 175 mAdapter.clear(); 176 mAdapter.addAll(result);
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/ui/ |
ImageGridFragment.java | 62 private ImageAdapter mAdapter; 78 mAdapter = new ImageAdapter(getActivity()); 96 mGridView.setAdapter(mAdapter); 126 if (mAdapter.getNumColumns() == 0) { 132 mAdapter.setNumColumns(numColumns); 133 mAdapter.setItemHeight(columnWidth); 149 mAdapter.notifyDataSetChanged();
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
NavigationPopup.java | 46 private final NavigationAdapter mAdapter; 67 mAdapter = new NavigationAdapter(); 77 setAdapter(new HeaderViewListAdapter(null, null, mAdapter)); 127 mAdapter.notifyDataSetChanged();
|
/packages/apps/Browser/src/com/android/browser/ |
NavScreen.java | 67 TabAdapter mAdapter; 107 mAdapter.notifyDataSetChanged(); 129 mAdapter = new TabAdapter(mContext, tc); 133 mScroller.setAdapter(mAdapter, 137 Tab tab = mAdapter.getItem(pos);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
Action.java | 48 private ArrayAdapter mAdapter; 146 mAdapter = adapter; 202 if (mAdapter != null) { 203 mAdapter.notifyDataSetChanged();
|
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 135 private PagerAdapter mAdapter; 408 if (mAdapter != null) { 409 mAdapter.unregisterDataSetObserver(mObserver); 410 mAdapter.startUpdate(this); 413 mAdapter.destroyItem(this, ii.position, ii.object); 415 mAdapter.finishUpdate(this); 422 final PagerAdapter oldAdapter = mAdapter; 423 mAdapter = adapter; 426 if (mAdapter != null) { 430 mAdapter.registerDataSetObserver(mObserver) [all...] |
/frameworks/base/core/java/android/widget/ |
ActivityChooserView.java | 73 private final ActivityChooserViewAdapter mAdapter; 128 mAdapter.notifyDataSetChanged(); 133 mAdapter.notifyDataSetInvalidated(); 270 mAdapter = new ActivityChooserViewAdapter(); 271 mAdapter.registerDataSetObserver(new DataSetObserver() { 288 mAdapter.setDataModel(dataModel); 353 if (mAdapter.getDataModel() == null) { 362 final int activityCount = mAdapter.getActivityCount(); 366 mAdapter.setShowFooterView(true); 367 mAdapter.setMaxActivityCount(maxActivityCount - 1) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActivityChooserView.java | 72 private final ActivityChooserViewAdapter mAdapter; 127 mAdapter.notifyDataSetChanged(); 132 mAdapter.notifyDataSetInvalidated(); 242 mAdapter = new ActivityChooserViewAdapter(); 243 mAdapter.registerDataSetObserver(new DataSetObserver() { 260 mAdapter.setDataModel(dataModel); 325 if (mAdapter.getDataModel() == null) { 334 final int activityCount = mAdapter.getActivityCount(); 338 mAdapter.setShowFooterView(true); 339 mAdapter.setMaxActivityCount(maxActivityCount - 1) [all...] |
/packages/apps/Music/src/com/android/music/ |
AlbumBrowserActivity.java | 76 private AlbumListAdapter mAdapter; 116 mAdapter = (AlbumListAdapter) getLastNonConfigurationInstance(); 117 if (mAdapter == null) { 119 mAdapter = new AlbumListAdapter( 126 setListAdapter(mAdapter); 128 getAlbumCursor(mAdapter.getQueryHandler(), null); 130 mAdapter.setActivity(this); 131 setListAdapter(mAdapter); 132 mAlbumCursor = mAdapter.getCursor(); 136 getAlbumCursor(mAdapter.getQueryHandler(), null) [all...] |
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...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 62 private PolicyAdapter mAdapter; 99 mAdapter = new PolicyAdapter(this); 100 setListAdapter(mAdapter); 107 mAdapter.clear(); 113 mAdapter.add(item); 120 mAdapter.clear(); 124 mAdapter.add(item); 182 mApplyPolicyButton.setEnabled(!mAdapter.isEmpty()); 185 boolean enablePass = !mAdapter.isEmpty(); 186 int numItems = mAdapter.getCount() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 68 private final BluetoothAdapter mAdapter; 89 mAdapter = BluetoothAdapter.getDefaultAdapter(); 285 tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, mUuid); 287 tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord(NAME_INSECURE, mUuid); 387 mAdapter.cancelDiscovery();
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 56 private final BluetoothAdapter mAdapter; 76 mAdapter = BluetoothAdapter.getDefaultAdapter(); 277 tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, 280 tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord( 381 mAdapter.cancelDiscovery();
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPopupHelper.java | 54 private final MenuAdapter mAdapter; 88 mAdapter = new MenuAdapter(mMenu); 126 mPopup.setAdapter(mAdapter); 176 MenuAdapter adapter = mAdapter; 194 final ListAdapter adapter = mAdapter; 263 if (mAdapter != null) { 264 mAdapter.notifyDataSetChanged();
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 74 protected SimpleMonthAdapter mAdapter; 110 setAdapter(mAdapter); 125 setAdapter(mAdapter); 133 if (mAdapter == null) { 134 mAdapter = new SimpleMonthAdapter(getContext(), mController); 136 mAdapter.setSelectedDay(mSelectedDay); 137 mAdapter.notifyDataSetChanged(); 140 mAdapter.notifyDataSetChanged(); 213 mAdapter.setSelectedDay(mSelectedDay);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuPopupHelper.java | 61 private MenuAdapter mAdapter; 112 mAdapter = new MenuAdapter(mMenu); 113 mPopup.setAdapter(mAdapter); 128 mPopup.setContentWidth(Math.min(measureContentWidth(mAdapter), mPopupMaxWidth)); 159 MenuAdapter adapter = mAdapter; 222 if (mAdapter != null) { 223 mAdapter.notifyDataSetChanged();
|