Searched defs:current_index (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/ash/shelf/
H A Dshelf_navigator.cc28 int current_index = -1; local
40 current_index = i;
46 if (current_index < 0) {
56 for (int i = (current_index + step + item_count) % item_count;
57 i != current_index; i = (i + step + item_count) % item_count) {
H A Dshelf_view.cc476 int current_index = model_->ItemIndexByID(id); local
478 if (current_index < first_panel_index)
483 int target_index = current_index;
500 if (current_index != target_index)
501 model_->Move(current_index, target_index);
997 int current_index = view_model_->GetIndexOfView(drag_view_); local
998 DCHECK_NE(-1, current_index);
1001 model_->items()[current_index].id);
1010 RemovableByRipOff(current_index) != NOT_REMOVABLE) {
1014 current_index
1070 int current_index = view_model_->GetIndexOfView(drag_view_); local
1172 int current_index = view_model_->GetIndexOfView(drag_view_); local
[all...]
/external/chromium_org/ui/views/
H A Dview_model_utils.cc48 int current_index = model.GetIndexOfView(view); local
49 DCHECK_NE(-1, current_index);
50 for (int i = 0; i < current_index; ++i) {
59 if (current_index + 1 == model.view_size())
60 return current_index;
66 model.ideal_bounds(current_index + 1).x() -
67 model.ideal_bounds(current_index).x(),
68 model.ideal_bounds(current_index + 1).y() -
69 model.ideal_bounds(current_index).y());
70 for (int i = current_index
[all...]
/external/chromium_org/content/browser/download/
H A Drate_estimator.cc55 int current_index = (oldest_index_ + delta_buckets) % history_.size(); local
56 history_[current_index] += count;
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/
H A Darea_code_map.cc56 int current_index = entries - 1; local
64 current_index = BinarySearch(0, current_index, phone_prefix);
65 if (current_index < 0) {
68 const int32 current_prefix = storage_->GetPrefix(current_index);
70 return storage_->GetDescription(current_index);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dshader_query.cpp103 unsigned current_index = 0; local
113 if (current_index == desired_index) {
125 current_index++;
/external/mesa3d/src/mesa/main/
H A Dshader_query.cpp103 unsigned current_index = 0; local
113 if (current_index == desired_index) {
125 current_index++;
/external/v8/src/
H A Dd8-readline.cc135 static unsigned current_index; local
143 current_index = 0;
145 if (current_index < current_completions->Length()) {
147 Handle<Integer> index = Integer::New(current_index);
149 current_index++;
/external/chromium_org/ui/compositor/
H A Dlayer_animation_sequence.cc64 size_t current_index = last_element_ % elements_.size(); local
67 elements_[current_index]->set_requested_start_time(last_start_);
68 if (!elements_[current_index]->IsFinished(now, &element_duration))
72 if (elements_[current_index]->ProgressToEnd(delegate))
77 elements_[current_index]->last_progressed_fraction();
78 current_index = last_element_ % elements_.size();
82 if (!elements_[current_index]->Started()) {
84 elements_[current_index]->Start(delegate, animation_group_id_);
87 if (elements_[current_index]->Progress(now, delegate))
92 elements_[current_index]
119 size_t current_index = last_element_; local
170 size_t current_index = last_element_ % elements_.size(); local
[all...]
/external/chromium_org/v8/src/
H A Dd8-readline.cc146 static unsigned current_index; local
161 current_index = 0;
165 if (current_index < completions->Length()) {
166 Handle<Integer> index = Integer::New(current_index);
168 current_index++;
H A Dhydrogen-instructions.cc876 HValue* current_index = decomposition.base(); local
886 current_index, add_offset);
890 current_index = add;
897 current_index, sar_scale);
900 current_index = sar;
903 SetOperandAt(0, current_index);
/external/chromium_org/chrome/browser/ui/gtk/
H A Dglobal_history_menu.cc59 int current_index; member in struct:GlobalHistoryMenu::GetIndexClosure
224 closure.current_index = 0;
232 return closure.current_index;
255 closure->current_index++;
/external/chromium_org/content/shell/browser/
H A Dshell.cc213 int current_index = web_contents_->GetController().GetCurrentEntryIndex(); local
216 PlatformEnableUIControl(BACK_BUTTON, current_index > 0);
217 PlatformEnableUIControl(FORWARD_BUTTON, current_index < max_index);
/external/chromium/chrome/browser/sync/glue/
H A Dsession_model_associator.cc264 const int current_index = tab.controller().GetCurrentEntryIndex(); local
266 current_index - max_sync_navigation_count);
267 const int max_index = std::min(current_index + max_sync_navigation_count,
295 tab_s->set_current_navigation_index(current_index);
/external/chromium_org/net/tools/gdig/
H A Dgdig.cc454 unsigned current_index = replay_log_index_; local
457 current_index,
/external/chromium/chrome/browser/history/
H A Dtop_sites.cc432 int current_index; local
433 if (pinned_urls_->GetIntegerWithoutPathExpansion(*it, &current_index)) {
434 if (static_cast<size_t>(current_index) == index) {
/external/chromium_org/chrome/browser/sync/glue/
H A Dsession_model_associator.cc395 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
398 (current_index == pending_index) ?
400 tab_delegate.GetEntryAtIndex(current_index);
407 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
410 (current_index == pending_index) ?
412 tab_delegate.GetEntryAtIndex(current_index);
502 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
504 const int min_index = std::max(0, current_index - kMaxSyncNavigationCount);
505 const int max_index = std::min(current_index + kMaxSyncNavigationCount,
/external/chromium_org/chrome/browser/sync/sessions2/
H A Dsessions_sync_manager.cc750 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
753 (current_index == pending_index) ?
755 tab_delegate.GetEntryAtIndex(current_index);
762 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
765 (current_index == pending_index) ?
767 tab_delegate.GetEntryAtIndex(current_index);
847 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
849 const int min_index = std::max(0, current_index - kMaxSyncNavigationCount);
850 const int max_index = std::min(current_index + kMaxSyncNavigationCount,
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel.cc892 size_t current_index = 0; local
894 while ((match_index = title->find(L'\n', current_index)) !=
897 current_index = match_index;
/external/chromium/chrome/browser/sessions/
H A Dsession_service.cc1067 const int current_index = controller->GetCurrentEntryIndex(); local
1069 current_index - max_persist_navigation_count);
1070 const int max_index = std::min(current_index + max_persist_navigation_count,
1105 current_index));
/external/chromium_org/chrome/browser/sessions/
H A Dsession_service.cc1285 const int current_index = tab->GetController().GetCurrentEntryIndex(); local
1287 current_index - max_persist_navigation_count);
1289 std::min(current_index + max_persist_navigation_count,
1331 CreateSetSelectedNavigationIndexCommand(session_id, current_index));
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_controller_impl.cc281 int current_index = -1; local
288 // should also update the current_index.
289 current_index = pending_entry_index_;
292 current_index = GetCurrentEntryIndex();
293 if (current_index != -1) {
295 GetEntryAtIndex(current_index));
354 pending_entry_index_ = current_index;
537 int current_index = GetCurrentEntryIndex(); local
541 pending_entry_index_ = current_index - 1;
558 int current_index local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbvideo.c502 int current_index; local
684 current_index = ((vinfo.bits_per_pixel+7)/8)-1;
691 FB_AddMode(this, current_index, current_w, current_h, 0);
705 if ( i == current_index ) {
709 current_index = -1;
732 if ( i == current_index ) {
736 current_index = -1;
/external/chromium_org/chrome/browser/ui/
H A Dbrowser.cc586 size_t current_index = 0; local
588 while ((match_index = title->find(L'\n', current_index)) !=
591 current_index = match_index;
/external/chromium/chrome/browser/ui/
H A Dbrowser.cc860 size_t current_index = 0; local
862 while ((match_index = title->find(L'\n', current_index)) != string16::npos) {
864 current_index = match_index;

Completed in 1244 milliseconds

12