Searched defs:mAdapter (Results 1 - 25 of 75) sorted by relevance

123

/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DOverlayTitleTemplatePicker.java34 private OverlaysAdapter mAdapter; field in class:OverlayTitleTemplatePicker
43 mAdapter = new OverlaysAdapter(this, getListView());
44 setListAdapter(mAdapter);
51 if (mAdapter != null) {
52 mAdapter.onPause();
60 if (mAdapter != null) {
61 mAdapter.onDestroy();
69 final int overlayType = ((OverlayType) mAdapter.getItem(position)).getType();
H A DProjectsActivity.java73 private ProjectPickerAdapter mAdapter; field in class:ProjectsActivity
83 mAdapter = new ProjectPickerAdapter(ProjectsActivity.this, getLayoutInflater(), projects);
84 mGridView.setAdapter(mAdapter);
164 mAdapter = null;
283 mAdapter.remove(projectPath);
H A DTransitionsActivity.java50 private TransitionsAdapter mAdapter; field in class:TransitionsActivity
82 mAdapter = new TransitionsAdapter(this, getListView());
83 setListAdapter(mAdapter);
88 final TransitionType[] transitions = mAdapter.getTransitions();
102 if (mAdapter != null) {
103 mAdapter.onPause();
111 if (mAdapter != null) {
112 mAdapter.onDestroy();
113 mAdapter = null;
128 ((TransitionType)mAdapter
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppRfcommListener.java68 private final BluetoothAdapter mAdapter; field in class:BluetoothOppRfcommListener
80 mAdapter = adapter;
124 mBtServerSocket = mAdapter
H A DBluetoothOppManager.java69 private BluetoothAdapter mAdapter; field in class:BluetoothOppManager
131 mAdapter = BluetoothAdapter.getDefaultAdapter();
132 if (mAdapter == null) {
226 if (mAdapter != null) {
227 return mAdapter.isEnabled();
238 if (mAdapter != null) {
239 mAdapter.enable();
247 if (mAdapter != null) {
248 mAdapter.disable();
260 if (deviceName == null && mAdapter !
[all...]
H A DBluetoothOppTransferActivity.java91 private BluetoothAdapter mAdapter; field in class:BluetoothOppTransferActivity
162 mAdapter = BluetoothAdapter.getDefaultAdapter();
377 BluetoothDevice remoteDevice = mAdapter.getRemoteDevice(mTransInfo.mDestAddr);
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectSyncedCalendarsMultiAccountActivity.java42 private SelectSyncedCalendarsMultiAccountAdapter mAdapter; field in class:SelectSyncedCalendarsMultiAccountActivity
65 mAdapter = new SelectSyncedCalendarsMultiAccountAdapter(findViewById(R.id.calendars)
67 mList.setAdapter(mAdapter);
86 mAdapter.doSaveAction();
99 if (mAdapter != null) {
100 mAdapter.startRefreshStopDelay();
107 mAdapter.cancelRefreshStopDelay();
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAbstractSyncParser.java48 protected AbstractSyncAdapter mAdapter; field in class:AbstractSyncParser
63 mAdapter = adapter;
137 mAdapter.setSyncKey("0", false);
142 mAdapter.wipe();
173 if (mAdapter.getSyncKey().equals("0")) {
179 mAdapter.setSyncKey(newKey, true);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionsListAdapter.java32 private Adapter mAdapter; field in class:SuggestionsListAdapter
36 mAdapter = new Adapter();
41 return mAdapter.getCount() == 0;
56 return mAdapter;
61 mAdapter.notifyDataSetChanged();
66 mAdapter.notifyDataSetInvalidated();
H A DBaseSuggestionView.java40 private SuggestionsAdapter<?> mAdapter; field in class:BaseSuggestionView
75 mAdapter = adapter;
103 if (mAdapter != null) {
104 mAdapter.onSuggestionClicked(mSuggestionId);
109 if (mAdapter != null) {
110 mAdapter.onSuggestionQuickContactClicked(mSuggestionId);
115 if (mAdapter != null) {
116 mAdapter.onSuggestionRemoveFromHistoryClicked(mSuggestionId);
121 if (mAdapter != null) {
122 mAdapter
[all...]
/packages/apps/Settings/tests/src/com/android/settings/tests/
H A DBluetoothRequestPermissionTest.java36 BluetoothAdapter mAdapter; field in class:BluetoothRequestPermissionTest
54 if (mAdapter.isDiscovering()) {
55 mAdapter.cancelDiscovery();
58 mAdapter.startDiscovery();
68 mAdapter = BluetoothAdapter.getDefaultAdapter();
78 if (mAdapter.isDiscovering()) {
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/
H A DTagCanon.java50 ArrayAdapter<TagDescription> mAdapter; field in class:TagCanon
145 mAdapter = adapter;
150 TagDescription description = mAdapter.getItem(position);
/packages/apps/Browser/src/com/android/browser/view/
H A DBasePieView.java32 protected Adapter mAdapter; field in class:BasePieView
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/Contacts/src/com/android/contacts/list/
H A DContactTileListFragment.java58 private ContactTileAdapter mAdapter; field in class:ContactTileListFragment
70 mAdapter = new ContactTileAdapter(activity, mAdapterListener,
72 mAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
90 mListView.setAdapter(mAdapter);
102 mAdapter.setColumnCount(columnCount);
107 mAdapter.setDisplayType(mDisplayType);
111 mAdapter.enableQuickContact(enableQuickContact);
136 mAdapter.setContactCursor(data);
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DCallLogAdapterTest.java41 private TestCallLogAdapter mAdapter; field in class:CallLogAdapterTest
66 mAdapter = new TestCallLogAdapter(getContext(), fakeCallFetcher, fakeContactInfoHelper);
77 mAdapter = null;
87 mAdapter.bindStandAloneView(mView, getContext(), mCursor);
90 assertEquals(1, mAdapter.requests.size());
92 TestCallLogAdapter.Request request = mAdapter.requests.get(0);
105 mAdapter.bindStandAloneView(mView, getContext(), mCursor);
108 assertEquals(1, mAdapter.requests.size());
110 TestCallLogAdapter.Request request = mAdapter.requests.get(0);
120 mAdapter
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/detail/
H A DStreamItemAdapterTest.java37 private StreamItemAdapter mAdapter; field in class:StreamItemAdapterTest
46 mAdapter = new StreamItemAdapter(getContext(), mListener, mPhotoListener);
51 mAdapter = null;
57 mAdapter.setStreamItems(createStreamItemList(0));
59 assertEquals(0, mAdapter.getCount());
63 mAdapter.setStreamItems(createStreamItemList(3));
65 assertEquals(4, mAdapter.getCount());
70 mView = mAdapter.getView(0, null, null);
/packages/apps/Email/src/com/android/email/activity/
H A DMailboxListItem.java50 public MailboxFragmentAdapter mAdapter; field in class:MailboxListItem
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DDialogDetailsView.java50 private DetailsAdapter mAdapter; field in class:DialogDetailsView
88 mAdapter = new DetailsAdapter(details);
94 detailsList.setAdapter(mAdapter);
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
H A DBugReportListActivity.java59 private ArrayAdapter<String> mAdapter = null; field in class:BugReportListActivity
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/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DGroupsListFragment.java46 CursorFactoryListAdapter mAdapter; field in class:GroupsListFragment
62 mAdapter = new CursorFactoryListAdapter(getActivity(),
64 list.setAdapter(mAdapter);
99 mAdapter.changeCursor(new MergeCursor(new Cursor[] { psuedoGroups, groups }));
108 Cursor cursor = (Cursor) mAdapter.getItem(position);
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperActivity.java67 private LiveWallpaperListAdapter mAdapter; field in class:LiveWallpaperActivity.WallpaperDialog
133 mAdapter = new LiveWallpaperListAdapter(getActivity());
136 adapterView.setAdapter(mAdapter);
144 (LiveWallpaperListAdapter.LiveWallpaperInfo) mAdapter.getItem(position);
/packages/apps/Browser/src/com/android/browser/
H A DBrowserSnapshotPage.java80 SnapshotAdapter mAdapter; field in class:BrowserSnapshotPage
106 if (mAdapter != null) {
107 mAdapter.changeCursor(null);
108 mAdapter = null;
135 if (mAdapter == null) {
136 mAdapter = new SnapshotAdapter(getActivity(), data);
137 mGrid.setAdapter(mAdapter);
139 mAdapter.changeCursor(data);
142 mAdapter.animateIn(mAnimateId);
146 boolean empty = mAdapter
[all...]
H A DNavScreen.java67 TabAdapter mAdapter; field in class:NavScreen
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/
H A DStickyHeaderListView.java57 protected Adapter mAdapter = null; field in class:StickyHeaderListView
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/Calendar/src/com/android/calendar/agenda/
H A DAgendaFragment.java71 private AgendaWindowAdapter mAdapter = null; field in class:AgendaFragment
162 mAdapter = (AgendaWindowAdapter) ((HeaderViewListAdapter)a).getWrappedAdapter();
163 lv.setIndexer(mAdapter);
164 lv.setHeaderHeightListener(mAdapter);
166 mAdapter = (AgendaWindowAdapter)a;
167 lv.setIndexer(mAdapter);
168 lv.setHeaderHeightListener(mAdapter);
389 if (mAdapter != null) {
390 mAdapter.setScrollState(scrollState);

Completed in 1992 milliseconds

123