HomeSort by relevance Sort by last modified time
    Searched full:adapterview (Results 1 - 25 of 257) sorted by null

1 2 3 4 5 6 7 8 91011

  /cts/tests/tests/widget/src/android/widget/cts/
AdapterView_AdapterContextMenuInfoTest.java 25 import android.widget.AdapterView;
26 import android.widget.AdapterView.AdapterContextMenuInfo;
32 method = "AdapterView.AdapterContextMenuInfo",
36 AdapterView.AdapterContextMenuInfo menuInfo;
40 menuInfo = new AdapterView.AdapterContextMenuInfo(testView, position, id);
AdapterViewTest.java 32 import android.widget.AdapterView;
37 import android.widget.AdapterView.OnItemClickListener;
38 import android.widget.AdapterView.OnItemLongClickListener;
39 import android.widget.AdapterView.OnItemSelectedListener;
49 @TestTargetClass(AdapterView.class)
60 private AdapterView<ListAdapter> mAdapterView;
76 method = "AdapterView",
81 method = "AdapterView",
86 method = "AdapterView",
160 fail("addView(View) is not supported in AdapterView.")
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListWithFirstScreenUnSelectableTest.java 23 import android.widget.AdapterView;
45 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition());
50 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition());
55 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition());
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Spinner1.java 26 import android.widget.AdapterView;
30 import android.widget.AdapterView.OnItemSelectedListener;
52 AdapterView<?> parent, View view, int position, long id) {
56 public void onNothingSelected(AdapterView<?> parent) {
69 AdapterView<?> parent, View view, int position, long id) {
73 public void onNothingSelected(AdapterView<?> parent) {
Animation2.java 27 import android.widget.AdapterView;
34 AdapterView.OnItemSelectedListener {
52 public void onItemSelected(AdapterView<?> parent, View v, int position, long id) {
82 public void onNothingSelected(AdapterView<?> parent) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SoftInputModes.java 11 import android.widget.AdapterView;
16 import android.widget.AdapterView.OnItemSelectedListener;
58 AdapterView<?> parent, View view, int position, long id) {
62 public void onNothingSelected(AdapterView<?> parent) {
ScreenOrientation.java 26 import android.widget.AdapterView;
29 import android.widget.AdapterView.OnItemSelectedListener;
64 AdapterView<?> parent, View view, int position, long id) {
68 public void onNothingSelected(AdapterView<?> parent) {
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
UrlIntentListener.java 23 import android.widget.AdapterView;
24 import android.widget.AdapterView.OnItemClickListener;
32 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
  /packages/apps/Browser/src/com/android/browser/addbookmark/
FolderSpinner.java 22 import android.widget.AdapterView;
30 implements AdapterView.OnItemSelectedListener {
48 public void setOnItemSelectedListener(AdapterView.OnItemSelectedListener l) {
82 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
90 public void onNothingSelected(AdapterView<?> parent) {}
  /development/samples/Home/src/com/example/android/home/
Wallpaper.java 27 import android.widget.AdapterView;
41 AdapterView.OnItemSelectedListener, AdapterView.OnItemClickListener {
79 public void onItemSelected(AdapterView parent, View v, int position, long id) {
83 public void onItemClick(AdapterView parent, View v, int position, long id) {
107 public void onNothingSelected(AdapterView parent) {
  /cts/tests/src/android/theme/cts/
OrientationSelectorActivity.java 25 import android.widget.AdapterView;
26 import android.widget.AdapterView.OnItemClickListener;
55 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
ThemeSelectorActivity.java 26 import android.widget.AdapterView;
28 import android.widget.AdapterView.OnItemClickListener;
57 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
TestListActivity.java 26 import android.widget.AdapterView;
27 import android.widget.AdapterView.OnItemClickListener;
72 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListManagedCursor.java 26 import android.widget.AdapterView;
29 import android.widget.AdapterView.OnItemClickListener;
55 public void onItemClick(AdapterView parent, View view, int position, long id) {
ListScrollListener.java 24 import android.widget.AdapterView;
57 public void onItemSelected(AdapterView parent, View v, int position, long id) {
61 public void onNothingSelected(AdapterView parent) {
ListThrasher.java 28 import android.widget.AdapterView;
37 public class ListThrasher extends ListActivity implements AdapterView.OnItemSelectedListener {
124 public void onItemSelected(AdapterView parent, View v, int position, long id) {
128 public void onNothingSelected(AdapterView parent) {
  /build/tools/droiddoc/test/generics/src/com/android/generics/
AbsListView.java 19 public class AbsListView implements AdapterView<ListAdapter> {
AdapterView.java 19 public interface AdapterView<T extends Adapter> {
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperActivity.java 32 import android.widget.AdapterView;
64 AdapterView.OnItemClickListener{
134 AdapterView<BaseAdapter> adapterView =
135 (AdapterView<BaseAdapter>) layout.findViewById(android.R.id.list);
136 adapterView.setAdapter(mAdapter);
137 adapterView.setOnItemClickListener(this);
138 adapterView.setEmptyView(layout.findViewById(android.R.id.empty));
142 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
  /frameworks/base/core/java/android/widget/
AdapterView.java 36 * An AdapterView is a view whose children are determined by an {@link Adapter}.
40 * {@link Gallery} for commonly used subclasses of AdapterView.
44 * <p>For more information about using AdapterView, read the
45 * <a href="{@docRoot}guide/topics/ui/binding.html">Binding to Data with AdapterView</a>
48 public abstract class AdapterView<T extends Adapter> extends ViewGroup {
69 * The offset in pixels from the top of the AdapterView to the top
225 public AdapterView(Context context) {
229 public AdapterView(Context context, AttributeSet attrs) {
233 public AdapterView(Context context, AttributeSet attrs, int defStyle) {
239 * AdapterView has been clicked
    [all...]
  /frameworks/base/docs/html/resources/tutorials/views/
hello-spinner.jd 96 android.widget.AdapterView#setAdapter(T)}.</p>
100 android.widget.AdapterView.OnItemSelectedListener}. This will provide a callback method that will
106 public void onItemSelected(AdapterView&lt;?> parent,
112 public void onNothingSelected(AdapterView<?> parent) {
117 <p>The {@link android.widget.AdapterView.OnItemSelectedListener} requires the {@link
118 android.widget.AdapterView.OnItemSelectedListener#onItemSelected(AdapterView,View,int,long)
120 android.widget.AdapterView.OnItemSelectedListener#onNothingSelected(AdapterView)
122 android.widget.AdapterView} is selected, in which case, a short {@link android.widget.Toast
    [all...]
  /frameworks/base/docs/html/guide/topics/ui/
binding.jd 1 page.title=Binding to Data with AdapterView
23 <p>The {@link android.widget.AdapterView} is a ViewGroup subclass whose child Views are determined by an {@link android.widget.Adapter Adapter} that
24 binds to data of some type. AdapterView is useful whenever you need to display stored data (as opposed to resource strings or drawables) in your layout.</p>
26 <p>{@link android.widget.Gallery Gallery}, {@link android.widget.ListView ListView}, and {@link android.widget.Spinner Spinner} are examples of AdapterView subclasses that you can use to bind to a specific type of data and display it in a certain way. </p>
29 <p>AdapterView objects have two main responsibilities: </p>
39 <p>Inserting data into the layout is typically done by binding the AdapterView class to an {@link
90 android.widget.AdapterView.OnItemClickListener} member to a listener and
95 public void onItemClick(AdapterView parent, View v, int position, long id)
  /packages/apps/Contacts/src/com/android/contacts/detail/
ActionsViewContainer.java 22 import android.widget.AdapterView;
47 mContextMenuInfo = new AdapterView.AdapterContextMenuInfo(this, position, -1);
  /frameworks/base/core/tests/coretests/src/android/widget/
AutoCompleteTextViewSimple.java 25 import android.widget.AdapterView.OnItemClickListener;
26 import android.widget.AdapterView.OnItemSelectedListener;
99 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
108 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
117 public void onNothingSelected(AdapterView<?> parent) {
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListContextMenuAdapter.java 29 import android.widget.AdapterView;
55 AdapterView.AdapterContextMenuInfo info;
57 info = (AdapterView.AdapterContextMenuInfo) menuInfo;
97 AdapterView.AdapterContextMenuInfo info;
99 info = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo();

Completed in 1069 milliseconds

1 2 3 4 5 6 7 8 91011