/external/chromium_org/ui/views/ |
H A D | view_model.cc | 35 void ViewModel::Move(int index, int target_index) { argument 38 DCHECK_LT(target_index, static_cast<int>(entries_.size())); 39 DCHECK_GE(target_index, 0); 41 if (index == target_index) 45 entries_.insert(entries_.begin() + target_index, entry); 48 void ViewModel::MoveViewOnly(int index, int target_index) { argument 49 if (index == target_index) 51 if (target_index < index) { 53 for (int i = index; i > target_index; --i) 55 entries_[target_index] [all...] |
/external/chromium_org/ash/shelf/ |
H A D | shelf_item_delegate_manager.cc | 54 int target_index) { 53 ShelfItemMoved(int start_index, int target_index) argument
|
H A D | shelf_model.cc | 76 void ShelfModel::Move(int index, int target_index) { argument 77 if (index == target_index) 82 items_.insert(items_.begin() + target_index, item); 84 ShelfItemMoved(index, target_index));
|
H A D | 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) 988 int target_index = local 1548 ShelfItemMoved(int start_index, int target_index) argument [all...] |
/external/chromium_org/tools/gn/ |
H A D | generate_test_gn_data.cc | 43 std::string TargetIndexToLetter(int target_index) { argument 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); 50 RepoPathToTargetName(const std::vector<int>& repo_path, int target_index) argument 62 RepoPathToFullTargetName(const std::vector<int>& repo_path, int target_index) argument
|
/external/chromium_org/ui/base/models/ |
H A D | 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) { argument 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) { argument 105 ListItemMoved(index, target_index));
|
/external/chromium_org/ui/app_list/views/ |
H A D | search_result_list_view.cc | 259 void SearchResultListView::ListItemMoved(size_t index, size_t target_index) { argument
|
H A D | apps_grid_view.cc | 2085 Index target_index; local 2086 gfx::Rect target_bounds = GetTileBoundsForPoint(vertex, &target_index); 2088 if (target_bounds.IsEmpty() || target_index == *nearest_tile) 2093 views::View* target_view = GetViewAtSlotOnCurrentPage(target_index.slot); 2094 if (target_index == drag_view_init_index_ && !target_view && 2102 *nearest_tile = target_index; 2162 void AppsGridView::SetAsFolderDroppingTarget(const Index& target_index, argument 2166 GetViewAtSlotOnCurrentPage(target_index.slot));
|
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | tab_strip_model_unittest.cc | 2273 const int target_index; member in struct:TestData 2318 strip.MoveSelectedTabsTo(test_data[i].target_index);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_ratectrl.c | 1337 int target_index = rc->worst_quality; local 1349 target_index = i; 1354 return target_index - start_index; 1359 int target_index = rc->worst_quality; local 1370 target_index = i; 1375 return target_index - qindex;
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_ratectrl.c | 1329 int target_index = rc->worst_quality; local 1341 target_index = i; 1346 return target_index - start_index; 1351 int target_index = rc->worst_quality; local 1362 target_index = i; 1367 return target_index - qindex;
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | chrome_launcher_controller.cc | 1098 int target_index) { 1099 const ash::ShelfItem& item = model_->items()[target_index]; 1633 int target_index = FindInsertionPoint(false); local 1636 if (source_index != target_index) 1637 model_->Move(source_index, target_index); 1641 if (app_list_index != -1 && target_index <= app_list_index) 1644 int target_index = FindInsertionPoint(is_app_list); local 1646 is_chrome, is_app_list, target_index, &chrome_index, &app_list_index); 1851 int target_index, 1855 model_->Move(*chrome_index, target_index); 1097 ShelfItemMoved(int start_index, int target_index) argument 1848 MoveChromeOrApplistToFinalPosition( bool is_chrome, bool is_app_list, int target_index, int* chrome_index, int* app_list_index) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
H A D | linker.cpp | 1255 * \param target_index Selector for the program target to receive location 1268 unsigned target_index, 1276 assert((target_index == MESA_SHADER_VERTEX) 1277 || (target_index == MESA_SHADER_FRAGMENT)); 1279 gl_shader *const sh = prog->_LinkedShaders[target_index]; 1299 const int generic_base = (target_index == MESA_SHADER_VERTEX) 1303 (target_index == MESA_SHADER_VERTEX) ? ir_var_in : ir_var_out; 1343 } else if (target_index == MESA_SHADER_VERTEX) { 1350 } else if (target_index == MESA_SHADER_FRAGMENT) { 1412 const char *const string = (target_index 1267 assign_attribute_or_color_locations(gl_shader_program *prog, unsigned target_index, unsigned max_index) argument [all...] |
/external/mesa3d/src/glsl/ |
H A D | linker.cpp | 1255 * \param target_index Selector for the program target to receive location 1268 unsigned target_index, 1276 assert((target_index == MESA_SHADER_VERTEX) 1277 || (target_index == MESA_SHADER_FRAGMENT)); 1279 gl_shader *const sh = prog->_LinkedShaders[target_index]; 1299 const int generic_base = (target_index == MESA_SHADER_VERTEX) 1303 (target_index == MESA_SHADER_VERTEX) ? ir_var_in : ir_var_out; 1343 } else if (target_index == MESA_SHADER_VERTEX) { 1350 } else if (target_index == MESA_SHADER_FRAGMENT) { 1412 const char *const string = (target_index 1267 assign_attribute_or_color_locations(gl_shader_program *prog, unsigned target_index, unsigned max_index) argument [all...] |
/external/chromium_org/content/browser/accessibility/ |
H A D | browser_accessibility_win.cc | 67 CONTENT_EXPORT STDMETHODIMP get_target(long target_index, IUnknown** target); 126 STDMETHODIMP BrowserAccessibilityRelation::get_target(long target_index, argument 134 if (target_index < 0 || 135 target_index >= static_cast<long>(target_ids_.size())) { 141 manager->GetFromID(target_ids_[target_index]);
|
/external/chromium_org/v8/src/ |
H A D | objects.cc | 2204 int target_index = new_descriptors->GetFieldIndex(i) - inobject; local 2205 if (target_index < 0) target_index += total_size; 2206 array->set(target_index, *value); 2218 int target_index = new_descriptors->GetFieldIndex(i) - inobject; local 2219 if (target_index < 0) target_index += total_size; 2220 array->set(target_index, *value);
|