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

<<11121314151617181920>>

  /frameworks/base/docs/html/reference/android/support/wearable/view/
WearableListView.Adapter.html 145 <title>WearableListView.Adapter</title>
213 <h1 class="api-title">WearableListView.Adapter</h1>
221 WearableListView.Adapter
234 extends Adapter&lt;<a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">WearableListView.ViewHolder</a>&gt;
260 <td colspan="2" class="jd-inheritance-class-cell">android.support.v7.widget.RecyclerView.Adapter&lt;<a href="/reference/android/support/wearable/view/WearableListView.ViewHolder.html">android.support.wearable.view.WearableListView.ViewHolder</a>&gt;
271 <td colspan="1" class="jd-inheritance-class-cell">android.support.wearable.view.WearableListView.Adapter
285 RecyclerView.Adapter.
330 <a href="/reference/android/support/wearable/view/WearableListView.Adapter.html#WearableListView.Adapter()">WearableListView.Adapter</a>(
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
RecyclerView.java 94 * <li><em>Adapter:</em> A subclass of {@link Adapter} responsible for providing views
96 * <li><em>Position:</em> The position of a data item within an <em>Adapter</em>.</li>
100 * to a <em>position</em> within the adapter.</li>
101 * <li><em>Recycle (view):</em> A view previously used to display data for a specific adapter
108 * by the adapter if the view was considered <em>dirty</em>.</li>
109 * <li><em>Dirty (view):</em> A child view that must be rebound by the adapter before
115 * RecyclerView introduces an additional level of abstraction between the {@link Adapter} and
117 * calculation. This saves LayoutManager from tracking adapter changes to calculate animations.
125 * <li>adapter position: Position of an item in the adapter. This is the position fro
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AdapterViewTest.java 161 // After setAdapter, the count should be the value return by adapter.
168 // If there is no adapter has been set, emptyView hasn't been set, there will be no
172 // If the adapter is 0 count, emptyView has been set, the emptyView should be returned by
184 // If the adapter is not empty, the emptyView should also be returned by
195 // null adapter should also show empty view
209 // If no adapter has been set, the value should be -1;
214 // LastVisiblePosition should be adapter's getCount - 1,by mocking method
226 // no adapter set
230 // after adapter set
297 * Get the position within the adapter's data set for the view, where view is a an adapter ite
    [all...]
  /external/autotest/client/cros/bluetooth/
bluetooth_semiauto_helper.py 16 _ADAPTER_INTERFACE = 'org.bluez.Adapter1' # Name of adapter in DBus interface
26 such as accessing the state of Bluetooth adapter/devices via dbus,
59 """Return the adapter interface objects, or None if not found."""
77 """Return True/False if adapter power status matches given value."""
80 self._err('No adapter found!')
105 """Set adapter power status to match given value via dbus call.
109 @param adapter_power_status: True to turn adapter on; False for off.
114 self._err('No adapter found!')
123 """Raise error if adapter is not found after some time."""
129 self._err('No adapter found after polling!'
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ListViewTest.java 245 final ArrayAdapter<String> adapter = new ArrayAdapter<String>(null, android.R.layout.simple_list_item_1, adapterFileList); local
246 listView.setAdapter(adapter);
252 transcript.add("clicked on item " + adapter.getItem(position));
273 ListAdapter adapter = prepareWithListAdapter(); local
274 adapter.items.remove(0);
280 ListAdapter adapter = prepareWithListAdapter(); local
281 adapter.items.add("x");
287 ListAdapter adapter = prepareWithListAdapter(); local
288 adapter.items.remove(2);
289 adapter.items.add("x")
478 ListAdapter adapter = new ListAdapter("a", "b", "c"); local
    [all...]
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
EntryListFragment.java 57 * adapter assumes data exists in the provider once a sync has run. If your app doesn't work like
61 * <p>The ActionBar displays a "Refresh" button. When the user clicks "Refresh", the sync adapter
71 * Cursor adapter for controlling ListView results.
111 * List of Cursor columns to read from when preparing an adapter to populate the ListView.
207 * triggered when data in the content provider changes. When the sync adapter updates the
224 * Move the Cursor returned by the query into the ListView adapter. This refreshes the existing
234 * changed. The ContentObserver resets the loader, and then re-runs the loader. In the adapter,
323 /** Callback invoked with the sync adapter status changes. */
344 // Test the ContentResolver to see if the sync adapter is active or pending.
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/
EntryListFragment.java 57 * adapter assumes data exists in the provider once a sync has run. If your app doesn't work like
61 * <p>The ActionBar displays a "Refresh" button. When the user clicks "Refresh", the sync adapter
71 * Cursor adapter for controlling ListView results.
111 * List of Cursor columns to read from when preparing an adapter to populate the ListView.
207 * triggered when data in the content provider changes. When the sync adapter updates the
224 * Move the Cursor returned by the query into the ListView adapter. This refreshes the existing
234 * changed. The ContentObserver resets the loader, and then re-runs the loader. In the adapter,
323 /** Callback invoked with the sync adapter status changes. */
344 // Test the ContentResolver to see if the sync adapter is active or pending.
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
EntryListFragment.java 57 * adapter assumes data exists in the provider once a sync has run. If your app doesn't work like
61 * <p>The ActionBar displays a "Refresh" button. When the user clicks "Refresh", the sync adapter
71 * Cursor adapter for controlling ListView results.
111 * List of Cursor columns to read from when preparing an adapter to populate the ListView.
207 * triggered when data in the content provider changes. When the sync adapter updates the
224 * Move the Cursor returned by the query into the ListView adapter. This refreshes the existing
234 * changed. The ContentObserver resets the loader, and then re-runs the loader. In the adapter,
323 /** Callback invoked with the sync adapter status changes. */
344 // Test the ContentResolver to see if the sync adapter is active or pending.
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
FrameworkPerfActivity.java 166 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
168 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
169 mFgSpinner.setAdapter(adapter);
172 adapter = new ArrayAdapter<String>(this,
174 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
175 mBgSpinner.setAdapter(adapter);
178 adapter = new ArrayAdapter<String>(this,
180 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
181 mLimitSpinner.setAdapter(adapter);
  /packages/apps/Gallery2/src/com/android/photos/
MultiSelectGridFragment.java 127 public void setAdapter(ListAdapter adapter) {
129 mAdapter = adapter;
131 mGrid.setAdapter(adapter);
134 // adapter. It is now time to show it.
142 * adapter's data
199 * shown, only showing it once an adapter is given with
309 ListAdapter adapter = mAdapter; local
311 setAdapter(adapter);
313 // We are starting without an adapter, so assume we won't
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
Picker.java 54 * Object listening for adapter events.
158 gridView.setAdapter(new Adapter(i, Arrays.asList(mColumns.get(i).getItems())));
184 final Adapter adapter = (Adapter) gridView.getAdapter(); local
187 adapter.setItems(Arrays.asList(pickerColumn.getItems()));
392 private class Adapter extends RecyclerView.Adapter<ViewHolder>
400 public Adapter(int columnId, List<String> items) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarDisplayOptions.java 67 final ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
69 adapter.add("Item 1");
70 adapter.add("Item 2");
71 adapter.add("Item 3");
72 bar.setListNavigationCallbacks(adapter, this);
  /frameworks/base/core/java/android/widget/
MenuPopupWindow.java 151 // The adapter may be wrapped. Adjust the index if necessary.
154 final ListAdapter adapter = getAdapter(); local
155 if (adapter instanceof HeaderViewListAdapter) {
156 final HeaderViewListAdapter headerAdapter = (HeaderViewListAdapter) adapter;
161 menuAdapter = (MenuAdapter) adapter;
  /frameworks/support/core-ui/java/android/support/v4/widget/
ResourceCursorAdapter.java 47 * @param context The context where the ListView associated with this adapter is running
71 * @param context The context where the ListView associated with this adapter is running
76 * @param autoRequery If true the adapter will call requery() on the
90 * @param context The context where the ListView associated with this adapter is running
95 * @param flags Flags used to determine the behavior of the adapter,
  /frameworks/support/design/tests/src/android/support/design/testutils/
ViewPagerActions.java 181 * Sets the specified adapter on <code>ViewPager</code>.
183 public static ViewAction setAdapter(final @Nullable PagerAdapter adapter) {
192 return "ViewPager set adapter";
200 viewPager.setAdapter(adapter);
219 return "ViewPager notify on adapter content change";
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
BaseLayoutManagerActivity.java 21 import com.example.android.supportv7.widget.adapter.SimpleStringAdapter;
44 * It initializes a sample adapter and a list of configuration options. Extending activities can
81 protected RecyclerView.Adapter createAdapter() {
176 private RecyclerView.Adapter mConfigAdapter = new RecyclerView.Adapter<ConfigViewHolder>() {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
BaseRowFragment.java 87 * This class waits for the adapter to be updated before setting the selected
128 // We don't set the selected position unless we've data in the adapter.
166 * Sets the adapter for the fragment.
181 * Returns the bridge adapter.
235 // If presenter selector is null, adapter ps will be used
BaseRowSupportFragment.java 89 * This class waits for the adapter to be updated before setting the selected
130 // We don't set the selected position unless we've data in the adapter.
168 * Sets the adapter for the fragment.
183 * Returns the bridge adapter.
237 // If presenter selector is null, adapter ps will be used
ListRowDataAdapter.java 17 * the invisible rows at the end. In case the data inside the adapter changes, it adjusts the
29 public ListRowDataAdapter(ObjectAdapter adapter) {
30 super(adapter.getPresenterSelector());
31 this.mAdapter = adapter;
39 if (adapter.isImmediateNotifySupported()) {
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
MenuPopupWindow.java 187 // The adapter may be wrapped. Adjust the index if necessary.
190 final ListAdapter adapter = getAdapter(); local
191 if (adapter instanceof HeaderViewListAdapter) {
192 final HeaderViewListAdapter headerAdapter = (HeaderViewListAdapter) adapter;
197 menuAdapter = (MenuAdapter) adapter;
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
StaggeredGridLayoutManagerSavedStateTest.java 77 scrollToPosition(adapter().getItemCount() * 3 / 4);
90 scrollToPositionWithOffset(adapter().getItemCount() / 3,
104 scrollToPositionWithOffset(adapter().getItemCount() * 2 / 3,
192 // use the same adapter for Rect matching
231 public GridTestAdapter adapter() { method in class:StaggeredGridLayoutManagerSavedStateTest.PostLayoutRunnable
  /hardware/qcom/gps/msm8960/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,
  /packages/apps/Dialer/src/com/android/dialer/list/
AllContactsFragment.java 133 final DefaultContactListAdapter adapter = new DefaultContactListAdapter(getActivity()) { local
140 adapter.setDisplayPhotos(true);
141 adapter.setFilter(ContactListFilter.createFilterWithType(
143 adapter.setSectionHeaderDisplayEnabled(isSectionHeaderDisplayEnabled());
144 return adapter;
  /system/bt/service/ipc/
ipc_handler_linux.cpp 31 IPCHandlerLinux::IPCHandlerLinux(bluetooth::Adapter* adapter,
33 : IPCHandler(adapter, delegate),
140 CHECK(adapter());
171 LinuxIPCHost ipc_host(client_socket, adapter());
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
SetterStore.java 149 for (HashMap<AccessorKey, InverseDescription> adapter : mStore.inverseAdapters.values()) {
150 for (InverseDescription inverseDescription : adapter.values()) {
531 for (String adapter : adapters) {
532 final String simpleName = simpleName(adapter);
538 list.add(adapter);
579 for (MultiValueAdapterKey adapter : mStore.multiValueAdapters.keySet()) {
580 if (adapter.requireAll && adapter.attributes.length > attributes.length) {
583 ModelClass viewClass = mClassAnalyzer.findClass(adapter.viewType, null);
590 final MethodDescription method = mStore.multiValueAdapters.get(adapter);
683 MethodDescription adapter = adapters.get(key); local
    [all...]

Completed in 541 milliseconds

<<11121314151617181920>>