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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothStressTest.java 38 private BluetoothAdapter mAdapter;
46 mAdapter = BluetoothAdapter.getDefaultAdapter();
50 if (mAdapter.isEnabled()) {
51 mTestUtils.disable(mAdapter);
72 mTestUtils.enable(mAdapter);
73 mTestUtils.disable(mAdapter);
86 mTestUtils.enable(mAdapter);
87 mTestUtils.undiscoverable(mAdapter);
91 mTestUtils.discoverable(mAdapter);
92 mTestUtils.undiscoverable(mAdapter);
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
FilmstripDataAdapterProxy.java 40 protected final LocalFilmstripDataAdapter mAdapter;
56 mAdapter = wrappedAdapter;
63 mAdapter.suggestViewSizeBound(w, h);
68 mAdapter.setListener(listener);
73 mAdapter.setLocalDataListener(listener);
78 mAdapter.requestLoad(onDone);
83 mAdapter.requestLoadNewPhotos();
88 return mAdapter.addOrUpdate(item);
93 mAdapter.clear();
98 return mAdapter.executeDeletion()
    [all...]
FixedLastProxyAdapter.java 62 int totalNumber = mAdapter.getTotalNumber();
65 return mAdapter.getItemAt(index);
74 if (index < mAdapter.getTotalNumber()) {
75 mAdapter.removeAt(index);
81 return mAdapter.findByContentUri(uri);
86 int totalNumber = mAdapter.getTotalNumber();
89 mAdapter.updateItemAt(pos, item);
110 return mAdapter.getTotalNumber() + 1;
115 int totalNumber = mAdapter.getTotalNumber();
118 return mAdapter.getView(recycled, index, videoClickedCallback)
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/dvr/ui/
SortedArrayAdapterTest.java 39 private TestSortedArrayAdapter mAdapter;
44 mAdapter = new TestSortedArrayAdapter(Integer.MAX_VALUE, null);
52 mAdapter.add(P1);
54 assertContentsInOrder(mAdapter, P1);
58 mAdapter.add(P1);
59 mAdapter.add(P2);
61 assertContentsInOrder(mAdapter, P2, P1);
65 mAdapter.setInitialItems(Arrays.asList(P1, P2));
67 assertContentsInOrder(mAdapter, P2, P1);
71 mAdapter = new TestSortedArrayAdapter(1, null)
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
InCallAdapter.java 40 private final IInCallAdapter mAdapter;
46 mAdapter = adapter;
57 mAdapter.answerCall(callId, videoState);
71 mAdapter.rejectCall(callId, rejectWithMessage, textMessage);
83 mAdapter.disconnectCall(callId);
95 mAdapter.holdCall(callId);
107 mAdapter.unholdCall(callId);
119 mAdapter.mute(shouldMute);
131 mAdapter.setAudioRoute(route);
147 mAdapter.playDtmfTone(callId, digit)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
LocalBluetoothAdapter.java 42 private final BluetoothAdapter mAdapter;
55 mAdapter = adapter;
82 mAdapter.cancelDiscovery();
86 return mAdapter.enable();
90 return mAdapter.disable();
95 mAdapter.getProfileProxy(context, listener, profile);
99 return mAdapter.getBondedDevices();
103 return mAdapter.getName();
107 return mAdapter.getScanMode();
111 return mAdapter.getBluetoothLeScanner()
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
BluetoothTest.java 44 private BluetoothAdapter mAdapter;
49 mAdapter = BluetoothAdapter.getDefaultAdapter();
50 assertNotNull(mAdapter);
51 mBtWasEnabled = mAdapter.isEnabled();
55 if (mBtWasEnabled != mAdapter.isEnabled()) {
77 assertTrue(BluetoothAdapter.checkBluetoothAddress(mAdapter.getAddress()));
85 BluetoothServerSocket socket = mAdapter.listenUsingRfcommWithServiceRecord(
100 mAdapter.getRemoteDevice((String)null);
105 mAdapter.getRemoteDevice("00:00:00:00:00:00:00:00");
110 mAdapter.getRemoteDevice((byte[])null)
    [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...]
CategoryTrack.java 32 private CategoryAdapter mAdapter;
40 if (getChildCount() != mAdapter.getCount()) {
60 mAdapter = adapter;
61 mAdapter.registerDataSetObserver(mDataSetObserver);
67 mAdapter.setItemWidth(mElemSize);
68 mAdapter.setItemHeight(LayoutParams.MATCH_PARENT);
69 int n = mAdapter.getCount();
71 View view = mAdapter.getView(i, null, this);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ListRow.java 21 private final ObjectAdapter mAdapter;
28 return mAdapter;
33 mAdapter = adapter;
39 mAdapter = adapter;
45 mAdapter = adapter;
50 if (mAdapter == null) {
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/
SortedListAdapterCallback.java 28 final RecyclerView.Adapter mAdapter;
37 mAdapter = adapter;
42 mAdapter.notifyItemRangeInserted(position, count);
47 mAdapter.notifyItemRangeRemoved(position, count);
52 mAdapter.notifyItemMoved(fromPosition, toPosition);
57 mAdapter.notifyItemRangeChanged(position, count);
  /packages/apps/TV/src/com/android/tv/menu/
ItemListRow.java 31 private ItemListAdapter mAdapter;
41 mAdapter = adapter;
48 return mAdapter;
52 mAdapter = adapter;
57 mAdapter.update();
62 return mAdapter.getItemCount() > 0;
  /frameworks/base/core/java/android/nfc/
NfcManager.java 42 private final NfcAdapter mAdapter;
59 mAdapter = adapter;
68 return mAdapter;
  /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...]
  /frameworks/base/core/java/android/widget/
HeaderViewListAdapter.java 34 private final ListAdapter mAdapter;
53 mAdapter = adapter;
82 return mAdapter == null || mAdapter.isEmpty();
131 if (mAdapter != null) {
132 return getFootersCount() + getHeadersCount() + mAdapter.getCount();
139 if (mAdapter != null) {
140 return mAreAllFixedViewsSelectable && mAdapter.areAllItemsEnabled();
156 if (mAdapter != null) {
157 adapterCount = mAdapter.getCount()
    [all...]
  /developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
PrescrollToBottom.java 28 private RecyclerView.Adapter mAdapter;
32 mAdapter = adapter;
37 boolean shouldScroll = mAdapter.getItemCount() > 2;
39 Log.d(TAG, "Smooth scrolling after draw to position " + mAdapter.getItemCount());
40 mRecyclerView.smoothScrollToPosition(mAdapter.getItemCount());
  /hardware/qcom/gps/loc_api/libloc_api_50001/
loc_eng_xtra.cpp 41 LocEngAdapter* mAdapter;
43 LocMsg(), mAdapter(adapter)
48 mAdapter->requestXtraServer();
59 LocEngAdapter* mAdapter;
64 LocMsg(), mAdapter(adapter),
75 mAdapter->setXtraData(mData, mLen);
86 LocEngAdapter *mAdapter;
90 mAdapter(adapter), mCheck(check) {}
93 mAdapter->setXtraVersionCheck(mCheck);
  /hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
loc_eng_xtra.cpp 41 LocEngAdapter* mAdapter;
43 LocMsg(), mAdapter(adapter)
48 mAdapter->requestXtraServer();
59 LocEngAdapter* mAdapter;
64 LocMsg(), mAdapter(adapter),
75 mAdapter->setXtraData(mData, mLen);
86 LocEngAdapter *mAdapter;
90 mAdapter(adapter), mCheck(check) {}
93 mAdapter->setXtraVersionCheck(mCheck);
  /frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
SinglePagePresenter.java 40 private WearableNavigationDrawerAdapter mAdapter;
105 if (mAdapter == null) {
108 int count = mAdapter.getCount();
115 mUi.setIcon(i, mAdapter.getItemDrawable(i), mAdapter.getItemText(i));
118 mUi.setText(mAdapter.getItemText(mSelected), false /* showToastIfNoTextView */);
127 mAdapter = adapter;
128 mAdapter.setPresenter(this);
145 if (mAdapter != null) {
146 mUi.setText(mAdapter.getItemText(index), true /* showToastIfNoTextView */)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
HeaderGridView.java 220 private final ListAdapter mAdapter;
231 mAdapter = adapter;
248 return (mAdapter == null || mAdapter.isEmpty()) && getHeadersCount() == 0;
290 if (mAdapter != null) {
291 return getHeadersCount() * mNumColumns + mAdapter.getCount();
299 if (mAdapter != null) {
300 return mAreAllFixedViewsSelectable && mAdapter.areAllItemsEnabled();
318 if (mAdapter != null) {
319 adapterCount = mAdapter.getCount()
    [all...]
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
MainActivity.java 29 private RecipeListAdapter mAdapter;
36 String itemName = mAdapter.getItemName(position);
47 mAdapter = new RecipeListAdapter(this);
48 setListAdapter(mAdapter);
  /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
MainActivity.java 29 private RecipeListAdapter mAdapter;
36 String itemName = mAdapter.getItemName(position);
47 mAdapter = new RecipeListAdapter(this);
48 setListAdapter(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);
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
MainActivity.java 29 private RecipeListAdapter mAdapter;
36 String itemName = mAdapter.getItemName(position);
47 mAdapter = new RecipeListAdapter(this);
48 setListAdapter(mAdapter);
  /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());

Completed in 2561 milliseconds

1 2 3 4 5 6 7 8 91011>>