HomeSort by relevance Sort by last modified time
    Searched full:adapter (Results 651 - 675 of 2956) sorted by null

<<21222324252627282930>>

  /development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
AddFileActivity.java 179 final ArrayAdapter<CharSequence> adapter = local
182 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
183 spinner.setAdapter(adapter);
187 String sizeMeasure = adapter.getItem(position).toString();
204 final ArrayAdapter<CharSequence> adapter = local
207 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
208 spinner.setAdapter(adapter);
  /external/apache-http/src/org/apache/http/impl/conn/
AbstractClientConnAdapter.java 54 * Abstract adapter from {@link OperatedClientConnection operated} to
62 * This adapter tracks the checkpoints for reusable communication states,
93 * This attribute MUST NOT be final, so the adapter can be detached
111 * Creates a new connection adapter.
112 * The adapter is initially <i>not</i>
131 * Detaches this adapter from the wrapped connection.
132 * This adapter becomes useless.
  /external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
dxgi_native.cpp 44 static HRESULT GalliumDXGIAdapterCreate(GalliumDXGIFactory* adapter, const struct native_platform* platform, void* dpy, IDXGIAdapter1** out_adapter);
45 static HRESULT GalliumDXGIOutputCreate(GalliumDXGIAdapter* adapter, const std::string& name, const struct native_connector* connector, IDXGIOutput** out_output);
159 UINT adapter,
162 return EnumAdapters1(adapter, (IDXGIAdapter1**)out_adapter);
166 UINT adapter,
170 if(adapter == 0)
179 if(adapter < nscreens)
182 if(adapter <= def_screen)
183 --adapter;
184 *out_adapter = GalliumDXGIAdapterCreate(this, platform, display, adapter);
875 ComPtr<GalliumDXGIAdapter> adapter; member in struct:GalliumDXGISwapChain
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/scsi/
sg.h 63 unsigned short int host_status; /* [o] errors from host adapter */
110 /* Host (adapter) maximum commands per lun. */
112 /* Device (or adapter) maximum queue length. */
136 #define SG_EMULATED_HOST 0x2203 /* true for emulated host adapter (ATAPI) */
152 #define SG_SET_FORCE_LOW_DMA 0x2279 /* 0-> use adapter setting, 1-> force */
164 /* Yields max scatter gather tablesize allowed by current host adapter */
191 by adapter then this value is the largest data block that can be
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/scsi/
sg.h 63 unsigned short int host_status; /* [o] errors from host adapter */
110 /* Host (adapter) maximum commands per lun. */
112 /* Device (or adapter) maximum queue length. */
136 #define SG_EMULATED_HOST 0x2203 /* true for emulated host adapter (ATAPI) */
152 #define SG_SET_FORCE_LOW_DMA 0x2279 /* 0-> use adapter setting, 1-> force */
164 /* Yields max scatter gather tablesize allowed by current host adapter */
191 by adapter then this value is the largest data block that can be
  /cts/tests/tests/print/src/android/print/cts/
PrinterDiscoverySessionLifecycleTest.java 92 // Create a print adapter that respects the print contract.
93 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter(); local
96 print(adapter);
192 // Create a print adapter that respects the print contract.
193 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter(); local
196 print(adapter);
280 // Create a print adapter that respects the print contract.
281 PrintDocumentAdapter adapter = createMockPrintDocumentAdapter(); local
284 print(adapter);
314 print(adapter);
    [all...]
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 108 ArrayAdapter<String> adapter; local
109 adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item);
110 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
114 adapter.add(ContactsContract.CommonDataKinds.Phone.getTypeLabel(
119 mContactPhoneTypeSpinner.setAdapter(adapter);
123 adapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item);
124 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
127 adapter.add(ContactsContract.CommonDataKinds.Email.getTypeLabel(
132 mContactEmailTypeSpinner.setAdapter(adapter);
360 * Custom adapter used to display account icons and descriptions in the account spinner
    [all...]
  /frameworks/base/core/java/android/app/
ListFragment.java 140 * associate the list with an adapter. Do not directly call
236 public void setListAdapter(ListAdapter adapter) {
238 mAdapter = adapter;
240 mList.setAdapter(adapter);
243 // adapter. It is now time to show it.
251 * position with the adapter's data
308 * showing it once an adapter is given with {@link #setListAdapter(ListAdapter)}.
422 ListAdapter adapter = mAdapter; local
424 setListAdapter(adapter);
426 // We are starting without an adapter, so assume we won'
    [all...]
  /frameworks/base/core/java/android/widget/
CursorAdapter.java 32 * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
94 * If set the adapter will call requery() on the cursor whenever a content change
106 * If set the adapter will register a content observer on the cursor and will call
108 * using this flag: you will need to unset the current Cursor from the adapter
139 * @param autoRequery If true the adapter will call requery() on the
152 * @param flags Flags used to determine the behavior of the adapter; may
200 * {@link Context} passed to the adapter's constructor.
203 * {@code null} to use the theme from the adapter's context
406 * by the filter attached to this adapter.
463 * this adapter
    [all...]
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...]
  /frameworks/base/docs/html/training/material/
lists-cards.jd 52 adapter and a layout manager. To create an adapter, extend the {@link
53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter} class. The details
67 adapter to replace the contents of the view with a different element from the dataset. Recycling
106 obtain a handle to the object, connect it to a layout manager, and attach an adapter for the data
112 private RecyclerView.Adapter mAdapter;
129 // specify an adapter (see also next example)
137 <p>The adapter provides access to the items in your data set, creates views for items, and
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder>
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
RowsFragment.java 48 * of rows in a vertical list. The Adapter's {@link PresenterSelector} must maintain subclasses
258 * Get row ViewHolder at adapter position. Returns null if the row object is not in adapter or
261 * @param position Position of row in adapter.
262 * @return Row ViewHolder at a given adapter position.
428 ItemBridgeAdapter adapter = getBridgeAdapter(); local
429 if (adapter != null) {
430 adapter.setAdapterListener(mBridgeAdapterListener);
611 public void setAdapter(ObjectAdapter adapter) {
612 getFragment().setAdapter(adapter);
    [all...]
RowsSupportFragment.java 50 * of rows in a vertical list. The Adapter's {@link PresenterSelector} must maintain subclasses
260 * Get row ViewHolder at adapter position. Returns null if the row object is not in adapter or
263 * @param position Position of row in adapter.
264 * @return Row ViewHolder at a given adapter position.
430 ItemBridgeAdapter adapter = getBridgeAdapter(); local
431 if (adapter != null) {
432 adapter.setAdapterListener(mBridgeAdapterListener);
613 public void setAdapter(ObjectAdapter adapter) {
614 getFragment().setAdapter(adapter);
    [all...]
HeadersFragment.java 231 ItemBridgeAdapter adapter = getBridgeAdapter(); local
232 if (adapter != null) {
233 adapter.setAdapterListener(mAdapterListener);
234 adapter.setWrapper(mWrapper);
236 if (adapter != null && getVerticalGridView() != null) {
HeadersSupportFragment.java 233 ItemBridgeAdapter adapter = getBridgeAdapter(); local
234 if (adapter != null) {
235 adapter.setAdapterListener(mAdapterListener);
236 adapter.setWrapper(mWrapper);
238 if (adapter != null && getVerticalGridView() != null) {
  /hardware/qcom/gps/msmcobalt/loc_api/libloc_api_50001/
LocEngAdapter.cpp 45 LocInternalAdapter::LocInternalAdapter(LocEngAdapter* adapter) :
46 LocAdapterBase(adapter->getMsgTask()),
47 mLocEngAdapter(adapter)
265 inline LocSetUlpProxy(LocAdapterBase* adapter, UlpProxyBase* ulp) :
266 LocMsg(), mAdapter(adapter), mUlp(ulp) {
269 LOC_LOGV("%s] ulp %p adapter %p", __func__,
310 inline LocEngAdapterGpsLock(LocEngAdapter* adapter, LOC_GPS_LOCK_MASK lockMask) :
311 LocMsg(), mAdapter(adapter), mLockMask(lockMask)
403 //Send to Internal Adapter later if needed by LA
411 //Send to Internal Adapter later if needed by L
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SettingsPreferenceFragment.java 84 private RecyclerView.Adapter mCurrentRootAdapter;
357 RecyclerView.Adapter adapter = listView.getAdapter(); local
359 if (adapter != null && adapter instanceof PreferenceGroupAdapter) {
360 return findListPositionFromKey((PreferenceGroupAdapter) adapter, key);
373 protected RecyclerView.Adapter onCreateAdapter(PreferenceScreen preferenceScreen) {
424 private int findListPositionFromKey(PreferenceGroupAdapter adapter, String key) {
425 final int count = adapter.getItemCount();
427 final Preference preference = adapter.getItem(n)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ConnectionServiceFixture.java 195 public void addConnectionServiceAdapter(IConnectionServiceAdapter adapter)
197 if (!mConnectionServiceAdapters.add(adapter)) {
198 throw new RuntimeException("Adapter already added: " + adapter);
200 mConnectionServiceDelegateAdapter.addConnectionServiceAdapter(adapter);
204 public void removeConnectionServiceAdapter(IConnectionServiceAdapter adapter)
206 if (!mConnectionServiceAdapters.remove(adapter)) {
207 throw new RuntimeException("Adapter never added: " + adapter);
209 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).
  /frameworks/base/core/java/android/bluetooth/
BluetoothManager.java 72 * Get the default BLUETOOTH Adapter for this device.
74 * @return the default BLUETOOTH Adapter
84 * the connection state of the local Bluetooth adapter for certain profile.
158 * the connection state of the local Bluetooth adapter for this profile.
160 * to know the state of the local adapter.
  /frameworks/base/docs/html-intl/intl/ja/training/material/
lists-cards.jd 53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter} ??????????????????????????????????????????????
112 private RecyclerView.Adapter mAdapter;
129 // specify an adapter (see also next example)
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {
  /frameworks/base/docs/html-intl/intl/ko/training/material/
lists-cards.jd 53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter} ???? ?????. ?? ????? ??? ??? ?? ? ? ??? ?? ?????.
112 private RecyclerView.Adapter mAdapter;
129 // specify an adapter (see also next example)
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {
  /frameworks/base/docs/html-intl/intl/ru/training/material/
lists-cards.jd 53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter}. ?????????????? ?????????? ??????? ?? ???????????? ????????????? ?????? ?????? ? ???? ?????????????.
112 private RecyclerView.Adapter mAdapter;
129 // specify an adapter (see also next example)
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {
  /frameworks/base/docs/html-intl/intl/zh-cn/training/material/
lists-cards.jd 53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter} ????????????????????????????
112 private RecyclerView.Adapter mAdapter;
129 // specify an adapter (see also next example)
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {
  /frameworks/base/docs/html-intl/intl/zh-tw/training/material/
lists-cards.jd 53 android.support.v7.widget.RecyclerView.Adapter RecyclerView.Adapter} ?????????????????????????
112 private RecyclerView.Adapter mAdapter;
129 // specify an adapter (see also next example)
143 public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.ViewHolder> {

Completed in 644 milliseconds

<<21222324252627282930>>