Searched defs:target_index (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/ui/views/
H A Dview_model.cc35 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 Dshelf_item_delegate_manager.cc54 int target_index) {
53 ShelfItemMoved(int start_index, int target_index) argument
H A Dshelf_model.cc76 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 Dshelf_view.cc483 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)
986 int target_index = local
1546 ShelfItemMoved(int start_index, int target_index) argument
[all...]
/external/chromium_org/tools/gn/
H A Dgenerate_test_gn_data.cc43 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 Dlist_model.h67 // 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 Dsearch_result_list_view.cc265 void SearchResultListView::ListItemMoved(size_t index, size_t target_index) { argument
H A Dstart_page_view.cc253 void StartPageView::ListItemMoved(size_t index, size_t target_index) { argument
H A Dapps_grid_view.cc2156 void AppsGridView::SetAsFolderDroppingTarget(const Index& target_index, argument
2160 GetViewAtSlotOnCurrentPage(target_index.slot));
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model_unittest.cc2274 const int target_index; member in struct:TestData
2319 strip.MoveSelectedTabsTo(test_data[i].target_index);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_ratectrl.c1329 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 Dchrome_launcher_controller.cc1117 int target_index) {
1118 const ash::ShelfItem& item = model_->items()[target_index];
1666 int target_index = FindInsertionPoint(false); local
1669 if (source_index != target_index)
1670 model_->Move(source_index, target_index);
1674 if (app_list_index != -1 && target_index <= app_list_index)
1677 int target_index = FindInsertionPoint(is_app_list); local
1679 is_chrome, is_app_list, target_index, &chrome_index, &app_list_index);
1878 int target_index,
1882 model_->Move(*chrome_index, target_index);
1116 ShelfItemMoved(int start_index, int target_index) argument
1875 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/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_ratectrl.c1435 int target_index = rc->worst_quality; local
1447 target_index = i;
1452 return target_index - start_index;
1458 int target_index = rc->worst_quality; local
1470 target_index = i;
1475 return target_index - qindex;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dlinker.cpp1255 * \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 Dlinker.cpp1255 * \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 Dbrowser_accessibility_win.cc68 CONTENT_EXPORT STDMETHODIMP get_target(long target_index, IUnknown** target);
127 STDMETHODIMP BrowserAccessibilityRelation::get_target(long target_index, argument
135 if (target_index < 0 ||
136 target_index >= static_cast<long>(target_ids_.size())) {
142 manager->GetFromID(target_ids_[target_index]);
/external/chromium_org/v8/src/
H A Dobjects.cc1979 int target_index = details.field_index() - inobject; local
1980 DCHECK(target_index >= 0); // Must be a backing store index.
1981 new_storage->set(target_index, *value);
2027 int target_index = new_descriptors->GetFieldIndex(i) - inobject; local
2028 if (target_index < 0) target_index += total_size;
2029 array->set(target_index, *value);
2041 int target_index = new_descriptors->GetFieldIndex(i) - inobject; local
2042 if (target_index < 0) target_index
[all...]

Completed in 473 milliseconds