Home
last modified time | relevance | path

Searched refs:Adapter (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DListViewTest.java45 Adapter<String> adapter = new Adapter<String>(context, 0, items); in testRequestLayout()
75 Adapter<String> adapter = new Adapter<String>(context, 0, items); in testNoSelectableItems()
129 private class Adapter<T> extends ArrayAdapter<T> { class in ListViewTest
131 public Adapter(Context context, int resource, List<T> objects) { in Adapter() method in ListViewTest.Adapter
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd26 an Adapter</a>.</p>
118 // create a new ImageView for each item referenced by the Adapter
152 android.widget.Adapter#getCount()} are self-explanatory. Normally, {@link
153 android.widget.Adapter#getItem(int)} should return the actual object at the specified position in
155 android.widget.Adapter#getItemId(int)} should return the row id of the item, but it's not
158 <p>The first method necessary is {@link android.widget.Adapter#getView(int,View,ViewGroup)
177 android.widget.Adapter#getView(int,View,ViewGroup) getView()} is <em>not</em> null, then the local
181 <p>At the end of the {@link android.widget.Adapter#getView(int,View,ViewGroup) getView()} method,
Dlistview.jd14 <li>{@link android.widget.Adapter}</li>
27 android.widget.Adapter} that pulls content from a source such as an array or database query and
32 an Adapter</a>.</p>
46 android.widget.Adapter} with the new {@link android.database.Cursor} and the list view then
75 // This is the Adapter being used to display the list's data
/frameworks/base/core/java/android/widget/
DListAdapter.java26 public interface ListAdapter extends Adapter {
DSpinnerAdapter.java28 public interface SpinnerAdapter extends Adapter {
DAdapter.java33 public interface Adapter { interface
DAdapterViewAnimator.java48 public abstract class AdapterViewAnimator extends AdapterView<Adapter>
115 Adapter mAdapter;
946 public Adapter getAdapter() { in getAdapter()
951 public void setAdapter(Adapter adapter) { in setAdapter()
DAdapterViewFlipper.java124 public void setAdapter(Adapter adapter) { in setAdapter()
DAdapterView.java48 public abstract class AdapterView<T extends Adapter> extends ViewGroup {
/frameworks/base/docs/html/training/sync-adapters/
Drunning-sync-adapter.jd1 page.title=Running a Sync Adapter
12 <li><a href="#RunByMessage">Run the Sync Adapter When Server Data Changes</a>
13 <li><a href="#RunDataChange">Run the Sync Adapter When Content Provider Data Changes</a></li>
14 <li><a href="#RunByNetwork">Run the Sync Adapter After a Network Message</a></li>
15 <li><a href="#RunPeriodic">Run the Sync Adapter Periodically</a></li>
16 <li><a href="#RunOnDemand">Run the Sync Adapter On Demand</a></li>
97 <h2 id="RunByMessage">Run the Sync Adapter When Server Data Changes</h2>
171 <h2 id="RunDataChange">Run the Sync Adapter When Content Provider Data Changes</h2>
286 <h2 id="RunByNetwork">Run the Sync Adapter After a Network Message</h2>
340 <h2 id="RunPeriodic">Run the Sync Adapter Periodically</h2>
[all …]
Dcreating-sync-adapter.jd1 page.title=Creating a Sync Adapter
13 >Create the Sync Adapter Class</a>
16 <a href="#CreateSyncAdapterService">Bind the Sync Adapter to the Framework</a>
23 <a href="#CreateSyncAdapterMetadata">Add the Sync Adapter Metadata File</a>
26 <a href="#DeclareSyncAdapterManifest">Declare the Sync Adapter in the Manifest</a>
89 <h2 id="CreateSyncAdapter">Create a Sync Adapter Class</h2>
111 <a href="#CreateSyncAdapterService">Bind the Sync Adapter to the Framework</a>.
293 <h2 id="CreateSyncAdapterService">Bind the Sync Adapter to the Framework</h2>
436 <h2 id="CreateSyncAdapterMetadata">Add the Sync Adapter Metadata File</h2>
519 <a href="running-sync-adapter.html">Running a Sync Adapter</a>
[all …]
Dindex.jd123 <b><a href="creating-sync-adapter.html">Creating a Sync Adapter</a></b>
130 <b><a href="running-sync-adapter.html">Running a Sync Adapter</a></b>
Dcreating-stub-provider.jd63 <a href="creating-sync-adapter.html">Creating a Sync Adapter</a>. If you don't yet have a
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java27 import android.widget.Adapter;
DPreferenceScreen.java31 import android.widget.Adapter;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAdapterViewICS.java32 import android.widget.Adapter;
50 abstract class AdapterViewICS<T extends Adapter> extends ViewGroup {
/frameworks/base/docs/html/guide/topics/ui/
Dbinding.jd52 …the course of your application's life, you change the underlying data that is read by your Adapter,
Ddeclaring-layout.jd20 <li><a href="#AdapterViews">Building Layouts with an Adapter</a>
373 <h2 id="AdapterViews" style="clear:left">Building Layouts with an Adapter</h2>
377 subclass of the {@link android.widget.AdapterView} class uses an {@link android.widget.Adapter} to
378 bind data to its layout. The {@link android.widget.Adapter} behaves as a middle-man between the data
379 source and the {@link android.widget.AdapterView} layout&mdash;the {@link android.widget.Adapter}
403 {@link android.widget.Adapter}, which retrieves data from an external source and creates a {@link
406 <p>Android provides several subclasses of {@link android.widget.Adapter} that are useful for
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java44 import android.widget.Adapter;
452 Adapter adapter = adapterView.getAdapter(); in viewDataChanged()
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd46 Sample Sync Adapter</a>
/frameworks/base/docs/html/training/tv/
Doptimizing-layouts-tv.jd182 {@link android.widget.Adapter#getView(int, View, ViewGroup) getView()}
183 is called on the View's {@link android.widget.Adapter}.
/frameworks/base/docs/html/training/improving-layouts/
Dsmooth-scrolling.jd88 android.widget.Adapter} returns an inflated view for recycling, you still need to look up the
/frameworks/base/docs/html/guide/topics/search/
Dsearch-dialog.jd336 <p>An {@link android.widget.Adapter} binds each item from a set of data into a
337 {@link android.view.View} object. When the {@link android.widget.Adapter}
340 android.widget.Adapter} is just an interface, so implementations such as {@link
350 results to your searchable activity with an {@link android.widget.Adapter}. This way, you can easily
363 android.widget.Adapter} that is bound to your data. This injects all the
372 {@link android.widget.Adapter} to provide results in a {@link android.widget.ListView}.</p>
/frameworks/base/docs/html/guide/components/
Dloaders.jd335 // This is the Adapter being used to display the list's data.<br
355 // This is the Adapter being used to display the list's data.
382 // This is the Adapter being used to display the list's data.
/frameworks/base/docs/html/training/printing/
Dcustom-docs.jd17 <li><a href="#print-adapter">Create a Print Adapter</a>
82 <h2 id="print-adapter">Create a Print Adapter</h2>

12