HomeSort by relevance Sort by last modified time
    Searched refs:mAdapter (Results 126 - 150 of 294) sorted by null

1 2 3 4 56 7 8 91011>>

  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppManager.java 73 private BluetoothAdapter mAdapter;
144 mAdapter = BluetoothAdapter.getDefaultAdapter();
145 if (mAdapter == null) {
281 if (mAdapter != null) {
282 return mAdapter.isEnabled();
293 if (mAdapter != null) {
294 mAdapter.enable();
302 if (mAdapter != null) {
303 mAdapter.disable();
315 if (deviceName == null && mAdapter != null)
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
KeyboardLayoutDialogFragment.java 56 private KeyboardLayoutAdapter mAdapter;
71 mAdapter = new KeyboardLayoutAdapter(context);
104 .setSingleChoiceItems(mAdapter, -1,
156 if (which >= 0 && which < mAdapter.getCount()) {
157 KeyboardLayout keyboardLayout = mAdapter.getItem(which);
173 mAdapter.clear();
174 mAdapter.addAll(data.keyboardLayouts);
175 mAdapter.setCheckedItem(data.current);
185 mAdapter.clear();
211 customPanel.setVisibility(mAdapter.getCount() > 1 ? View.VISIBLE : View.GONE)
    [all...]
  /development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
ListViewItemAnimations.java 52 StableArrayAdapter mAdapter;
76 mAdapter = new StableArrayAdapter(this,R.layout.opaque_text_view, cheeseList,
78 mListView.setAdapter(mAdapter);
270 long itemId = mAdapter.getItemId(position);
277 mAdapter.remove(mAdapter.getItem(position));
290 long itemId = mAdapter.getItemId(position);
  /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/base/packages/DocumentsUI/src/com/android/documentsui/
RecentsCreateFragment.java 72 private DocumentStackAdapter mAdapter;
96 mAdapter = new DocumentStackAdapter();
97 mListView.setAdapter(mAdapter);
111 mAdapter.swapStacks(data);
114 if (mAdapter.isEmpty() && !state.stackTouched) {
121 mAdapter.swapStacks(null);
143 final DocumentStack stack = mAdapter.getItem(position);
RootsFragment.java 63 private RootsAdapter mAdapter;
119 mAdapter = new RootsAdapter(context, result, includeApps);
120 mList.setAdapter(mAdapter);
127 mAdapter = null;
153 if (mAdapter == null) return;
156 for (int i = 0; i < mAdapter.getCount(); i++) {
157 final Object item = mAdapter.getItem(i);
179 final Item item = mAdapter.getItem(position);
193 final Item item = mAdapter.getItem(position);
  /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();
  /packages/apps/Dialer/src/com/android/dialer/list/
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/Calendar/src/com/android/calendar/agenda/
AgendaFragment.java 71 private AgendaWindowAdapter mAdapter = null;
172 mAdapter = (AgendaWindowAdapter) ((HeaderViewListAdapter)a).getWrappedAdapter();
173 lv.setIndexer(mAdapter);
174 lv.setHeaderHeightListener(mAdapter);
176 mAdapter = (AgendaWindowAdapter)a;
177 lv.setIndexer(mAdapter);
178 lv.setHeaderHeightListener(mAdapter);
445 if (mAdapter != null) {
446 mAdapter.setScrollState(scrollState);
  /development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/
MainActivity.java 60 private SimpleCursorAdapter mAdapter;
84 mAdapter = new SimpleCursorAdapter(this, android.R.layout.simple_list_item_2, null,
86 listView.setAdapter(mAdapter);
173 mAdapter.swapCursor(cursor);
180 mAdapter.swapCursor(null);
  /frameworks/base/core/java/android/bluetooth/
BluetoothPan.java 123 private BluetoothAdapter mAdapter;
134 mAdapter = BluetoothAdapter.getDefaultAdapter();
136 mAdapter.getBluetoothManager().registerStateChangeCallback(mStateChangeCallback);
159 IBluetoothManager mgr = mAdapter.getBluetoothManager();
373 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialog.java 56 private RouteAdapter mAdapter;
135 mAdapter = new RouteAdapter(getContext());
137 mListView.setAdapter(mAdapter);
138 mListView.setOnItemClickListener(mAdapter);
175 mAdapter.update();
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteChooserDialog.java 52 private RouteAdapter mAdapter;
129 mAdapter = new RouteAdapter(getContext());
131 mListView.setAdapter(mAdapter);
132 mListView.setOnItemClickListener(mAdapter);
158 mAdapter.update();
  /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/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/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryView.java 42 CategoryAdapter mAdapter;
123 if (mAdapter.isSelected(this)) {
133 mAdapter = adapter;
162 mAdapter.setSelected(this);
199 mAdapter.remove(mAction);
  /packages/experimental/BugReportSender/src/com/android/bugreportsender/
BugReportListActivity.java 59 private ArrayAdapter<String> mAdapter = null;
67 mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1);
78 setListAdapter(mAdapter);
151 mAdapter.clear();
168 mAdapter.add(name.substring(10, name.length() - 4));
  /packages/apps/Gallery/src/com/android/camera/
GalleryPicker.java 80 GalleryPickerAdapter mAdapter; // mAdapter is only accessed in main thread.
130 if (prevScanning == scanning && mAdapter.mItems.size() == 0) return;
135 } else if (scanning && mAdapter.mItems.size() == 0) {
198 mAdapter.mItems.get(position).launch(this);
204 menu.setHeaderTitle(mAdapter.baseTitleForPosition(position));
206 if ((mAdapter.getIncludeMediaTypes(position)
229 if (position < 0 || position >= mAdapter.mItems.size()) {
233 Item item = mAdapter.mItems.get(position);
264 mAdapter = null
    [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...]
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...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
BaseEmulatorActivity.java 27 NfcAdapter mAdapter;
46 mAdapter = NfcAdapter.getDefaultAdapter(this);
47 mCardEmulation = CardEmulation.getInstance(mAdapter);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ExpandableList1.java 43 ExpandableListAdapter mAdapter;
50 mAdapter = new MyExpandableListAdapter();
51 setListAdapter(mAdapter);
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
FragmentPagerSupport.java 44 MyAdapter mAdapter;
53 mAdapter = new MyAdapter(getFragmentManager());
56 mPager.setAdapter(mAdapter);
FragmentStatePagerSupport.java 44 MyAdapter mAdapter;
53 mAdapter = new MyAdapter(getFragmentManager());
56 mPager.setAdapter(mAdapter);
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentPagerSupport.java 43 MyAdapter mAdapter;
52 mAdapter = new MyAdapter(getSupportFragmentManager());
55 mPager.setAdapter(mAdapter);

Completed in 2052 milliseconds

1 2 3 4 56 7 8 91011>>