HomeSort by relevance Sort by last modified time
    Searched refs:Adapter (Results 1 - 25 of 40) 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 45 public abstract class AdapterViewAnimator extends AdapterView<Adapter>
89 * The index, relative to the adapter, of the beginning of the window of views
94 * The index, relative to the adapter, of the end of the window of views
105 * Listens for data changes from the adapter
110 * The {@link Adapter} for this {@link AdapterViewAnimator}
112 Adapter mAdapter;
120 * The remote adapter containing the data to be displayed by this view to be set
412 // get the fresh child from the adapter
534 // Get the new view from the adapter, add it and apply any transform / animation
540 // 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);
  /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...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
KeyboardActionListener.java 80 public static class Adapter implements KeyboardActionListener {
MiniKeyboardView.java 44 private static final TimerProxy EMPTY_TIMER_PROXY = new TimerProxy.Adapter();
47 new KeyboardActionListener.Adapter() {
  /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);
ListHashSet.h 528 typedef ListHashSetTranslatorAdapter<ValueType, inlineCapacity, T, HashTranslator> Adapter;
529 ImplTypeConstIterator it = m_impl.template find<T, Adapter>(value);
539 typedef ListHashSetTranslatorAdapter<ValueType, inlineCapacity, T, HashTranslator> Adapter;
540 ImplTypeConstIterator it = m_impl.template find<T, Adapter>(value);
550 typedef ListHashSetTranslatorAdapter<ValueType, inlineCapacity, T, HashTranslator> Adapter;
551 return m_impl.template contains<T, Adapter>(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...]
  /hardware/ti/omap4xxx/camera/
Android.mk 99 # USB Camera Adapter
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
MoreSuggestionsView.java 53 private static final TimerProxy EMPTY_TIMER_PROXY = new TimerProxy.Adapter();
56 new KeyboardActionListener.Adapter() {
  /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 30 import android.widget.Adapter;
97 * Returns an adapter that can be attached to a {@link PreferenceActivity}
101 * This {@link PreferenceScreen} will NOT appear in the returned adapter, instead
104 * This adapter's {@link Adapter#getItem(int)} should always return a
107 * @return An adapter that provides the {@link Preference} contained in this
119 * Creates the root adapter.
121 * @return An adapter that contains the preferences contained in this {@link PreferenceScreen}.
  /cts/tests/tests/widget/src/android/widget/cts/
ListViewTest.java 163 private void setAdapter(final ArrayAdapter<String> adapter) {
166 mListView.setAdapter(adapter);
992 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); local
993 listView.setAdapter(adapter);
997 adapter.notifyDataSetChanged();
1028 Adapter<String> adapter = new Adapter<String>(mActivity, 0, items); local
    [all...]
  /frameworks/base/core/java/android/appwidget/
AppWidgetHostView.java 40 import android.widget.Adapter;
339 Adapter adapter = adapterView.getAdapter(); local
340 if (adapter instanceof BaseAdapter) {
341 BaseAdapter baseAdapter = (BaseAdapter) adapter;
343 } else if (adapter == null && adapterView instanceof RemoteAdapterConnectionCallback) {
344 // If the adapter is null, it may mean that the RemoteViewsAapter has not yet
345 // connected to its associated service, and hence the adapter hasn't been set.

Completed in 1560 milliseconds

1 2