Home
last modified time | relevance | path

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

1234

/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/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java35 private Adapter mAdapter;
47 mAdapter = new Adapter(mContext, controller); in createAndSetAdapter()
55 public static class Adapter extends UserSwitcherController.BaseUserAdapter class in UserDetailView
60 public Adapter(Context context, UserSwitcherController controller) { in Adapter() method in UserDetailView.Adapter
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java273 RecyclerView.Adapter mPrevAdapter;
275 RecyclerView.Adapter mNextAdapter;
280 public void onAdapterChanged(RecyclerView.Adapter oldAdapter, in onAdapterChanged()
281 RecyclerView.Adapter newAdapter) { in onAdapterChanged()
314 public void assertPrevNextAdapters(String message, RecyclerView.Adapter prevAdapter, in assertPrevNextAdapters()
315 RecyclerView.Adapter nextAdapter) { in assertPrevNextAdapters()
320 public void assertPrevNextAdapters(RecyclerView.Adapter prevAdapter, in assertPrevNextAdapters()
321 RecyclerView.Adapter nextAdapter) { in assertPrevNextAdapters()
385 static class MockAdapter extends RecyclerView.Adapter {
DDefaultItemAnimatorTest.java43 Adapter mAdapter;
62 mAdapter = new Adapter(20); in setUp()
386 private class Adapter extends RecyclerView.Adapter<ViewHolder> { class in DefaultItemAnimatorTest
390 private Adapter(int count) { in Adapter() method in DefaultItemAnimatorTest.Adapter
DBaseRecyclerViewInstrumentationTest.java99 void setAdapter(final RecyclerView.Adapter adapter) throws Throwable { in setAdapter()
114 void swapAdapter(final RecyclerView.Adapter adapter, in swapAdapter()
191 final RecyclerView.Adapter adapter = mRecyclerView.getAdapter(); in removeRecyclerView()
567 public class TestAdapter extends RecyclerView.Adapter<TestViewHolder>
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
DAppListFragment.java44 private Adapter mAdapter;
53 mAdapter = new Adapter(); in onActivityCreated()
86 private class Adapter extends BaseAdapter { class in AppListFragment
89 Adapter() { in Adapter() method in AppListFragment.Adapter
DBrowserListFragment.java52 private Adapter mAdapter;
73 mAdapter = new Adapter(); in onActivityCreated()
162 private class Adapter extends BaseAdapter { class in BrowserListFragment
165 Adapter() { in Adapter() method in BrowserListFragment.Adapter
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/
DSortedListAdapterCallback.java28 final RecyclerView.Adapter mAdapter;
36 public SortedListAdapterCallback(RecyclerView.Adapter adapter) { in SortedListAdapterCallback()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java43 private Adapter mAdapter;
55 mAdapter = new Adapter(); in onCreate()
92 private class Adapter extends BaseAdapter { class in UsageStatsActivity
DUsageLogActivity.java35 private Adapter mAdapter;
45 mAdapter = new Adapter(); in onCreate()
72 private class Adapter extends BaseAdapter { class in UsageLogActivity
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd26 an Adapter</a>.</p>
120 // create a new ImageView for each item referenced by the Adapter
155 android.widget.Adapter#getCount()} are self-explanatory. Normally, {@link
156 android.widget.Adapter#getItem(int)} should return the actual object at the specified position in
158 android.widget.Adapter#getItemId(int)} should return the row id of the item, but it's not
161 <p>The first method necessary is {@link android.widget.Adapter#getView(int,View,ViewGroup)
180 android.widget.Adapter#getView(int,View,ViewGroup) getView()} is <em>not</em> null, then the local
184 <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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java51 private final Adapter mAdapter;
72 mAdapter = new Adapter(context, userSwitcherController, this); in KeyguardUserSwitcher()
231 public static class Adapter extends UserSwitcherController.BaseUserAdapter implements class in KeyguardUserSwitcher
237 public Adapter(Context context, UserSwitcherController controller, in Adapter() method in KeyguardUserSwitcher.Adapter
/frameworks/support/v17/preference-leanback/api/
D23.txt11 method public android.support.v7.widget.RecyclerView.Adapter onCreateAdapter();
14 …alogFragment.AdapterMulti extends android.support.v7.widget.RecyclerView.Adapter implements androi…
22 …logFragment.AdapterSingle extends android.support.v7.widget.RecyclerView.Adapter implements androi…
Dcurrent.txt11 method public android.support.v7.widget.RecyclerView.Adapter onCreateAdapter();
14 …alogFragment.AdapterMulti extends android.support.v7.widget.RecyclerView.Adapter implements androi…
22 …logFragment.AdapterSingle extends android.support.v7.widget.RecyclerView.Adapter implements androi…
/frameworks/base/docs/html/training/wearables/ui/
Dlists.jd12 <li><a href="#adapter">Create an Adapter to Populate the List</a></li>
13 <li><a href="#adapter-listener">Associate the Adapter and Set a Click Listener</a></li>
198 <h2 id="adapter">Create an Adapter to Populate the List</h2>
206 private static final class Adapter extends WearableListView.Adapter {
212 public Adapter(Context context, String[] dataset) {
262 <h2 id="adapter-listener">Associate the Adapter and Set a Click Listener</h2>
286 listView.setAdapter(new Adapter(this, elements));
/frameworks/base/core/java/android/widget/
DListAdapter.java26 public interface ListAdapter extends Adapter {
DSpinnerAdapter.java29 public interface SpinnerAdapter extends Adapter {
DAdapter.java33 public interface Adapter { interface
DAdapterViewAnimator.java46 public abstract class AdapterViewAnimator extends AdapterView<Adapter>
113 Adapter mAdapter;
949 public Adapter getAdapter() { in getAdapter()
954 public void setAdapter(Adapter adapter) { in setAdapter()
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackListPreferenceDialogFragment.java103 public RecyclerView.Adapter onCreateAdapter() { in onCreateAdapter()
122 public class AdapterSingle extends RecyclerView.Adapter<ViewHolder>
166 public class AdapterMulti extends RecyclerView.Adapter<ViewHolder>
/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 …]
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
DDataBoundAdapter.java11 extends RecyclerView.Adapter<DataBoundAdapter.DataBoundViewHolder<T>> {
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/
Dlayouts.jd176 …allery} で複数の画像を表示する場合、 {@link android.widget.Adapter#getView getView()} がビューの {@link android.widge…

1234