/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 37 import android.widget.ListView; 40 * This example shows how to use a swipe effect to remove items from a ListView, 53 ListView mListView; 71 mListView = (ListView) findViewById(R.id.listview); 179 * Animates a swipe of the item either back into place or out of the listview container. 259 * This method animates all other views in the ListView container (not including ignoreView) 265 private void animateOtherViews(final ListView listview, View viewToRemove) { 266 int firstVisiblePosition = listview.getFirstVisiblePosition() [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 36 import android.widget.ListView; 196 ListView listView = mPopup.getListView(); 197 if (listView != null && !listView.isItemChecked(position)) { 199 listView.setItemChecked(position, true); 200 onItemClick(listView, null, position, listView.getItemIdAtPosition(position)); 337 ListView listView = mPopup.getListView() [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
SearchFragment.java | 36 import android.widget.ListView; 72 * dialpad hides that portion of the ListView anyway), but improves usability in accessibility 125 final ListView listView = getListView(); 134 listView.setBackgroundColor(res.getColor(R.color.background_dialer_results)); 135 listView.setClipToPadding(false); 139 listView.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_NONE); 140 ContentChangedFilter.addToParent(listView); 142 listView.setOnScrollListener(new OnScrollListener() { 156 listView.setOnTouchListener(mActivityOnTouchListener) [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/ |
display_item_debugger_test.html | 72 var listView = dbg.displayItemListView_; 73 listView.selectedElement = listView.getElementByIndex(3); 79 listView.selectedElement = listView.getElementByIndex(2); 83 listView.selectedElement = undefined;
|
/frameworks/base/core/java/android/app/ |
ListFragment.java | 27 import android.widget.ListView; 34 * ListFragment hosts a {@link android.widget.ListView ListView} object that can 45 * To do this, your view hierarchy <em>must</em> contain a ListView object with the 66 * <ListView android:id="@id/android:list" 87 * (the ListAdapter binds the ListView to the data; more on this later). 130 * You bind the ListFragment's ListView object to data using a class that 141 * {@link ListView#setAdapter(ListAdapter) ListView.setAdapter()} or else 146 * @see android.widget.ListView [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
ConversationListFragmentTest.java | 25 import android.widget.ListView; 99 final RecyclerView listView = 101 //assertEquals(cursor.getCount(), listView.getCount()); 102 assertEquals(cursor.getCount(), listView.getChildCount()); 110 final RecyclerView listView = 115 assertEquals(0, listView.getChildCount());
|
/packages/apps/TV/src/com/android/tv/dialog/ |
RecentlyWatchedDialogFragment.java | 29 import android.widget.ListView; 100 ListView listView = new ListView(getActivity()); 101 listView.setAdapter(mAdapter); 104 return builder.setTitle(R.string.recently_watched).setView(listView).create();
|
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/swiperefreshlayoutbasic/ |
SwipeRefreshLayoutBasicFragment.java | 33 import android.widget.ListView; 40 * scrollable {@link android.widget.ListView} as its only child. 45 * <p>In this sample app, the refresh updates the ListView with a random set of new items. 60 * The {@link android.widget.ListView} that displays the content that should be refreshed. 62 private ListView mListView; 65 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.ListView} 84 // Retrieve the SwipeRefreshLayout and ListView instances 94 // Retrieve the ListView 95 mListView = (ListView) view.findViewById(android.R.id.list); 107 * Create an ArrayAdapter to contain the data for the ListView. Each item in the ListVie [all...] |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/swiperefreshlayoutbasic/ |
SwipeRefreshLayoutBasicFragment.java | 33 import android.widget.ListView; 40 * scrollable {@link android.widget.ListView} as its only child. 45 * <p>In this sample app, the refresh updates the ListView with a random set of new items. 60 * The {@link android.widget.ListView} that displays the content that should be refreshed. 62 private ListView mListView; 65 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.ListView} 84 // Retrieve the SwipeRefreshLayout and ListView instances 94 // Retrieve the ListView 95 mListView = (ListView) view.findViewById(android.R.id.list); 107 * Create an ArrayAdapter to contain the data for the ListView. Each item in the ListVie [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
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) {
|
SearchViewFilterMode.java | 26 import android.widget.ListView; 38 private ListView mListView; 51 mListView = (ListView) findViewById(R.id.list_view);
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/ |
SwipeRefreshLayoutBasicFragment.java | 33 import android.widget.ListView; 40 * scrollable {@link android.widget.ListView} as its only child. 45 * <p>In this sample app, the refresh updates the ListView with a random set of new items. 60 * The {@link android.widget.ListView} that displays the content that should be refreshed. 62 private ListView mListView; 65 * The {@link android.widget.ListAdapter} used to populate the {@link android.widget.ListView} 84 // Retrieve the SwipeRefreshLayout and ListView instances 94 // Retrieve the ListView 95 mListView = (ListView) view.findViewById(android.R.id.list); 107 * Create an ArrayAdapter to contain the data for the ListView. Each item in the ListVie [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RootsList.java | 21 import android.widget.ListView; 25 * handler on ListView. Ignoring keystrokes (e.g. the tab key) cannot be properly done using 28 public class RootsList extends ListView {
|
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/ |
UiBenchJankTests.java | 32 import android.widget.ListView; 129 // Open Trivial listview from General 131 openGeneralComponents("Trivial ListView"); 140 By.clazz(ListView.class)), mHelper.TIMEOUT); 141 Assert.assertNotNull("Trivial ListView isn't found in General", trivialListViewContents); 149 By.clazz(ListView.class)), mHelper.TIMEOUT); 154 By.clazz(ListView.class)), mHelper.TIMEOUT); 162 openGeneralComponents("Trivial Recycler ListView"); 172 Assert.assertNotNull("Trivial Recycler ListView isn't found in General", 193 // Open Inflation Listview content [all...] |
/developers/build/prebuilts/gradle/BorderlessButtons/.google/ |
packaging.yaml | 17 - android:android.widget.ListView
|
/developers/build/prebuilts/gradle/CustomChoiceList/.google/ |
packaging.yaml | 17 - android:android.widget.ListView
|
/developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
SpeedPickerActivity.java | 47 WearableListView listView = (WearableListView) findViewById(R.id.wearable_list); 50 listView.setAdapter(new SpeedPickerListAdapter(this, speeds)); 53 listView.setClickListener(this); 55 listView.addOnScrollListener(new WearableListView.OnScrollListener() {
|
/developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ |
SpeedPickerActivity.java | 47 WearableListView listView = (WearableListView) findViewById(R.id.wearable_list); 50 listView.setAdapter(new SpeedPickerListAdapter(this, speeds)); 53 listView.setClickListener(this); 55 listView.addOnScrollListener(new WearableListView.OnScrollListener() {
|
/development/samples/browseable/DisplayingBitmaps/ |
_index.jd | 14 in UI elements such as ViewPager and ListView/GridView.
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
SpeedPickerActivity.java | 47 WearableListView listView = (WearableListView) findViewById(R.id.wearable_list); 50 listView.setAdapter(new SpeedPickerListAdapter(this, speeds)); 53 listView.setClickListener(this); 55 listView.addOnScrollListener(new WearableListView.OnScrollListener() {
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/res/layout/ |
notepad_list.xml | 6 <ListView android:id="@id/android:list"
|
/development/tutorials/NotepadCodeLab/Notepadv2/res/layout/ |
notes_list.xml | 6 <ListView android:id="@+id/android:list"
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/res/layout/ |
notes_list.xml | 6 <ListView android:id="@+id/android:list"
|
/development/tutorials/NotepadCodeLab/Notepadv3/res/layout/ |
notes_list.xml | 6 <ListView android:id="@+id/android:list"
|
/development/tutorials/NotepadCodeLab/Notepadv3Solution/res/layout/ |
notes_list.xml | 6 <ListView android:id="@+id/android:list"
|