Lines Matching refs:from
1422 BListView::MoveItem(int32 from, int32 to)
1426 data.move.from = from;
1569 return _MoveItem(data->move.from, data->move.to);
1752 Selects the items between \a from and \a to, and returns \c true in
1757 BListView::_Select(int32 from, int32 to, bool extend)
1759 if (to < from)
1769 changed = _DeselectAll(from, to);
1772 fFirstSelected = from;
1775 if (from < fFirstSelected)
1776 fFirstSelected = from;
1781 for (int32 i = from; i <= to; ++i) {
1984 BListView::_MoveItem(int32 from, int32 to)
1987 BRect frameFrom = ItemFrame(from);
1990 if (!fList.MoveItem(from, to))
1994 if (fAnchorIndex == from)
1999 _RescanSelection(from, to);
2005 _RecalcItemTops((to > from) ? from : to);
2063 BListView::_RescanSelection(int32 from, int32 to)
2065 if (from > to) {
2066 int32 tmp = from;
2067 from = to;
2071 from = std::max((int32)0, from);
2075 if (fAnchorIndex == from)
2078 fAnchorIndex = from;
2081 for (int32 i = from; i <= to; i++) {
2088 if (fFirstSelected > from)
2089 from = fFirstSelected;
2092 for (int32 i = from; i <= to; i++) {
2138 // except from the first selected index to item index