HomeSort by relevance Sort by last modified time
    Searched defs:mAdapter (Results 151 - 175 of 279) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/apps/Browser/src/com/android/browser/view/
BasePieView.java 32 protected Adapter mAdapter;
54 mAdapter = adapter;
56 if (mAdapter != null) {
57 mAdapter.unregisterDataSetObserver(mObserver);
73 mAdapter.registerDataSetObserver(mObserver);
83 return mAdapter;
87 if (mAdapter != null) {
88 final int n = mAdapter.getCount();
97 View view = mAdapter.getView(i, null, null);
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastListActivity.java 87 CursorAdapter mAdapter;
112 mAdapter = new CellBroadcastCursorAdapter(getActivity(), null);
113 setListAdapter(mAdapter);
130 menu.findItem(MENU_DELETE_ALL).setVisible(!mAdapter.isEmpty());
150 mAdapter.swapCursor(data);
158 mAdapter.swapCursor(null);
193 Cursor cursor = mAdapter.getCursor();
  /packages/apps/DeskClock/src/com/android/alarmclock/
DigitalWidgetViewsFactory.java 45 private RemoteWorldClockAdapter mAdapter;
140 mAdapter = new RemoteWorldClockAdapter(context);
150 return mAdapter.getCount();
167 RemoteViews v = mAdapter.getViewAt(position);
194 mAdapter.loadData(mContext);
195 mAdapter.loadCitiesDb(mContext);
196 mAdapter.updateHomeLabel(mContext);
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerFragment.java 83 private TimersListAdapter mAdapter;
392 for (int i = 0; i < mAdapter.getCount(); i ++) {
393 TimerObj t = mAdapter.getItem(i);
472 if (mAdapter.getCount() != 0) {
490 mAdapter.addTimer(t);
496 mAdapter.findTimerPositionById(t.mTimerId), 0);
549 mAdapter = createAdapter(getActivity(), mPrefs);
550 mAdapter.onRestoreInstanceState(null);
565 mAdapter.setFooterView(footerView);
583 mTimersList.setAdapter(mAdapter);
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
TileInteractionTeaserView.java 34 private PhoneFavoriteMergedAdapter mAdapter;
95 mAdapter = adapter;
122 if (mAdapter != null) {
123 mAdapter.notifyDataSetChanged();
PhoneFavoriteFragment.java 192 private PhoneFavoriteMergedAdapter mAdapter;
302 mAdapter = new PhoneFavoriteMergedAdapter(getActivity(), this, mContactTileAdapter,
305 mTileInteractionTeaserView.setAdapter(mAdapter);
307 mListView.setAdapter(mAdapter);
412 mAdapter.notifyDataSetChanged();
445 final long itemId = mAdapter.getItemId(position);
446 final int itemViewType = mAdapter.getItemViewType(position);
451 mAdapter.getItem(position),
452 mAdapter.getAdjustedPositionInContactTileAdapter(position));
574 final int itemViewType = mAdapter.getItemViewType(position)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
AlbumFragment.java 50 private PhotoThumbnailAdapter mAdapter;
59 mAdapter = new PhotoThumbnailAdapter(context);
94 int count = mAdapter.getCount();
98 iv.setImageDrawable(mLoaderCompatShim.drawableForItem(mAdapter.getItem(0), null));
120 mAdapter.setDrawableFactory(mLoaderCompatShim);
127 mAdapter.swapCursor(data);
129 setAdapter(mAdapter);
MultiSelectGridFragment.java 47 ListAdapter mAdapter;
128 boolean hadAdapter = mAdapter != null;
129 mAdapter = adapter;
308 if (mAdapter != null) {
309 ListAdapter adapter = mAdapter;
310 mAdapter = null;
  /packages/apps/Settings/src/com/android/settings/
DreamSettings.java 65 private DreamInfoAdapter mAdapter;
132 mAdapter = new DreamInfoAdapter(mContext);
133 listView.setAdapter(mAdapter);
267 mAdapter.clear();
270 mAdapter.addAll(dreamInfos);
UsageStats.java 60 private UsageStatsAdapter mAdapter;
236 mAdapter = new UsageStatsAdapter();
237 mListView.setAdapter(mAdapter);
242 mAdapter.sortList(position);
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 50 ArrayAdapter<TagDescription> mAdapter;
145 mAdapter = adapter;
150 TagDescription description = mAdapter.getItem(position);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationLongPressTipView.java 48 private AnimatedAdapter mAdapter;
121 return !shouldShowSenderImage() && !mAdapter.isEmpty()
133 mAdapter = adapter;
221 * Ideally, we would like to call mAdapter.notifyDataSetChanged() in a listener's
244 mAdapter.getViewMode())) {
ConversationPhotoTeaserView.java 32 private AnimatedAdapter mAdapter;
134 mShown = shouldShowSenderImage() && !mAdapter.isEmpty()
146 mAdapter = adapter;
234 * Ideally, we would like to call mAdapter.notifyDataSetChanged() in a listener's
257 mAdapter.getViewMode())) {
ConversationViewFragment.java 136 protected ConversationViewAdapter mAdapter;
247 mAdapter.notifyDataSetChanged();
265 mAdapter = new ConversationViewAdapter(mActivity, this,
268 mConversationContainer.setOverlayAdapter(mAdapter);
417 mAdapter = null;
629 mAdapter.clear();
640 final int convHeaderPos = mAdapter.addConversationHeader(mConversation);
743 final int blockPos = mAdapter.addSuperCollapsedBlock(start, end);
750 final int blockPos = mAdapter.addBorder(contiguous, expanded, firstBorder, lastBorder);
770 final int headerPos = mAdapter.addMessageHeader(msg, expanded
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectsActivity.java 73 private ProjectPickerAdapter mAdapter;
83 mAdapter = new ProjectPickerAdapter(ProjectsActivity.this, getLayoutInflater(), projects);
84 mGridView.setAdapter(mAdapter);
164 mAdapter = null;
283 mAdapter.remove(projectPath);
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperActivity.java 67 private LiveWallpaperListAdapter mAdapter;
133 mAdapter = new LiveWallpaperListAdapter(getActivity());
136 adapterView.setAdapter(mAdapter);
144 (LiveWallpaperListAdapter.LiveWallpaperInfo) mAdapter.getItem(position);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
PhotoCaptureActivity.java 69 private ArrayAdapter<SelectableResolution> mAdapter;
221 mAdapter = new ArrayAdapter<SelectableResolution>(
224 mResolutionSpinner.setAdapter(mAdapter);
317 mAdapter.notifyDataSetChanged();
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 80 private GesturesAdapter mAdapter;
94 mAdapter = new GesturesAdapter(this);
95 setListAdapter(mAdapter);
154 if (mAdapter.getCount() == 0) {
276 final GesturesAdapter adapter = mAdapter;
308 final GesturesAdapter adapter = mAdapter;
335 mAdapter.setNotifyOnChange(false);
336 mAdapter.clear();
359 mAdapter.addBitmap(namedGesture.gesture.getID(), bitmap);
374 final GesturesAdapter adapter = mAdapter;
    [all...]
  /packages/apps/Browser/src/com/android/browser/
NavTabScroller.java 54 private BaseAdapter mAdapter;
138 if (mAdapter.getCount() > 0) {
164 mAdapter = adapter;
165 mAdapter.registerDataSetObserver(new DataSetObserver() {
199 for (int i = 0; i < mAdapter.getCount(); i++) {
200 View v = mAdapter.getView(i, null, mContentView);
210 newscroll = Math.min(mAdapter.getCount() - 1, newscroll);
296 if (position < mAdapter.getCount() - 1) {
302 if (position < mAdapter.getCount() - 1) {
  /packages/apps/Browser/src/com/android/browser/preferences/
WebsiteSettingsFragment.java 65 private SiteAdapter mAdapter = null;
660 mAdapter = new SiteAdapter(getActivity(), R.layout.website_settings_row);
662 mAdapter.mCurrentSite = mSite;
664 getListView().setAdapter(mAdapter);
665 getListView().setOnItemClickListener(mAdapter);
671 mAdapter.askForOrigins();
694 mAdapter.askForOrigins();
  /packages/apps/Camera2/src/com/android/camera/data/
LocalMediaData.java 480 private final LocalDataAdapter mAdapter;
491 mAdapter = adapter;
555 if (mNeedsRefresh && mAdapter != null) {
556 mAdapter.refresh(mResolver, getContentUri());
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListView.java 96 private PinnedHeaderAdapter mAdapter;
141 mAdapter = (PinnedHeaderAdapter)adapter;
164 if (mAdapter != null) {
165 int count = mAdapter.getPinnedHeaderCount();
181 mHeaders[i].view = mAdapter.getPinnedHeaderView(i, mHeaders[i].view, this);
185 mAdapter.configurePinnedHeaders(this);
451 final int position = mAdapter.getScrollPositionForHeader(partition);
  /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);
  /packages/services/Telephony/src/com/android/phone/
BluetoothPhoneService.java 63 private BluetoothAdapter mAdapter;
105 mAdapter = BluetoothAdapter.getDefaultAdapter();
106 if (mAdapter == null) {
107 if (VDBG) Log.d(TAG, "mAdapter null");
117 mAdapter.getProfileProxy(this, mProfileListener, BluetoothProfile.HEADSET);
143 if (mAdapter == null) {
    [all...]
  /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;

Completed in 1175 milliseconds

1 2 3 4 5 67 8 91011>>