Home
last modified time | relevance | path

Searched refs:AdapterView (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAdapterViewBindingAdapter.java26 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/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DScriptGroupTestActivity.java27 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/
DNavItemSelectedListener.java21 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/
DNavItemSelectedListener.java22 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/
DAutoCompleteTextViewSimple.java25 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/
DListWithFirstScreenUnSelectableTest.java23 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/core/java/android/app/
DListActivity.java22 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/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DCameraPreviewActivity.java38 import android.widget.AdapterView;
161 private AdapterView.OnItemSelectedListener mCameraSpinnerListener =
162 new AdapterView.OnItemSelectedListener() {
163 public void onItemSelected(AdapterView<?> parent,
170 public void onNothingSelected(AdapterView parent) {
176 private AdapterView.OnItemSelectedListener mResolutionSelectedListener =
177 new AdapterView.OnItemSelectedListener() {
178 public void onItemSelected(AdapterView<?> parent,
186 public void onNothingSelected(AdapterView parent) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListThrasher.java28 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()
DListManagedCursor.java26 import android.widget.AdapterView;
29 import android.widget.AdapterView.OnItemClickListener;
55 public void onItemClick(AdapterView parent, View view, int position, long id) { in onItemClick()
DListScrollListener.java24 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/base/core/java/android/widget/
DAdapterView.java53 public abstract class AdapterView<T extends Adapter> extends ViewGroup { class
235 public AdapterView(Context context) { in AdapterView() method in AdapterView
239 public AdapterView(Context context, AttributeSet attrs) { in AdapterView() method in AdapterView
243 public AdapterView(Context context, AttributeSet attrs, int defStyleAttr) { in AdapterView() method in AdapterView
247 public AdapterView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in AdapterView() method in AdapterView
281 void onItemClick(AdapterView<?> parent, View view, int position, long id); in onItemClick()
349 boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id); in onItemLongClick()
393 void onItemSelected(AdapterView<?> parent, View view, int position, long id); in onItemSelected()
402 void onNothingSelected(AdapterView<?> parent); in onNothingSelected()
840 if (AdapterView.this.getAdapter().hasStableIds() && mInstanceState != null in onChanged()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DBlend.java26 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/gridview/
DGridThrasher.java28 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/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DBlend.java33 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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DBlend.java33 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/base/core/java/com/android/internal/view/menu/
DExpandedMenuView.java26 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/support/v7/preference/src/android/support/v7/preference/
DDropDownPreference.java26 import android.widget.AdapterView;
27 import android.widget.AdapterView.OnItemSelectedListener;
135 public void onItemSelected(AdapterView<?> parent, View v, int position, long id) {
145 public void onNothingSelected(AdapterView<?> parent) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DListPopupWindowTest.java55 import android.widget.AdapterView;
74 private AdapterView.OnItemClickListener mItemClickListener;
81 protected class PopupItemClickListener implements AdapterView.OnItemClickListener {
83 public void onItemClick(AdapterView<?> parent, View view, int position, in onItemClick()
265 any(AdapterView.class), any(View.class), any(int.class), any(int.class)); in testItemClickViaEvent()
275 any(AdapterView.class), any(View.class), eq(2), any(int.class)); in testItemClickViaEvent()
292 any(AdapterView.class), any(View.class), any(int.class), any(int.class)); in testItemClickViaAPI()
305 any(AdapterView.class), any(View.class), eq(1), any(int.class)); in testItemClickViaAPI()
395 any(AdapterView.class), any(View.class), eq(1), eq(1L)); in testCreateOnDragListener()
415 private AdapterView.OnItemClickListener mOnItemClickListener;
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DExpandedMenuView.java27 import android.widget.AdapterView;
28 import android.widget.AdapterView.OnItemClickListener;
90 public void onItemClick(AdapterView parent, View v, int position, long id) { in onItemClick()
/frameworks/base/core/tests/coretests/src/android/util/
DListScenario.java25 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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java34 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/wilhelm/tests/native-media/src/com/example/nativemedia/
DNativeMedia.java28 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/base/tests/TransitionTests/src/com/android/transitiontests/
DListViewAddRemoveNoTransition.java22 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesDialog.java34 import android.widget.AdapterView;
54 AdapterView.OnItemSelectedListener, DialogInterface.OnClickListener,
154 public void onItemSelected(AdapterView parent, View view, int position, long id) { in onItemSelected()
157 public void onNothingSelected(AdapterView parent) { in onNothingSelected()

123456