Home | History | Annotate | Download | only in app_list

Lines Matching refs:from_index

46 void AppListItemList::MoveItem(size_t from_index, size_t to_index) {
47 DCHECK_LT(from_index, item_count());
49 if (from_index == to_index)
52 AppListItem* target_item = app_list_items_[from_index];
53 DVLOG(2) << "MoveItem: " << from_index << " -> " << to_index << " ["
57 app_list_items_.weak_erase(app_list_items_.begin() + from_index);
88 OnListItemMoved(from_index, to_index, target_item));
94 size_t from_index;
95 if (!FindItemIndex(item->id(), &from_index)) {
99 DCHECK(app_list_items_[from_index] == item);
102 if (from_index == last_index)
109 if (to_index == from_index) {
115 app_list_items_.weak_erase(app_list_items_.begin() + from_index);
118 << new_position.ToDebugString() << " From: " << from_index
124 OnListItemMoved(from_index, to_index, item));