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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Camera2/src/com/android/camera/data/
AbstractLocalDataAdapterWrapper.java 34 protected final LocalDataAdapter mAdapter;
47 mAdapter = wrappedAdapter;
54 mAdapter.suggestViewSizeBound(w, h);
59 mAdapter.setListener(listener);
64 mAdapter.requestLoad(resolver);
69 mAdapter.addNewVideo(resolver, uri);
74 mAdapter.addNewPhoto(resolver, uri);
79 mAdapter.insertData(data);
84 mAdapter.flush();
89 return mAdapter.executeDeletion(context)
    [all...]
FixedLastDataAdapter.java 60 int totalNumber = mAdapter.getTotalNumber();
63 return mAdapter.getLocalData(dataID);
73 if (dataID < mAdapter.getTotalNumber()) {
74 mAdapter.removeData(context, dataID);
80 return mAdapter.findDataByContentUri(uri);
85 int totalNumber = mAdapter.getTotalNumber();
88 mAdapter.updateData(pos, data);
109 return mAdapter.getTotalNumber() + 1;
114 int totalNumber = mAdapter.getTotalNumber();
117 return mAdapter.getView(activity, dataID)
    [all...]
FixedFirstDataAdapter.java 63 return mAdapter.getLocalData(dataID - 1);
69 mAdapter.removeData(context, dataID - 1);
75 int pos = mAdapter.findDataByContentUri(uri);
100 mAdapter.updateData(pos - 1, data);
106 return (mAdapter.getTotalNumber() + 1);
115 return mAdapter.getView(activity, dataID - 1);
123 return mAdapter.getImageData(dataID - 1);
129 mAdapter.setListener((listener == null) ? null : this);
142 return mAdapter.canSwipeInFullScreen(dataID - 1);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
PresetManagementDialog.java 31 private UserPresetsAdapter mAdapter;
40 mAdapter = activity.getUserPresetsAdapter();
53 mAdapter.clearChangedRepresentations();
54 mAdapter.clearDeletedRepresentations();
55 activity.updateUserPresetsFromAdapter(mAdapter);
61 mAdapter.updateCurrent();
62 activity.updateUserPresetsFromAdapter(mAdapter);
  /frameworks/base/core/java/android/nfc/
NfcManager.java 41 private final NfcAdapter mAdapter;
58 mAdapter = adapter;
67 return mAdapter;
  /development/samples/ApiDemos/src/com/example/android/apis/nfc/
ForegroundNdefPush.java 32 private NfcAdapter mAdapter;
40 mAdapter = NfcAdapter.getDefaultAdapter(this);
48 if (mAdapter != null) {
49 mAdapter.setNdefPushMessage(mMessage, this);
ForegroundDispatch.java 37 private NfcAdapter mAdapter;
52 mAdapter = NfcAdapter.getDefaultAdapter(this);
78 if (mAdapter != null) mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters,
91 if (mAdapter != null) mAdapter.disableForegroundDispatch(this);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionsListAdapter.java 33 private Adapter mAdapter;
37 mAdapter = new Adapter();
42 return mAdapter.getCount() == 0;
52 return mAdapter;
57 mAdapter.notifyDataSetChanged();
62 mAdapter.notifyDataSetInvalidated();
  /packages/apps/VideoEditor/src/com/android/videoeditor/
OverlayTitleTemplatePicker.java 34 private OverlaysAdapter mAdapter;
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();
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectSyncedCalendarsMultiAccountActivity.java 42 private SelectSyncedCalendarsMultiAccountAdapter mAdapter;
67 if (mAdapter != null) {
68 mAdapter.doSaveAction();
79 if (mAdapter != null) {
80 mAdapter.startRefreshStopDelay();
87 mAdapter = new SelectSyncedCalendarsMultiAccountAdapter(
90 mList.setAdapter(mAdapter);
108 if (mAdapter != null) {
109 mAdapter.cancelRefreshStopDelay();
116 if (mAdapter != null)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
AbstractTestListActivity.java 30 protected TestListAdapter mAdapter;
33 mAdapter = adapter;
34 setListAdapter(mAdapter);
35 mAdapter.loadTestResults();
39 TestListItem item = mAdapter.getItem(position);
59 mAdapter.setTestResult(testResult);
  /development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
ListViewRemovalAnimation.java 40 StableArrayAdapter mAdapter;
62 mAdapter = new StableArrayAdapter(this,R.layout.opaque_text_view, cheeseList,
64 mListView.setAdapter(mAdapter);
185 long itemId = mAdapter.getItemId(position);
191 mAdapter.remove(mAdapter.getItem(position));
202 long itemId = mAdapter.getItemId(position);
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ListWithFooterViewAndNewLabelsTest.java 32 private ListAdapter mAdapter;
49 mAdapter = a.getListAdapter();
56 assertNotNull(mAdapter);
61 1, mAdapter.getCount());
  /packages/apps/Email/src/com/android/email/provider/
FolderPickerDialog.java 47 private final SeparatedFolderListAdapter mAdapter;
64 mAdapter = new SeparatedFolderListAdapter();
67 mAdapter.addSection(new FolderPickerSelectorAdapter(context, foldersCursor,
69 builder.setAdapter(mAdapter, this);
81 final Object item = mAdapter.getItem(position);
110 mAdapter.getCount();
111 for (int i = 0; i < mAdapter.getCount(); i++) {
112 Object item = mAdapter.getItem(i);
119 mAdapter.notifyDataSetChanged();
148 final FolderRow row = (FolderRow) mAdapter.getItem(which)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothAdapter.java 41 private final BluetoothAdapter mAdapter;
54 mAdapter = adapter;
81 mAdapter.cancelDiscovery();
85 return mAdapter.enable();
89 return mAdapter.disable();
94 mAdapter.getProfileProxy(context, listener, profile);
98 return mAdapter.getBondedDevices();
102 return mAdapter.getName();
106 return mAdapter.getScanMode();
110 return mAdapter.getState()
    [all...]
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
HierarchicalFolderTruncationTests.java 24 private HierarchicalFolderSelectorAdapter mAdapter;
29 mAdapter = new HierarchicalFolderSelectorAdapter(mContext, null, null, 1, null);
33 assertEquals("", mAdapter.truncateHierarchy(null));
37 assertEquals("name", mAdapter.truncateHierarchy("name"));
41 assertEquals("parent\u2215folder", mAdapter.truncateHierarchy("parent/folder"));
46 mAdapter.truncateHierarchy("grandparent/parent/folder"));
51 mAdapter.truncateHierarchy("grandparent/stuff/stuff/stuff/stuff/parent/folder"));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
ProtocolParamsReaderActivity.java 21 NfcAdapter mAdapter;
33 mAdapter = NfcAdapter.getDefaultAdapter(this);
41 mAdapter.enableReaderMode(this, this, NfcAdapter.FLAG_READER_NFC_A |
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ExpandableList2.java 51 private CursorTreeAdapter mAdapter;
55 this.mAdapter = adapter;
62 mAdapter.setGroupCursor(cursor);
67 mAdapter.setChildrenCursor(groupPosition, cursor);
104 private CursorTreeAdapter mAdapter;
111 mAdapter = new MyExpandableListAdapter(
120 setListAdapter(mAdapter);
122 mQueryHandler = new QueryHandler(this, mAdapter);
135 mAdapter.changeCursor(null);
136 mAdapter = null
    [all...]
ExpandableList3.java 37 private ExpandableListAdapter mAdapter;
62 mAdapter = new SimpleExpandableListAdapter(
73 setListAdapter(mAdapter);
List12.java 40 private ArrayAdapter<String> mAdapter;
50 mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, mStrings);
52 setListAdapter(mAdapter);
66 mAdapter.add(text);
  /frameworks/ex/common/tests/src/com/android/common/widget/
GroupingListAdapterTests.java 51 private GroupingListAdapter mAdapter = new GroupingListAdapter(null) {
118 mAdapter.changeCursor(mCursor);
120 assertEquals(3, mAdapter.getCount());
128 mAdapter.changeCursor(mCursor);
130 assertEquals(2, mAdapter.getCount());
137 mAdapter.changeCursor(mCursor);
138 mAdapter.toggleGroup(0);
140 assertEquals(4, mAdapter.getCount());
149 mAdapter.changeCursor(mCursor);
150 mAdapter.toggleGroup(0)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/list/
PhoneFavoritesTileAdapterTest.java 15 private PhoneFavoritesTileAdapter mAdapter;
57 mAdapter = getAdapterForTest(2, PhoneFavoritesTileAdapter.NO_ROW_LIMIT);
58 assertEquals(0, mAdapter.getRowCount(0));
59 assertEquals(1, mAdapter.getRowCount(1));
60 assertEquals(1, mAdapter.getRowCount(2));
61 assertEquals(2, mAdapter.getRowCount(4));
62 assertEquals(4, mAdapter.getRowCount(7));
63 assertEquals(100, mAdapter.getRowCount(199));
65 mAdapter = getAdapterForTest(5, PhoneFavoritesTileAdapter.NO_ROW_LIMIT);
66 assertEquals(0, mAdapter.getRowCount(0))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryPanel.java 39 private CategoryAdapter mAdapter;
56 mAdapter = activity.getCategoryLooksAdapter();
57 if (mAdapter != null) {
58 mAdapter.initializeSelection(MainPanel.LOOKS);
64 mAdapter = activity.getCategoryBordersAdapter();
65 if (mAdapter != null) {
66 mAdapter.initializeSelection(MainPanel.BORDERS);
72 mAdapter = activity.getCategoryGeometryAdapter();
73 if (mAdapter != null) {
74 mAdapter.initializeSelection(MainPanel.GEOMETRY)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
GroupsListFragment.java 46 CursorFactoryListAdapter mAdapter;
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);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java 37 ArrayAdapter<String> mAdapter;
54 mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_dropdown_item_1line,
67 mInnerList.setAdapter(mAdapter);
83 mInnerList.setAdapter(mAdapter);

Completed in 509 milliseconds

1 2 3 4 5 6 7 8 91011>>