Home | History | Annotate | Download | only in shelf

Lines Matching refs:target_index

483   int target_index = current_index;
484 while (target_index > first_panel_index &&
486 view_model_->ideal_bounds(target_index).x(),
487 view_model_->ideal_bounds(target_index).y()) >
490 --target_index;
492 while (target_index < view_model_->view_size() - 1 &&
494 view_model_->ideal_bounds(target_index).right(),
495 view_model_->ideal_bounds(target_index).bottom()) <
498 ++target_index;
500 if (current_index != target_index)
501 model_->Move(current_index, target_index);
986 int target_index =
993 target_index =
994 std::min(indices.second, std::max(target_index, indices.first));
995 if (target_index == current_index)
1000 model_->Move(current_index, target_index);
1546 void ShelfView::ShelfItemMoved(int start_index, int target_index) {
1547 view_model_->Move(start_index, target_index);