HomeSort by relevance Sort by last modified time
    Searched refs:target_index (Results 1 - 25 of 50) sorted by null

1 2

  /external/chromium_org/ui/views/
view_model.cc 35 void ViewModel::Move(int index, int target_index) {
36 if (index == target_index)
40 entries_.insert(entries_.begin() + target_index, entry);
43 void ViewModel::MoveViewOnly(int index, int target_index) {
44 if (index == target_index)
46 if (target_index < index) {
48 for (int i = index; i > target_index; --i)
50 entries_[target_index].view = view;
53 for (int i = index; i < target_index; ++i)
55 entries_[target_index].view = view
    [all...]
view_model.h 37 // Moves the view at |index| to |target_index|. |target_index| is in terms
39 void Move(int index, int target_index);
42 // this the bounds of the view at |target_index| (and all other indices) are
43 // exactly the same as the bounds of the view at |target_index| before
45 void MoveViewOnly(int index, int target_index);
  /external/chromium/chrome/browser/safe_browsing/
prefix_set.h 80 size_t IndexBinFor(size_t target_index) const;
85 // Returns |true| if the element at |target_index| is between items in the
87 bool IsDeltaAt(size_t target_index) const;
90 // |target_index|. Only call if |IsDeltaAt()| returned |true|.
91 uint16 DeltaAt(size_t target_index) const;
prefix_set.cc 280 size_t PrefixSet::IndexBinFor(size_t target_index) const {
294 if (target_index < i + index_[i].second) {
309 bool PrefixSet::IsDeltaAt(size_t target_index) const {
310 CHECK_LT(target_index, GetSize());
312 const size_t i = IndexBinFor(target_index);
313 return target_index > i + index_[i].second;
316 uint16 PrefixSet::DeltaAt(size_t target_index) const {
317 CHECK_LT(target_index, GetSize());
319 // Find the |index_| entry which contains |target_index|.
320 const size_t i = IndexBinFor(target_index);
    [all...]
  /external/chromium_org/ash/shelf/
shelf_model_observer.h 26 virtual void ShelfItemMoved(int start_index, int target_index) = 0;
shelf_model.h 39 // Moves the item at |index| to |target_index|. |target_index| is in terms
41 void Move(int index, int target_index);
shelf_item_delegate_manager.cc 55 int target_index) {
shelf_model.cc 92 void ShelfModel::Move(int index, int target_index) {
93 if (index == target_index)
98 items_.insert(items_.begin() + target_index, item);
100 ShelfItemMoved(index, target_index));
shelf_view.cc 483 int target_index = current_index; local
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)
1051 int target_index = local
    [all...]
shelf_view.h 272 virtual void ShelfItemMoved(int start_index, int target_index) OVERRIDE;
  /external/chromium_org/ui/base/models/
list_model_observer.h 25 virtual void ListItemMoved(size_t index, size_t target_index) = 0;
list_model.h 67 // Moves the item at |index| to |target_index|. |target_index| is in terms
69 void Move(size_t index, size_t target_index) {
71 DCHECK_LT(target_index, item_count());
73 if (index == target_index)
78 items_.insert(items_.begin() + target_index, item);
79 NotifyItemMoved(index, target_index);
102 void NotifyItemMoved(size_t index, size_t target_index) {
105 ListItemMoved(index, target_index));
list_model_unittest.cc 56 virtual void ListItemMoved(size_t index, size_t target_index) OVERRIDE {
  /external/chromium_org/tools/gn/
generate_test_gn_data.cc 43 std::string TargetIndexToLetter(int target_index) {
45 ret[0] = 'a' + target_index;
51 int target_index) {
58 ret += TargetIndexToLetter(target_index);
63 int target_index) {
70 ret += ":" + RepoPathToTargetName(repo_path, target_index);
  /external/chromium_org/ui/app_list/cocoa/
apps_search_results_model_bridge.h 39 virtual void ListItemMoved(size_t index, size_t target_index) OVERRIDE;
  /external/chromium_org/ui/app_list/views/
search_result_list_view.h 52 virtual void ListItemMoved(size_t index, size_t target_index) OVERRIDE;
apps_grid_view.cc 194 size_t target_index; local
196 &target_index);
198 AppListItemModel* target_item = item_list->item_at(target_index);
205 item_list->RemoveItemAt(target_index);
211 item_list->InsertItemAt(new_folder, target_index);
214 return target_index;
1360 int target_index = view_model_.GetIndexOfView(target_view); local
1595 Index target_index; local
    [all...]
search_result_list_view.cc 155 void SearchResultListView::ListItemMoved(size_t index, size_t target_index) {
apps_grid_view.h 329 // Sets state of the view with |target_index| to |is_target_folder| for
331 void SetAsFolderDroppingTarget(const Index& target_index,
  /external/chromium_org/chrome/browser/ui/ash/launcher/
chrome_launcher_controller.cc 1611 int target_index = FindInsertionPoint(false); local
1622 int target_index = FindInsertionPoint(is_app_list); local
    [all...]
chrome_launcher_controller.h 307 virtual void ShelfItemMoved(int start_index, int target_index) OVERRIDE;
499 // or none to the given |target_index|. The provided |chrome_index| and
506 int target_index,
  /external/chromium_org/third_party/mesa/src/src/glsl/
linker.cpp     [all...]
  /external/mesa3d/src/glsl/
linker.cpp     [all...]
  /external/chromium/chrome/browser/tabs/
tab_strip_model.cc     [all...]
  /external/chromium_org/chrome/browser/ui/tabs/
tab_strip_model.cc     [all...]

Completed in 1756 milliseconds

1 2