/cts/tests/tests/widget/src/android/widget/cts/ |
HeaderViewListAdapterTest.java | 29 import android.widget.ListView; 44 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(); 45 ArrayList<ListView.FixedViewInfo> footer = new ArrayList<ListView.FixedViewInfo>(5); 55 ListView lv = new ListView(getContext()); 56 ArrayList<ListView.FixedViewInfo> header = new ArrayList<ListView.FixedViewInfo>(4); 66 ListView lv = new ListView(getContext()) [all...] |
ExpandableListView_ExpandableListContextMenuInfoTest.java | 23 import android.widget.ListView; 31 ListView listview = new ListView(getContext()); local 33 new ExpandableListView.ExpandableListContextMenuInfo(listview, 100L, 80L); 35 assertSame(listview, expandableListContextMenuInfo.targetView);
|
ViewSwitcherTest.java | 27 import android.widget.ListView; 67 ListView lv1 = new ListView(getContext()); 68 ListView lv2 = new ListView(getContext()); 82 ListView lv1 = new ListView(getContext()); 83 ListView lv2 = new ListView(getContext()); 96 ListView lv3 = new ListView(getContext()) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowListActivity.java | 8 import android.widget.ListView; 22 private ListView listView; 26 public ListView getListView() { 27 if (listView == null) { 28 if ((listView = findListView(getContentView())) == null) { 29 throw new RuntimeException("No ListView found under content view"); 32 return listView; 35 public void setListView(ListView view) { 36 listView = view [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
PermissionStubActivity.java | 24 import android.widget.ListView; 30 private ListView mListView; 36 mListView = new ListView(this);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LinearLayout9.java | 23 import android.widget.ListView; 36 ListView list = (ListView) findViewById(R.id.list);
|
List10.java | 22 import android.widget.ListView; 38 final ListView listView = getListView(); 40 listView.setItemsCanFocus(false); 41 listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
|
List11.java | 22 import android.widget.ListView; 38 final ListView listView = getListView(); 40 listView.setItemsCanFocus(false); 41 listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
|
Focus1.java | 24 import android.widget.ListView; 42 ListView listView = (ListView) findViewById(R.id.rssListView); 43 listView.setAdapter(new ArrayAdapter<String>(this,
|
List17.java | 23 import android.widget.ListView; 43 getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); 51 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/cts/tests/src/android/widget/cts/ |
AdapterViewStubActivity.java | 26 import android.widget.ListView; 34 private ListView mView; 42 mView = new ListView(this); 48 public ListView getListView() {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListDividers.java | 17 package android.widget.listview; 22 import android.widget.ListView; 30 private ListView mListView; 43 mListView = (ListView) findViewById(android.R.id.list); 49 public ListView getListView() {
|
ListInHorizontal.java | 17 package android.widget.listview; 25 import android.widget.ListView; 33 private ListView mListView; 46 mListView = (ListView) findViewById(R.id.list); 52 public ListView getListView() {
|
ListInVertical.java | 17 package android.widget.listview; 25 import android.widget.ListView; 33 private ListView mListView; 46 mListView = (ListView) findViewById(R.id.list); 52 public ListView getListView() {
|
ListSetSelectionTest.java | 17 package android.widget.listview; 22 import android.widget.ListView; 29 private ListView mListView; 70 mListView.setSelection(ListView.INVALID_POSITION);
|
ListUnspecifiedMeasure.java | 17 package android.widget.listview; 24 import android.widget.ListView; 28 private ListView mListView; 39 mListView = (ListView) mActivity.findViewById(R.id.list);
|
ListBottomGravityManyTest.java | 17 package android.widget.listview; 21 import android.widget.ListView; 23 import android.widget.listview.ListBottomGravityMany; 27 private ListView mListView;
|
ListBottomGravityTest.java | 17 package android.widget.listview; 21 import android.widget.ListView; 23 import android.widget.listview.ListBottomGravity; 27 private ListView mListView;
|
AdjacentListsWithAdjacentISVsInside.java | 17 package android.widget.listview; 27 import android.widget.ListView; 34 private ListView mLeftListView; 35 private ListView mRightListView; 37 public ListView getLeftListView() { 41 public ListView getRightListView() { 71 mLeftListView = new ListView(this); 76 mRightListView = new ListView(this);
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestListFragment.java | 23 import android.widget.ListView; 30 private int mActivatedPosition = ListView.INVALID_POSITION; 78 public void onListItemClick(ListView listView, View view, int position, long id) { 79 super.onListItemClick(listView, view, position, id); 86 if (mActivatedPosition != ListView.INVALID_POSITION) { 93 activateOnItemClick ? ListView.CHOICE_MODE_SINGLE : ListView.CHOICE_MODE_NONE); 97 if (position == ListView.INVALID_POSITION) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ListActivityTest.java | 6 import android.widget.ListView; 35 protected void onListItemClick(ListView l, View v, int position, long id) { 39 listActivity.setContentView(new ListView(null)); 49 final ListView listView = new ListView(null); 50 listActivity.setContentView(listView); 52 assertThat(listView.getAdapter(), sameInstance(adapter));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactNameHighlightingAnimation.java | 19 import android.widget.ListView; 29 private final ListView mListView; 32 public ContactNameHighlightingAnimation(ListView listView, int duration) { 34 this.mListView = listView;
|
/frameworks/base/core/java/android/app/ |
ListActivity.java | 24 import android.widget.ListView; 30 * ListActivity hosts a {@link android.widget.ListView ListView} object that can 41 * onCreate(). To do this, your own view MUST contain a ListView object with the 62 * <ListView android:id="@android:id/list" 83 * (the ListAdapter binds the ListView to the data; more on this later). 126 * You bind the ListActivity's ListView object to data using a class that 136 * to a two line row layout in the activity's ListView. 173 * @see android.widget.ListView 185 protected ListView mList [all...] |
/packages/apps/Dialer/src/com/android/dialer/ |
BackScrollManager.java | 21 import android.widget.ListView; 39 private final ListView mListView; 73 public static void bind(ScrollableHeader header, ListView listView) { 74 BackScrollManager backScrollManager = new BackScrollManager(header, listView); 78 private BackScrollManager(ScrollableHeader header, ListView listView) { 80 mListView = listView;
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ListFlipper.java | 28 import android.widget.ListView; 64 ListView mEnglishList; 65 ListView mFrenchList; 73 mEnglishList = (ListView) findViewById(R.id.list_en); 74 mFrenchList = (ListView) findViewById(R.id.list_fr); 76 // Prepare the ListView 79 // Prepare the ListView 98 final ListView visibleList; 99 final ListView invisibleList;
|