HomeSort by relevance Sort by last modified time
    Searched refs:Adapter (Results 1 - 25 of 49) sorted by null

1 2

  /build/tools/droiddoc/test/generics/src/com/android/generics/
Adapter.java 19 public class Adapter {
ListAdapter.java 19 public class ListAdapter extends Adapter {
AdapterView.java 19 public interface AdapterView<T extends Adapter> {
  /frameworks/base/core/java/android/widget/
ListAdapter.java 20 * Extended {@link Adapter} that is the bridge between a {@link ListView}
26 public interface ListAdapter extends Adapter {
29 * Indicates whether all the items in this adapter are enabled. If the
SpinnerAdapter.java 23 * Extended {@link Adapter} that is the bridge between a
24 * {@link android.widget.Spinner} and its data. A spinner adapter allows to
28 public interface SpinnerAdapter extends Adapter {
Adapter.java 24 * An Adapter object acts as a bridge between an {@link AdapterView} and the
25 * underlying data for that view. The Adapter provides access to the data items.
26 * The Adapter is also responsible for making a {@link android.view.View} for
33 public interface Adapter {
35 * Register an observer that is called when changes happen to the data used by this adapter.
43 * adapter via {@link #registerDataSetObserver}.
50 * How many items are in the data set represented by this Adapter.
59 * @param position Position of the item whose data we want within the adapter's
68 * @param position The position of the item within the adapter's data set whose row id we want.
88 * @param position The position of the item within the adapter's data set of the item whose vie
    [all...]
AdapterViewAnimator.java 48 public abstract class AdapterViewAnimator extends AdapterView<Adapter>
92 * The index, relative to the adapter, of the beginning of the window of views
97 * The index, relative to the adapter, of the end of the window of views
108 * Listens for data changes from the adapter
113 * The {@link Adapter} for this {@link AdapterViewAnimator}
115 Adapter mAdapter;
123 * The remote adapter containing the data to be displayed by this view to be set
415 // get the fresh child from the adapter
541 // Get the new view from the adapter, add it and apply any transform / animation
547 // with the adapter, that is, that we don't modify this view directl
    [all...]
AdapterViewFlipper.java 124 public void setAdapter(Adapter adapter) {
125 super.setAdapter(adapter);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyboardActionListener.java 102 public static class Adapter implements KeyboardActionListener {
103 public static final Adapter EMPTY_LISTENER = new Adapter();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
PanelTrack.java 22 import android.widget.Adapter;
32 public Adapter getAdapter();
StatePanelTrack.java 32 import android.widget.Adapter;
128 public void setAdapter(StateAdapter adapter) {
129 mAdapter = adapter;
348 public Adapter getAdapter() {
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLSocketInputStream.java 62 protected Adapter dataPoint = new Adapter();
134 private class Adapter implements org.apache.harmony.xnet.provider.jsse.Appendable {
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionsListAdapter.java 32 private Adapter mAdapter;
36 mAdapter = new Adapter();
69 class Adapter extends BaseAdapter {
ClusteredSuggestionsAdapter.java 39 * Adapter for suggestions list where suggestions are clustered by corpus.
48 private final Adapter mAdapter;
54 mAdapter = new Adapter();
91 private class Adapter extends BaseExpandableListAdapter {
  /frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java 45 Adapter<String> adapter = new Adapter<String>(context, 0, items); local
46 listView.setAdapter(adapter);
50 adapter.notifyDataSetChanged();
75 Adapter<String> adapter = new Adapter<String>(context, 0, items); local
76 listView.setAdapter(adapter);
82 adapter.notifyDataSetChanged()
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAdapterView.java 6 import android.widget.Adapter;
26 private Adapter adapter; field in class:ShadowAdapterView
38 public void setAdapter(Adapter adapter) {
39 this.adapter = adapter;
41 if (null != adapter) {
42 adapter.registerDataSetObserver(new AdapterViewDataSetObserver());
52 updateEmptyStatus(adapter == null || adapter.isEmpty())
216 Adapter adapter = getAdapter(); local
222 Adapter adapter = getAdapter(); local
306 Adapter adapter = getAdapter(); local
    [all...]
  /packages/apps/Browser/src/com/android/browser/view/
BasePieView.java 23 import android.widget.Adapter;
32 protected Adapter mAdapter;
53 public void setAdapter(Adapter adapter) {
54 mAdapter = adapter;
55 if (adapter == null) {
82 public Adapter getAdapter() {
  /external/webkit/Source/JavaScriptCore/wtf/
HashSet.h 165 typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, HashTranslator> Adapter;
166 return m_impl.template find<T, Adapter>(value);
173 typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, HashTranslator> Adapter;
174 return m_impl.template contains<T, Adapter>(value);
188 typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, HashTranslator> Adapter;
189 return m_impl.template addPassingHashCode<T, T, Adapter>(value, value);
HashMap.h 215 typedef HashMapTranslatorAdapter<ValueType, ValueTraits, TYPE, HashTranslator> Adapter;
216 return m_impl.template find<TYPE, Adapter>(value);
224 typedef HashMapTranslatorAdapter<ValueType, ValueTraits, TYPE, HashTranslator> Adapter;
225 return m_impl.template find<TYPE, Adapter>(value);
233 typedef HashMapTranslatorAdapter<ValueType, ValueTraits, TYPE, HashTranslator> Adapter;
234 return m_impl.template contains<TYPE, Adapter>(value);
262 typedef HashMapTranslatorAdapter<ValueType, ValueTraits, TYPE, HashTranslator> Adapter;
263 return m_impl.template addPassingHashCode<TYPE, MappedType, Adapter>(key, value);
  /packages/apps/Calendar/src/com/android/calendar/
StickyHeaderListView.java 27 import android.widget.Adapter;
39 * 2. The ListView's adapter must be passed to this class using the 'setAdapter'
40 * method. The adapter must implement the HeaderIndexer interface. If no adapter
57 protected Adapter mAdapter = null;
79 * Interface that must be implemented by the ListView adapter to provide headers locations
85 * Calculates the position of the header of a specific item in the adapter's data set.
124 * Sets the adapter to be used by the class to get views of headers
126 * @param adapter - The adapter
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ListViewTest.java 127 private void setAdapter(final ArrayAdapter<String> adapter) {
130 mListView.setAdapter(adapter);
680 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); local
681 listView.setAdapter(adapter);
685 adapter.notifyDataSetChanged();
704 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items) local
    [all...]
  /hardware/ti/omap4xxx/camera/
Android.mk 99 # USB Camera Adapter
  /packages/apps/Browser/src/com/android/browser/util/
ThreadedCursorAdapter.java 28 import android.widget.Adapter;
55 Adapter owner;
  /frameworks/base/core/java/android/preference/
PreferenceGroupAdapter.java 27 import android.widget.Adapter;
32 * An adapter that returns the {@link Preference} contained in this group.
33 * In most cases, this adapter should be the base class for any custom
36 * This adapter obeys the
37 * {@link Preference}'s adapter rule (the
38 * {@link Adapter#getView(int, View, ViewGroup)} should be used instead of
40 * adapter via {@link Preference#getAdapter()}).
42 * This adapter also propagates data change/invalidated notifications upward.
44 * This adapter does not include this {@link PreferenceGroup} in the returned
45 * adapter, use {@link PreferenceCategoryAdapter} instead
    [all...]
PreferenceScreen.java 31 import android.widget.Adapter;
105 * Returns an adapter that can be attached to a {@link PreferenceActivity}
109 * This {@link PreferenceScreen} will NOT appear in the returned adapter, instead
112 * This adapter's {@link Adapter#getItem(int)} should always return a
115 * @return An adapter that provides the {@link Preference} contained in this
127 * Creates the root adapter.
129 * @return An adapter that contains the preferences contained in this {@link PreferenceScreen}.

Completed in 1459 milliseconds

1 2