Home
last modified time | relevance | path

Searched refs:firstVisiblePosition (Results 1 – 5 of 5) sorted by relevance

/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java180 int firstVisiblePosition = listview.getFirstVisiblePosition(); in animateRemoval() local
184 int position = firstVisiblePosition + i; in animateRemoval()
198 int firstVisiblePosition = listview.getFirstVisiblePosition(); in animateRemoval()
201 int position = firstVisiblePosition + i; in animateRemoval()
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
DInsertionListView.java110 int firstVisiblePosition = getFirstVisiblePosition(); in addRow() local
113 int position = firstVisiblePosition + i; in addRow()
138 int firstVisiblePosition = getFirstVisiblePosition(); in addRow()
193 int position = firstVisiblePosition + i; in addRow()
305 int firstVisiblePosition = getFirstVisiblePosition(); in shouldAnimateInNewRow() local
306 return (firstVisiblePosition == 0); in shouldAnimateInNewRow()
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
DExpandingListView.java227 int firstVisiblePosition = getFirstVisiblePosition();
236 firstVisiblePosition++;
247 setSelectionFromTop(firstVisiblePosition, firstChildStartTop - deltaTop);
419 int firstVisiblePosition = getFirstVisiblePosition();
428 firstVisiblePosition++;
439 setSelectionFromTop(firstVisiblePosition, firstChildStartTop - deltaTop);
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DListViewItemAnimations.java266 int firstVisiblePosition = listview.getFirstVisiblePosition(); in animateOtherViews() local
269 int position = firstVisiblePosition + i; in animateOtherViews()
286 int firstVisiblePosition = listview.getFirstVisiblePosition(); in animateOtherViews()
289 int position = firstVisiblePosition + i; in animateOtherViews()
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DDynamicListView.java210 int firstVisiblePosition = getFirstVisiblePosition(); in getViewForID() local
214 int position = firstVisiblePosition + i; in getViewForID()