/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | AdapterViewBindingAdapter.java | 26 import android.widget.AdapterView; 27 import android.widget.AdapterView.OnItemSelectedListener; 30 …@BindingMethod(type = AdapterView.class, attribute = "android:onItemClick", method = "setOnItemCli… 31 …@BindingMethod(type = AdapterView.class, attribute = "android:onItemLongClick", method = "setOnIte… 39 public static void setSelectedItemPosition(AdapterView view, int position) { in setSelectedItemPosition() 47 public static void setOnItemSelectedListener(AdapterView view, final OnItemSelected selected, in setOnItemSelectedListener() 70 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onItemSelected() 80 public void onNothingSelected(AdapterView<?> parent) { in onNothingSelected() 91 void onItemSelected(AdapterView<?> parent, View view, int position, long id); in onItemSelected() 95 void onNothingSelected(AdapterView<?> parent); in onNothingSelected()
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | ScriptGroupTestActivity.java | 27 import android.widget.AdapterView; 154 private AdapterView.OnItemSelectedListener mModeSpinnerListener = 155 new AdapterView.OnItemSelectedListener() { 156 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 163 public void onNothingSelected(AdapterView parent) { 167 private AdapterView.OnItemSelectedListener mTestSpinner1Listener = 168 new AdapterView.OnItemSelectedListener() { 169 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 174 public void onNothingSelected(AdapterView parent) { 178 private AdapterView.OnItemSelectedListener mTestSpinner2Listener = [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | NavItemSelectedListener.java | 21 import android.widget.AdapterView; 27 class NavItemSelectedListener implements AdapterView.OnItemSelectedListener { 35 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onItemSelected() 42 public void onNothingSelected(AdapterView<?> parent) { in onNothingSelected()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NavItemSelectedListener.java | 22 import android.widget.AdapterView; 28 class NavItemSelectedListener implements AdapterView.OnItemSelectedListener { 36 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onItemSelected() 43 public void onNothingSelected(AdapterView<?> parent) { in onNothingSelected()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | 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) { in onItemClick() 108 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onItemSelected() 117 public void onNothingSelected(AdapterView<?> parent) { in onNothingSelected()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListWithFirstScreenUnSelectableTest.java | 23 import android.widget.AdapterView; 45 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testPreconditions() 50 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testRessurectSelection() 55 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testScrollUpDoesNothing()
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | spinner.jd | 17 <li>{@link android.widget.AdapterView.OnItemSelectedListener}</li> 99 <p>Call {@link android.widget.AdapterView#setAdapter setAdapter()} to apply the adapter to your 109 android.widget.AdapterView.OnItemSelectedListener} interface and the corresponding {@link 110 android.widget.AdapterView.OnItemSelectedListener#onItemSelected onItemSelected()} callback method. 117 public void onItemSelected(AdapterView<?> parent, View view, 123 public void onNothingSelected(AdapterView<?> parent) { 129 <p>The {@link android.widget.AdapterView.OnItemSelectedListener} requires the {@link 130 android.widget.AdapterView.OnItemSelectedListener#onItemSelected(AdapterView,View,int,long) 132 android.widget.AdapterView.OnItemSelectedListener#onNothingSelected(AdapterView) 136 android.widget.AdapterView#setOnItemSelectedListener setOnItemSelectedListener()}:</p> [all …]
|
/frameworks/base/core/java/android/widget/ |
D | AdapterView.java | 51 public abstract class AdapterView<T extends Adapter> extends ViewGroup { class 233 public AdapterView(Context context) { in AdapterView() method in AdapterView 237 public AdapterView(Context context, AttributeSet attrs) { in AdapterView() method in AdapterView 241 public AdapterView(Context context, AttributeSet attrs, int defStyleAttr) { in AdapterView() method in AdapterView 245 public AdapterView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in AdapterView() method in AdapterView 273 void onItemClick(AdapterView<?> parent, View view, int position, long id); in onItemClick() 341 boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id); in onItemLongClick() 385 void onItemSelected(AdapterView<?> parent, View view, int position, long id); in onItemSelected() 394 void onNothingSelected(AdapterView<?> parent); in onNothingSelected() 832 if (AdapterView.this.getAdapter().hasStableIds() && mInstanceState != null in onChanged() [all …]
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 38 import android.widget.AdapterView; 160 private AdapterView.OnItemSelectedListener mCameraSpinnerListener = 161 new AdapterView.OnItemSelectedListener() { 162 public void onItemSelected(AdapterView<?> parent, 169 public void onNothingSelected(AdapterView parent) { 175 private AdapterView.OnItemSelectedListener mResolutionSelectedListener = 176 new AdapterView.OnItemSelectedListener() { 177 public void onItemSelected(AdapterView<?> parent, 185 public void onNothingSelected(AdapterView parent) {
|
/frameworks/base/core/java/android/app/ |
D | ListActivity.java | 22 import android.widget.AdapterView; 316 … private AdapterView.OnItemClickListener mOnClickListener = new AdapterView.OnItemClickListener() { 317 public void onItemClick(AdapterView<?> parent, View v, int position, long id)
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | Blend.java | 26 import android.widget.AdapterView; 43 private AdapterView.OnItemSelectedListener mIntrinsicSpinnerListener = 44 new AdapterView.OnItemSelectedListener() { 45 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 53 public void onNothingSelected(AdapterView parent) {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | 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) { in onItemSelected() 128 public void onNothingSelected(AdapterView parent) { in onNothingSelected()
|
D | 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) { in onItemClick()
|
D | ListScrollListener.java | 24 import android.widget.AdapterView; 57 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onItemSelected() 61 public void onNothingSelected(AdapterView parent) { in onNothingSelected()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | Blend.java | 33 import android.widget.AdapterView; 50 private AdapterView.OnItemSelectedListener mIntrinsicSpinnerListener = 51 new AdapterView.OnItemSelectedListener() { 52 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 60 public void onNothingSelected(AdapterView parent) {
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | Blend.java | 33 import android.widget.AdapterView; 50 private AdapterView.OnItemSelectedListener mIntrinsicSpinnerListener = 51 new AdapterView.OnItemSelectedListener() { 52 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 60 public void onNothingSelected(AdapterView parent) {
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | DropDownPreference.java | 23 import android.widget.AdapterView; 24 import android.widget.AdapterView.OnItemSelectedListener; 130 public void onItemSelected(AdapterView<?> parent, View v, int position, long id) { 140 public void onNothingSelected(AdapterView<?> parent) {
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridThrasher.java | 28 import android.widget.AdapterView; 38 public class GridThrasher extends Activity implements AdapterView.OnItemSelectedListener 128 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onItemSelected() 132 public void onNothingSelected(AdapterView parent) { in onNothingSelected()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | ListPopupWindowTest.java | 32 import android.widget.AdapterView; 65 private AdapterView.OnItemClickListener mItemClickListener; 72 protected class PopupItemClickListener implements AdapterView.OnItemClickListener { 74 public void onItemClick(AdapterView<?> parent, View view, int position, in onItemClick() 256 any(AdapterView.class), any(View.class), any(int.class), any(int.class)); in testItemClickViaEvent() 266 any(AdapterView.class), any(View.class), eq(2), any(int.class)); in testItemClickViaEvent() 283 any(AdapterView.class), any(View.class), any(int.class), any(int.class)); in testItemClickViaAPI() 296 any(AdapterView.class), any(View.class), eq(1), any(int.class)); in testItemClickViaAPI() 386 any(AdapterView.class), any(View.class), eq(1), eq(1L)); in testCreateOnDragListener() 406 private AdapterView.OnItemClickListener mOnItemClickListener; [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ExpandedMenuView.java | 26 import android.widget.AdapterView; 27 import android.widget.AdapterView.OnItemClickListener; 70 public void onItemClick(AdapterView parent, View v, int position, long id) { in onItemClick()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListScenario.java | 25 import android.widget.AdapterView; 348 mListView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate() 349 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onCreate() 353 public void onNothingSelected(AdapterView parent) { in onCreate() 358 mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreate() 359 public void onItemClick(AdapterView parent, View v, int position, long id) { in onCreate() 422 mListView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() { in enableLongPress() 423 public boolean onItemLongClick(AdapterView parent, View v, int position, long id) { in enableLongPress()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | ExpandedMenuView.java | 24 import android.widget.AdapterView; 25 import android.widget.AdapterView.OnItemClickListener; 86 public void onItemClick(AdapterView parent, View v, int position, long id) { in onItemClick()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | NativeMedia.java | 28 import android.widget.AdapterView; 160 sourceSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate() 162 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { in onCreate() 167 public void onNothingSelected(AdapterView parent) { in onCreate() 180 sinkSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate() 182 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { in onCreate() 208 public void onNothingSelected(AdapterView parent) { in onCreate()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ListenerBindingObject.java | 34 import android.widget.AdapterView; 71 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { } in onItemClick() 73 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { in onItemLongClick() 77 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { } in onItemSelected() 79 public void onNothingSelected(AdapterView<?> parent) { } in onNothingSelected()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | ListViewAddRemoveNoTransition.java | 22 import android.widget.AdapterView; 52 listview.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreate() 55 public void onItemClick(AdapterView<?> parent, final View view, int position, long id) { in onCreate()
|