Home
last modified time | relevance | path

Searched refs:candidate_index (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/base/models/
Dmenu_model.cc19 const int candidate_index = i; in GetModelAndIndexForCommandId() local
20 if ((*model)->GetTypeAt(candidate_index) == TYPE_SUBMENU) { in GetModelAndIndexForCommandId()
21 MenuModel* submenu_model = (*model)->GetSubmenuModelAt(candidate_index); in GetModelAndIndexForCommandId()
27 if ((*model)->GetCommandIdAt(candidate_index) == command_id) { in GetModelAndIndexForCommandId()
28 *index = candidate_index; in GetModelAndIndexForCommandId()
/external/chromium_org/chrome/browser/history/
Dselect_favicon_frames.cc84 int candidate_index = -1; in GetCandidateIndexWithBestScore() local
103 if (candidate_index == -1 || score > candidate_score) { in GetCandidateIndexWithBestScore()
104 candidate_index = i; in GetCandidateIndexWithBestScore()
113 candidate_sizes_in_pixel[candidate_index]; in GetCandidateIndexWithBestScore()
122 return candidate_index; in GetCandidateIndexWithBestScore()
Dhistory_backend.cc2339 size_t candidate_index = candidate_bitmap_indices[j]; in GetFaviconBitmapResultsForBestMatch() local
2341 bitmap_id_sizes[candidate_index].bitmap_id); in GetFaviconBitmapResultsForBestMatch()
/external/chromium_org/media/filters/
Dwsola_internals.cc160 int candidate_index = n - decimation + static_cast<int>( in DecimatedSearch() local
163 !InInterval(candidate_index, exclude_interval)) { in DecimatedSearch()
164 optimal_index = candidate_index; in DecimatedSearch()
/external/chromium/chrome/browser/chromeos/input_method/
Dcandidate_window.cc924 const size_t candidate_index = start_from + index_in_page; in UpdateCandidates() local
939 if (candidate_index < new_lookup_table.candidates.size() && in UpdateCandidates()
940 candidate_index < new_lookup_table.annotations.size()) { in UpdateCandidates()
942 UTF8ToWide(new_lookup_table.candidates[candidate_index])); in UpdateCandidates()
944 UTF8ToWide(new_lookup_table.annotations[candidate_index])); in UpdateCandidates()
/external/chromium_org/chrome/browser/chromeos/input_method/
Dcandidate_window_view.cc730 const size_t candidate_index = start_from + index_in_page; in UpdateCandidates() local
745 if (candidate_index < new_candidate_window.candidates().size()) { in UpdateCandidates()
747 new_candidate_window.candidates()[candidate_index]; in UpdateCandidates()