HomeSort by relevance Sort by last modified time
    Searched full:adapter (Results 751 - 775 of 3250) sorted by null

<<31323334353637383940>>

  /frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
PlaybackBaseControlGlue.java 276 ArrayObjectAdapter adapter = new ArrayObjectAdapter( local
278 onCreatePrimaryActions(adapter);
279 mControlsRow.setPrimaryActionsAdapter(adapter);
344 protected static void notifyItemChanged(ArrayObjectAdapter adapter, Object object) {
345 int index = adapter.indexOf(object);
347 adapter.notifyArrayItemRangeChanged(index, 1);
352 * May be overridden to add primary actions to the adapter. Default implementation add
355 * @param primaryActionsAdapter The adapter to add primary {@link Action}s.
361 * May be overridden to add secondary actions to the adapter.
363 * @param secondaryActionsAdapter The adapter you need to add the {@link Action}s to
    [all...]
PlaybackBannerControlGlue.java 84 * The adapter key for the first custom control on the left side
90 * The adapter key for the skip to previous control.
95 * The adapter key for the rewind control.
100 * The adapter key for the play/pause control.
105 * The adapter key for the fast forward control.
110 * The adapter key for the skip to next control.
115 * The adapter key for the first custom control on the right side
551 // If the adapter is playing/paused, using the position from adapter instead.
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ConnectionServiceFixture.java 201 public void addConnectionServiceAdapter(IConnectionServiceAdapter adapter,
203 if (!mConnectionServiceAdapters.add(adapter)) {
204 throw new RuntimeException("Adapter already added: " + adapter);
206 mConnectionServiceDelegateAdapter.addConnectionServiceAdapter(adapter,
211 public void removeConnectionServiceAdapter(IConnectionServiceAdapter adapter,
213 if (!mConnectionServiceAdapters.remove(adapter)) {
214 throw new RuntimeException("Adapter never added: " + adapter);
216 mConnectionServiceDelegateAdapter.removeConnectionServiceAdapter(adapter,
    [all...]
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/
AppListFragment.java 67 // Set the ListView's Adapter to display the filtered applications
108 // Notify the adapter so that it updates the ListView's contents
109 AppAdapter adapter = (AppAdapter) getListAdapter(); local
110 adapter.notifyDataSetChanged();
167 * result for use later (filtering and displaying in the adapter).
  /external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
StateAdapter.java 31 Therefore, our adapter only returns one LinearLayout for the ListView.
150 final OptionAdapter adapter = new OptionAdapter(mViewerActivity, local
152 adapter.setCurrentOption(value);
153 optionSpinner.setAdapter(adapter);
172 adapter.getFilter().filter(s.toString());
  /frameworks/base/core/java/android/bluetooth/
BluetoothManager.java 74 * Get the default BLUETOOTH Adapter for this device.
76 * @return the default BLUETOOTH Adapter
86 * the connection state of the local Bluetooth adapter for certain profile.
156 * the connection state of the local Bluetooth adapter for this profile.
158 * to know the state of the local adapter.
  /frameworks/base/core/java/android/widget/
ExpandableListConnector.java 43 * itself, this adapter has no data and is a connector to a
84 * @param expandableListAdapter the adapter that supplies us with data/Views
470 HeterogeneousExpandableList adapter = local
473 retValue = adapter.getGroupType(pos.groupPos);
475 final int childType = adapter.getChildType(pos.groupPos, pos.childPos);
476 retValue = adapter.getGroupTypeCount() + childType;
494 HeterogeneousExpandableList adapter = local
496 return adapter.getGroupTypeCount() + adapter.getChildTypeCount();
729 ExpandableListAdapter adapter = getAdapter() local
763 ExpandableListAdapter adapter = getAdapter(); local
815 ExpandableListAdapter adapter = getAdapter(); local
    [all...]
AutoCompleteTextView.java 57 * <p>The list of suggestions is obtained from a data adapter and appears
70 * ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
74 * textView.setAdapter(adapter);
131 // When set, an update in the underlying adapter will update the result list popup.
559 * to show up in the adapter sometime in the future.
714 * <p>Returns a filterable list adapter used for auto completion.</p>
716 * @return a data adapter used for auto completion
724 * must be a filterable list adapter.</p>
726 * <p>The caller is still responsible for managing any resources used by the adapter.
727 * Notably, when the AutoCompleteTextView is closed or released, the adapter is not notified
1233 final ListAdapter adapter = mAdapter; local
    [all...]
ArrayAdapter.java 40 * You can use this adapter to provide views for an {@link AdapterView},
45 * By default, the array adapter creates a view by calling {@link Object#toString()} on each
56 * For an example of using an array adapter with a ListView, see the
58 * Adapter Views</a> guide.
61 * For an example of using an array adapter with a Spinner, see the
65 * If you are considering using array adapter with a ListView, consider using
88 * array adapter.
94 * array adapter in a drop down widget.
328 * Sorts the content of this adapter using the specified comparator.
331 * in this adapter
    [all...]
ListView.java 83 * adapter view</a> that does not know the details, such as type and contents, of the views it
87 * <p>In order to display items in the list, call {@link #setAdapter(ListAdapter adapter)}
88 * to associate an adapter with the list. For a simple example, see the discussion of filling an
89 * adapter view with text in the
120 * <p>For a more complete example of creating a custom adapter, see the
129 * adapter view with text in the
141 * list view and adapter.</p>
330 * setting the adapter with {@link #setAdapter(ListAdapter)}. Starting with
332 * called at any time. If the ListView's adapter does not extend
354 // Wrap the adapter if it wasn't already wrapped
1387 final ListAdapter adapter = mAdapter; local
2233 final ListAdapter adapter = mAdapter; local
2273 final ListAdapter adapter = mAdapter; local
3047 final ListAdapter adapter = getAdapter(); local
3066 final ListAdapter adapter = getAdapter(); local
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/util/
DiffUtil.java 33 * It can be used to calculate updates for a RecyclerView Adapter.
314 * {@link android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter}, you should
411 * {@link RecyclerView.Adapter} via {@link #dispatchUpdatesTo(RecyclerView.Adapter)}.
628 * Dispatches the update events to the given adapter.
630 * For example, if you have an {@link android.support.v7.widget.RecyclerView.Adapter Adapter}
640 * Note that the RecyclerView requires you to dispatch adapter updates immediately when you
642 * rule because updates are sent to the adapter right after the backing data is changed
    [all...]
  /packages/apps/Car/Overview/src/com/android/car/overview/
StreamAdapter.java 36 * A {@link RecyclerView.Adapter} that binds {@link StreamCard} to their respective views.
38 public class StreamAdapter extends RecyclerView.Adapter<StreamViewHolder>
123 * Remove all {@link StreamCard} in the adapter.
185 * Replaces a card in the adapter if the new card has the same priority. Otherwise it removes
186 * the card from the adapter.
  /packages/apps/Contacts/src/com/android/contacts/list/
GroupMemberPickerFragment.java 247 final DefaultContactListAdapter adapter = new DefaultContactListAdapter(getActivity()); local
248 adapter.setFilter(ContactListFilter.createGroupMembersFilter(
250 adapter.setSectionHeaderDisplayEnabled(true);
251 adapter.setDisplayPhotos(true);
252 return adapter;
  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
SideFragment.java 186 * HACK: The following methods bypass the updating mechanism of RecyclerView.Adapter and
188 * Adapter.notifyItemsChanged() causes the VerticalGridView to lose track of displayed item
265 private static class ItemAdapter extends RecyclerView.Adapter<ItemAdapter.ViewHolder> {
337 public void onBind(ItemAdapter adapter, Item item) {
338 mAdapter = adapter;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dxgi1_2.h 130 IDXGIAdapter **adapter);
198 #define IDXGIDevice2_GetAdapter(This,adapter) (This)->lpVtbl->GetAdapter(This,adapter)
235 static FORCEINLINE HRESULT IDXGIDevice2_GetAdapter(IDXGIDevice2* This,IDXGIAdapter **adapter) {
236 return This->lpVtbl->GetAdapter(This,adapter);
    [all...]
  /system/bt/btif/src/
btif_storage.cc 24 * Description: Stores the local BT adapter and remote device properties in
203 btif_config_set_str("Adapter", BTIF_STORAGE_KEY_ADAPTER_NAME, value);
211 btif_config_set_int("Adapter", BTIF_STORAGE_KEY_ADAPTER_SCANMODE,
215 btif_config_set_int("Adapter", BTIF_STORAGE_KEY_ADAPTER_DISC_TIMEOUT,
290 ret = btif_config_get_str("Adapter", BTIF_STORAGE_KEY_ADAPTER_NAME,
314 ret = btif_config_get_int("Adapter", BTIF_STORAGE_KEY_ADAPTER_SCANMODE,
320 "Adapter", BTIF_STORAGE_KEY_ADAPTER_DISC_TIMEOUT, (int*)prop->val);
537 * Description BTIF storage API - Fetches the adapter property->type
547 /* Special handling for adapter BD_ADDR and BONDED_DEVICES */
635 * Description BTIF storage API - Stores the adapter propert
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BrowseFragment.java 65 * of rows in a vertical list. The elements in this adapter must be subclasses
185 // if main fragment was restored first before BrowseFragment's adapter gets
238 // with adapter changes. Example: a row is added before the current selected row;
240 // new selection propagated immediately; THEN the rows view processes the same adapter
367 * of {@link Row}. We provide an out of the box adapter implementation for any rows other than
508 public void setAdapter(ObjectAdapter adapter) {
553 private boolean createMainFragment(ObjectAdapter adapter, int position) {
557 } else if (adapter == null || adapter.size() == 0) {
562 } else if (position >= adapter.size())
    [all...]
BrowseSupportFragment.java 68 * of rows in a vertical list. The elements in this adapter must be subclasses
188 // if main fragment was restored first before BrowseSupportFragment's adapter gets
241 // with adapter changes. Example: a row is added before the current selected row;
243 // new selection propagated immediately; THEN the rows view processes the same adapter
370 * of {@link Row}. We provide an out of the box adapter implementation for any rows other than
511 public void setAdapter(ObjectAdapter adapter) {
556 private boolean createMainFragment(ObjectAdapter adapter, int position) {
560 } else if (adapter == null || adapter.size() == 0) {
565 } else if (position >= adapter.size())
    [all...]
  /frameworks/support/fragment/java/android/support/v4/app/
ListFragment.java 180 public void setListAdapter(ListAdapter adapter) {
182 mAdapter = adapter;
184 mList.setAdapter(adapter);
187 // adapter. It is now time to show it.
195 * position with the adapter's data
252 * showing it once an adapter is given with {@link #setListAdapter(ListAdapter)}.
365 ListAdapter adapter = mAdapter; local
367 setListAdapter(adapter);
369 // We are starting without an adapter, so assume we won't
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
PlaybackControlsRowPresenter.java 125 ObjectAdapter adapter = primary local
128 if (adapter == null) {
131 if (adapter.getPresenterSelector() instanceof ControlButtonPresenterSelector) {
133 (ControlButtonPresenterSelector) adapter.getPresenterSelector();
137 return adapter.getPresenter(adapter.size() > 0 ? adapter.get(0) : null);
399 vh.mControlsBoundData.adapter = row.getPrimaryActionsAdapter();
405 vh.mSecondaryBoundData.adapter = row.getSecondaryActionsAdapter();
  /hardware/qcom/gps/loc_api/libloc_api_50001/
loc_eng_ni.cpp 68 inline LocEngInformNiResponse(LocEngAdapter* adapter,
71 LocMsg(), mAdapter(adapter),
154 pSession->adapter = loc_eng_data.adapter;
242 LocEngAdapter* adapter = pSession->adapter; local
248 msg = new LocEngInformNiResponse(adapter,
263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n");
264 adapter->sendMsg(msg);
  /hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
loc_eng_ni.cpp 68 inline LocEngInformNiResponse(LocEngAdapter* adapter,
71 LocMsg(), mAdapter(adapter),
154 pSession->adapter = loc_eng_data.adapter;
242 LocEngAdapter* adapter = pSession->adapter; local
248 msg = new LocEngInformNiResponse(adapter,
263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n");
264 adapter->sendMsg(msg);
  /hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
loc_eng_ni.cpp 68 inline LocEngInformNiResponse(LocEngAdapter* adapter,
71 LocMsg(), mAdapter(adapter),
154 pSession->adapter = loc_eng_data.adapter;
242 LocEngAdapter* adapter = pSession->adapter; local
248 msg = new LocEngInformNiResponse(adapter,
263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n");
264 adapter->sendMsg(msg);
  /hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
loc_eng_ni.cpp 68 inline LocEngInformNiResponse(LocEngAdapter* adapter,
71 LocMsg(), mAdapter(adapter),
154 pSession->adapter = loc_eng_data.adapter;
242 LocEngAdapter* adapter = pSession->adapter; local
248 msg = new LocEngInformNiResponse(adapter,
263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n");
264 adapter->sendMsg(msg);
  /hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
loc_eng_ni.cpp 68 inline LocEngInformNiResponse(LocEngAdapter* adapter,
71 LocMsg(), mAdapter(adapter),
154 pSession->adapter = loc_eng_data.adapter;
242 LocEngAdapter* adapter = pSession->adapter; local
248 msg = new LocEngInformNiResponse(adapter,
263 LOC_LOGD("ni_thread_proc: adapter->sendMsg(msg)\n");
264 adapter->sendMsg(msg);

Completed in 1098 milliseconds

<<31323334353637383940>>