Home
last modified time | relevance | path

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

1234

/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/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.java23 import android.widget.AdapterView.OnItemClickListener;
24 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.java21 import android.widget.AdapterView;
48 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testPreconditions()
53 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testRessurectSelection()
58 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testScrollUpDoesNothing()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewVisibilityActivity.java28 import android.widget.AdapterView;
54 visibilitySpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate()
56 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onCreate()
71 public void onNothingSelected(AdapterView<?> parent) { in onCreate()
/frameworks/base/core/java/android/app/
DListActivity.java22 import android.widget.AdapterView;
320 … private AdapterView.OnItemClickListener mOnClickListener = new AdapterView.OnItemClickListener() {
321 public void onItemClick(AdapterView<?> parent, View v, int position, long id)
DListFragment.java25 import android.widget.AdapterView;
162 final private AdapterView.OnItemClickListener mOnClickListener
163 = new AdapterView.OnItemClickListener() {
164 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/java/android/widget/
DAdapterView.java55 public abstract class AdapterView<T extends Adapter> extends ViewGroup { class
247 public AdapterView(Context context) { in AdapterView() method in AdapterView
251 public AdapterView(Context context, AttributeSet attrs) { in AdapterView() method in AdapterView
255 public AdapterView(Context context, AttributeSet attrs, int defStyleAttr) { in AdapterView() method in AdapterView
259 public AdapterView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in AdapterView() method in AdapterView
293 void onItemClick(AdapterView<?> parent, View view, int position, long id); in onItemClick()
361 boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id); in onItemLongClick()
405 void onItemSelected(AdapterView<?> parent, View view, int position, long id); in onItemSelected()
414 void onNothingSelected(AdapterView<?> parent); in onNothingSelected()
852 if (AdapterView.this.getAdapter().hasStableIds() && mInstanceState != null in onChanged()
[all …]
DAutoCompleteTextView.java126 private AdapterView.OnItemClickListener mItemClickListener;
127 private AdapterView.OnItemSelectedListener mItemSelectedListener;
666 public void setOnItemClickListener(AdapterView.OnItemClickListener l) { in setOnItemClickListener()
676 public void setOnItemSelectedListener(AdapterView.OnItemSelectedListener l) { in setOnItemSelectedListener()
689 public AdapterView.OnItemClickListener getItemClickListener() { in getItemClickListener()
702 public AdapterView.OnItemSelectedListener getItemSelectedListener() { in getItemSelectedListener()
712 public AdapterView.OnItemClickListener getOnItemClickListener() { in getOnItemClickListener()
722 public AdapterView.OnItemSelectedListener getOnItemSelectedListener() { in getOnItemSelectedListener()
1411 private class DropDownItemClickListener implements AdapterView.OnItemClickListener {
1412 public void onItemClick(AdapterView parent, View v, int position, long id) { in onItemClick()
/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/listview/
DListThrasher.java26 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;
27 import android.widget.AdapterView.OnItemClickListener;
54 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/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) {
DIPControlsJB.java28 import android.widget.AdapterView;
122 private AdapterView.OnItemSelectedListener mResSpinnerListener =
123 new AdapterView.OnItemSelectedListener() {
124 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
128 public void onNothingSelected(AdapterView parent) {
162 public boolean onItemLongClick(AdapterView<?> arg0, View arg1, in init()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridThrasher.java26 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/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/base/core/tests/coretests/src/android/util/
DListScenario.java25 import android.widget.AdapterView;
349 mListView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onCreate()
350 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onCreate()
354 public void onNothingSelected(AdapterView parent) { in onCreate()
359 mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { in onCreate()
360 public void onItemClick(AdapterView parent, View v, int position, long id) { in onCreate()
425 mListView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() { in enableLongPress()
426 public boolean onItemLongClick(AdapterView parent, View v, int position, long id) { in enableLongPress()
/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;
52 AdapterView.OnItemSelectedListener, DialogInterface.OnClickListener,
152 public void onItemSelected(AdapterView parent, View view, int position, long id) { in onItemSelected()
155 public void onNothingSelected(AdapterView parent) { in onNothingSelected()
/frameworks/base/core/java/android/content/
DSyncActivityTooManyDeletes.java25 import android.widget.AdapterView;
39 implements AdapterView.OnItemClickListener {
109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in onItemClick()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DMainActivity.java11 import android.widget.AdapterView;
12 import android.widget.AdapterView.OnItemClickListener;
65 public void onItemClick(final AdapterView<?> adapterView, View clickedView, in onItemClick()

1234