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

/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);
932 int current_index = view_model_->GetIndexOfView(drag_view_); local
933 DCHECK_NE(-1, current_index);
936 model_->items()[current_index].id);
945 RemovableByRipOff(current_index) != NOT_REMOVABLE) {
949 current_index
1005 int current_index = view_model_->GetIndexOfView(drag_view_); local
1107 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/ui/compositor/
H A Dlayer_animation_sequence.cc66 size_t current_index = last_element_ % elements_.size(); local
69 elements_[current_index]->set_requested_start_time(last_start_);
70 if (!elements_[current_index]->IsFinished(now, &element_duration))
74 if (elements_[current_index]->ProgressToEnd(delegate))
79 elements_[current_index]->last_progressed_fraction();
80 current_index = last_element_ % elements_.size();
84 if (!elements_[current_index]->Started()) {
86 elements_[current_index]->Start(delegate, animation_group_id_);
89 if (elements_[current_index]->Progress(now, delegate))
94 elements_[current_index]
121 size_t current_index = last_element_; local
172 size_t current_index = last_element_ % elements_.size(); local
[all...]
/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/v8/src/
H A Dd8-readline.cc120 static unsigned current_index; local
134 current_index = 0;
138 if (current_index < completions->Length()) {
139 Handle<Integer> index = Integer::New(isolate, current_index);
141 current_index++;
H A Dliveedit-debugger.js270 var current_index = 0;
276 while (current_index < compile_info.length &&
277 compile_info[current_index].outer_index == old_parent_index) {
278 var saved_index = current_index;
284 current_index++;
293 Assert(current_index == compile_info.length);
H A Dhydrogen-instructions.cc983 HValue* current_index = decomposition.base(); local
993 current_index, add_offset);
997 current_index = add;
1004 current_index, sar_scale);
1007 current_index = sar;
1010 SetOperandAt(0, current_index);
H A Dobjects.cc5658 int current_index = descs->GetFieldIndex(i); local
5659 if (current_index > max_index) max_index = current_index;
H A Dhydrogen.cc5175 HValue* current_index = Pop(); local
5176 Push(AddUncasted<HAdd>(current_index, graph()->GetConstant1()));
/external/chromium_org/third_party/webrtc/modules/audio_device/android/
H A Dsingle_rw_fifo_unittest.cc76 int8_t current_index = DataToElementIndex(*iter); local
77 EXPECT_EQ(current_index, ++previous_index % kCapacity);
/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/content/public/test/
H A Dlayouttest_support.h112 size_t 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/chromium_org/chrome/browser/sync/sessions/
H A Dsessions_sync_manager.cc838 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
841 (current_index == pending_index) ?
843 tab_delegate.GetEntryAtIndex(current_index);
850 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
853 (current_index == pending_index) ?
855 tab_delegate.GetEntryAtIndex(current_index);
958 const int current_index = tab_delegate.GetCurrentEntryIndex(); local
960 const int min_index = std::max(0, current_index - kMaxSyncNavigationCount);
961 const int max_index = std::min(current_index + kMaxSyncNavigationCount,
974 if (i == current_index)
[all...]
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_controller_impl.cc299 int current_index = -1; local
306 // should also update the current_index.
307 current_index = pending_entry_index_;
310 current_index = GetCurrentEntryIndex();
311 if (current_index != -1) {
313 GetEntryAtIndex(current_index));
373 pending_entry_index_ = current_index;
551 int current_index = GetCurrentEntryIndex(); local
555 pending_entry_index_ = current_index - 1;
572 int current_index local
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell.cc220 int current_index = web_contents_->GetController().GetCurrentEntryIndex(); local
223 PlatformEnableUIControl(BACK_BUTTON, current_index > 0);
224 PlatformEnableUIControl(FORWARD_BUTTON, current_index < max_index);
/external/chromium_org/net/tools/gdig/
H A Dgdig.cc454 unsigned current_index = replay_log_index_; local
457 current_index,
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/
H A Dbaselineoptimizer.py188 current_index, current_directory = self._find_in_fallbackpath(fallback_path, current_result, new_results_by_directory)
189 for index in range(current_index + 1, len(fallback_path)):
/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/panels/
H A Dpanel.cc902 size_t current_index = 0; local
904 while ((match_index = title->find(L'\n', current_index)) !=
907 current_index = match_index;
/external/chromium_org/chrome/browser/sessions/
H A Dsession_service.cc1346 const int current_index = tab->GetController().GetCurrentEntryIndex(); local
1348 current_index - max_persist_navigation_count);
1350 std::min(current_index + max_persist_navigation_count,
1392 CreateSetSelectedNavigationIndexCommand(session_id, current_index));
/external/chromium_org/content/test/
H A Dlayouttest_support.cc371 size_t current_index) {
380 index == current_index));
370 DumpBackForwardList(std::vector<PageState>& page_state, size_t current_index) argument
/external/chromium_org/chrome/browser/ui/
H A Dbrowser.cc604 size_t current_index = 0; local
606 while ((match_index = title->find(L'\n', current_index)) !=
609 current_index = match_index;

Completed in 685 milliseconds