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

<<11121314151617181920>>

  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DocumentsAdapter.java 36 * dummy layout objects was error prone when interspersed with the core mode / adapter code.
42 extends RecyclerView.Adapter<DocumentHolder>
49 * Returns a list of model IDs of items currently in the adapter. Excludes items that are
63 * @return The model ID of the item at the given adapter position.
97 * Environmental access for View adapter implementations.
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
NekoDialog.java 35 private final Adapter mAdapter;
40 mAdapter = new Adapter(getContext());
60 private class Adapter extends RecyclerView.Adapter<Holder> {
65 public Adapter(Context context) {
  /frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
BindingAdapter.java 47 * When a binding adapter may also take multiple attributes, it will only be called when all
48 * attributes associated with the binding adapter have binding expressions associated with them.
60 * A binding adapter may optionally take a class extending DataBindingComponent as the first
65 * If a binding adapter is an instance method, the generated DataBindingComponent will have
72 * @return The attributes associated with this binding adapter.
  /frameworks/support/core-ui/java/android/support/v4/view/
PagerAdapter.java 26 * Base class providing the adapter to populate pages inside of
51 * independent of its position in the adapter. A call to the PagerAdapter method
75 * ViewPager will keep the current page active provided the adapter implements
92 * @param container The containing View which is displaying this adapter's
100 * Create the page for the given position. The adapter is responsible
115 * Remove a page for the given position. The adapter is responsible
129 * Called to inform the adapter of which item is currently considered to
145 * @param container The containing View which is displaying this adapter's
154 * @param container The containing View which is displaying this adapter's
164 * Create the page for the given position. The adapter is responsibl
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
StaggeredGridLayoutManagerGapTest.java 70 final RecyclerView.Adapter adapter = mAdapter; local
97 // now layout another RV with same adapter
100 mRecyclerView.setAdapter(adapter);// use same adapter so that items can be matched
  /system/bt/service/ipc/
ipc_manager.h 25 class Adapter;
63 explicit IPCManager(bluetooth::Adapter* adapter);
93 // The Bluetooth adapter instance. This is owned by Daemon so we keep a raw
95 bluetooth::Adapter* adapter_;
linux_ipc_host.h 28 class Adapter;
40 LinuxIPCHost(int sockfd, bluetooth::Adapter* adapter);
55 // Applies adapter name changes to stack.
96 bluetooth::Adapter *adapter_;
  /cts/tests/tests/widget/src/android/widget/cts/
ListViewTest.java 148 private void setAdapter(final ArrayAdapter<String> adapter) {
150 () -> mListView.setAdapter(adapter));
322 final ArrayAdapter adapter = new ArrayAdapter<String>(mActivity, local
348 () -> mListView.setAdapter(adapter));
351 () -> adapter.notifyDataSetChanged());
591 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); local
592 listView.setAdapter(adapter);
596 adapter.notifyDataSetChanged()
616 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); local
764 final DummyAdapter adapter = new DummyAdapter(2, view); local
788 final DummyAdapter adapter = new DummyAdapter(50, spacer); local
856 final TemporarilyDetachableMockViewAdapter<String> adapter = local
893 ArrayAdapterWithMockDrawable adapter = new ArrayAdapterWithMockDrawable(mActivity); local
1048 final ArrayAdapter<String> adapter = new ArrayAdapter<String>(mActivity, local
1075 final StableArrayAdapter<String> adapter = new StableArrayAdapter<String>(mActivity, local
    [all...]
  /frameworks/base/core/java/android/widget/
RemoteViewsService.java 28 * The service to be connected to for a remote adapter to request RemoteViews. Users should
46 * An interface for an adapter between a remote collection view (ListView, GridView, etc) and
48 * for each item in the data set. This interface is a thin wrapper around {@link Adapter}.
50 * @see android.widget.Adapter
61 * Called when notifyDataSetChanged() is triggered on the remote adapter. This allows a
78 * See {@link Adapter#getCount()}
85 * See {@link Adapter#getView(int, android.view.View, android.view.ViewGroup)}.
106 * See {@link Adapter#getViewTypeCount()}.
113 * See {@link Adapter#getItemId(int)}.
121 * See {@link Adapter#hasStableIds()}
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
BlockedListSearchFragment.java 87 * adapter returned by #createListAdapter is used, which populates the view with contacts.
130 BlockedListSearchAdapter adapter = new BlockedListSearchAdapter(getActivity()); local
131 adapter.setDisplayPhotos(true);
133 adapter.setUseCallableUri(false);
135 adapter.setQueryString(getQueryString() == null ? "" : getQueryString());
136 return adapter;
144 final BlockedListSearchAdapter adapter = (BlockedListSearchAdapter) getAdapter(); local
145 final int shortcutType = adapter.getShortcutTypeFromPosition(adapterPosition);
151 number = adapter.getPhoneNumber(adapterPosition);
156 number = adapter.getQueryString()
    [all...]
  /system/bt/service/
low_energy_client.h 44 class Adapter;
147 LowEnergyClient(Adapter& adapter, const UUID& uuid, int client_id);
188 // Raw pointer to the Bluetooth Adapter.
189 Adapter& adapter_;
249 // from an Adapter instance.
250 LowEnergyClientFactory(Adapter& adapter);
270 // Raw pointer to the Adapter that owns this factory.
271 Adapter& adapter_
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListFragment.java 341 // Configure the adapter to show the selection based on the
343 ContactListAdapter adapter = getAdapter(); local
344 if (adapter != null) {
345 adapter.setSelectedContact(mSelectedContactDirectoryId,
389 ContactListAdapter adapter = getAdapter(); local
390 if (adapter == null) {
396 adapter.setFilter(mFilter);
399 adapter.setSelectedContact(
405 adapter.setIncludeProfile(!searchMode);
434 ContactListAdapter adapter = getAdapter() local
547 ContactListAdapter adapter = getAdapter(); local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAlertDialog.java 8 import android.widget.Adapter;
43 private ListAdapter adapter; field in class:ShadowAlertDialog
167 public Adapter getAdapter() {
168 return adapter;
207 adapter = new ArrayAdapter<CharSequence>(context, R.layout.simple_list_item_checked, R.id.text1, items);
210 if (adapter != null) {
211 getListView().setAdapter(adapter);
245 private ListAdapter adapter; field in class:ShadowAlertDialog.ShadowBuilder
309 public AlertDialog.Builder setSingleChoiceItems(ListAdapter adapter, int checkedItem, final DialogInterface.OnClickListener listener) {
313 this.adapter = adapter
    [all...]
  /frameworks/support/design/tests/src/android/support/design/widget/
TabLayoutWithViewPagerTest.java 110 // The adapter is also responsible for removing the view.
147 // Unlike ListView adapters, the ViewPager adapter is responsible
162 // Unlike ListView adapters, the ViewPager adapter is responsible
295 // Verify that we have the expected initial adapter
297 assertEquals("Initial adapter class", ColorPagerAdapter.class, initialAdapter.getClass());
298 assertEquals("Initial adapter page count", 3, initialAdapter.getCount());
300 // Add two more entries to our adapter
306 // We have more comprehensive test coverage for changing the ViewPager adapter in v4/tests.
326 // Verify that we have the expected initial adapter
328 assertEquals("Initial adapter class", ColorPagerAdapter.class, initialAdapter.getClass())
564 ColorPagerAdapter adapter = new ColorPagerAdapter(); local
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DetailsFragment.java 42 * of rows in a vertical list.The Adapter's {@link PresenterSelector} must maintain subclasses
46 * When {@link FullWidthDetailsOverviewRowPresenter} is found in adapter, DetailsFragment will
122 public void setAdapter(ObjectAdapter adapter) {
123 mAdapter = adapter;
124 Presenter[] presenters = adapter.getPresenterSelector().getPresenters();
133 mRowsFragment.setAdapter(adapter);
230 * Called to setup each Presenter of Adapter passed in {@link #setAdapter(ObjectAdapter)}. Note
317 ObjectAdapter adapter = getAdapter(); local
318 if (adapter == null || adapter.size() == 0 |
    [all...]
DetailsSupportFragment.java 44 * of rows in a vertical list.The Adapter's {@link PresenterSelector} must maintain subclasses
48 * When {@link FullWidthDetailsOverviewRowPresenter} is found in adapter, DetailsSupportFragment will
124 public void setAdapter(ObjectAdapter adapter) {
125 mAdapter = adapter;
126 Presenter[] presenters = adapter.getPresenterSelector().getPresenters();
135 mRowsSupportFragment.setAdapter(adapter);
232 * Called to setup each Presenter of Adapter passed in {@link #setAdapter(ObjectAdapter)}. Note
319 ObjectAdapter adapter = getAdapter(); local
320 if (adapter == null || adapter.size() == 0 |
    [all...]
  /art/compiler/optimizing/
stack_map_stream.h 64 stack_maps_(allocator->Adapter(kArenaAllocStackMapStream)),
65 location_catalog_entries_(allocator->Adapter(kArenaAllocStackMapStream)),
66 location_catalog_entries_indices_(allocator->Adapter(kArenaAllocStackMapStream)),
67 dex_register_locations_(allocator->Adapter(kArenaAllocStackMapStream)),
68 inline_infos_(allocator->Adapter(kArenaAllocStackMapStream)),
74 allocator->Adapter(kArenaAllocStackMapStream)),
77 code_info_encoding_(allocator->Adapter(kArenaAllocStackMapStream)),
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
PolicyTransparencyTestListActivity.java 109 final ArrayTestListAdapter adapter = new ArrayTestListAdapter(this); local
110 addTestsToAdapter(adapter);
111 adapter.registerDataSetObserver(new DataSetObserver() {
118 setTestListAdapter(adapter);
121 private void addTestsToAdapter(final ArrayTestListAdapter adapter) {
130 adapter.add(TestListItem.newTest(title, testId, intent, null));
143 adapter.add(TestListItem.newTest(title, testId, intent, null));
  /development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
ListViewDeletion.java 57 final StableArrayAdapter adapter = new StableArrayAdapter(this, local
59 listview.setAdapter(adapter);
74 final String item = adapter.getItem(position);
81 adapter.remove(item);
101 adapter.remove(item);
110 adapter.remove(item);
132 adapter.notifyDataSetChanged();
  /external/webrtc/webrtc/base/
socketadapters.h 28 // Implements a socket adapter that can buffer and process data internally,
70 // Implements a socket adapter that performs the client side of a
84 // Implements a socket adapter that performs the server side of a
97 // Implements a socket adapter that speaks the HTTP/S proxy protocol.
105 // If connect is forced, the adapter will always issue an HTTP CONNECT to the
157 // Implements a socket adapter that speaks the SOCKS proxy protocol.
217 // Implements a socket adapter that logs everything that it sends and receives.
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
LocalBluetoothAdapter.java 32 * those related to state transitions of the adapter itself.
54 private LocalBluetoothAdapter(BluetoothAdapter adapter) {
55 mAdapter = adapter;
70 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local
71 if (adapter != null) {
72 sInstance = new LocalBluetoothAdapter(adapter);
194 // get the adapter UUIDs in its constructor when it is.
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
RecyclerViewUtil.java 43 private static final String CN_ADAPTER = CN_RECYCLER_VIEW + "$Adapter";
50 * Tries to create an Adapter ({@code android.support.v7.widget.RecyclerView.Adapter} and a
60 Object adapter = createAdapter(layoutlibCallback); local
61 if (adapter != null) {
62 setProperty(recyclerView, CN_ADAPTER, adapter, "setAdapter");
63 setProperty(adapter, int.class, adapterLayout, "setLayoutId");
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ObjectAdapter.java 19 * Base class adapter to be used in leanback activities. Provides access to a data model and is
108 * Constructs an adapter with the given {@link PresenterSelector}.
115 * Constructs an adapter that uses the given {@link Presenter} for all items.
122 * Constructs an adapter.
228 * Returns the {@link Presenter} for the given item from the adapter.
238 * Returns the number of items in the adapter.
255 * Returns true if the adapter pairs each underlying data change with a call to notify and
  /hardware/qcom/gps/loc_api/libloc_api_50001/
loc_eng_msg.h 62 LocEngPositionMode(LocEngAdapter* adapter, LocPosMode &mode);
71 LocEngStartFix(LocEngAdapter* adapter);
80 LocEngStopFix(LocEngAdapter* adapter);
94 LocEngReportPosition(LocAdapterBase* adapter,
111 LocEngReportSv(LocAdapterBase* adapter,
124 LocEngReportStatus(LocAdapterBase* adapter,
285 LocEngGetZpp(LocEngAdapter* adapter);
  /hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
loc_eng_msg.h 62 LocEngPositionMode(LocEngAdapter* adapter, LocPosMode &mode);
71 LocEngStartFix(LocEngAdapter* adapter);
80 LocEngStopFix(LocEngAdapter* adapter);
94 LocEngReportPosition(LocAdapterBase* adapter,
111 LocEngReportSv(LocAdapterBase* adapter,
124 LocEngReportStatus(LocAdapterBase* adapter,
285 LocEngGetZpp(LocEngAdapter* adapter);

Completed in 913 milliseconds

<<11121314151617181920>>