Searched refs:target_page (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/ui/app_list/
H A Dpagination_model.h31 Transition(int target_page, double progress) argument
32 : target_page(target_page),
37 return target_page == rhs.target_page && progress == rhs.progress;
44 int target_page; member in struct:app_list::PaginationModel::Transition
97 return transition_.target_page != -1 || transition_.progress != 0;
H A Dpagination_model.cc69 const int from_page = showing ? selected_page_ : transition_.target_page;
70 const int to_page = showing ? transition_.target_page : selected_page_;
109 DCHECK(transition.target_page >= -1 &&
110 transition.target_page <= total_pages_);
137 transition_.target_page = CalculateTargetPage(page_change_dir);
140 int transition_dir = transition_.target_page > selected_page_ ? 1 : -1;
151 if (is_valid_page(transition_.target_page)) {
152 SelectPage(transition_.target_page, false);
195 return transition_.target_page;
215 const int target_page local
[all...]
H A Dpagination_model_unittest.cc80 model_->transition().target_page == transition_page_) {
234 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page);
243 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page);
252 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page);
261 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page);
276 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page);
288 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page);
298 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page);
310 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page);
324 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page);
391 int target_page = kStartPage + 1; local
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dlink_error_detector.py170 target_page = self._renderer(starting_url)
171 original_status = status = target_page.status
177 redirect_link = target_page.headers.get('Location')
178 target_page = self._renderer(redirect_link)
179 status = target_page.status
207 target_page = pages(components.path)
209 if target_page.status != 200:
222 target_page.status, url, link, 'target page not found'))
225 if not fragment in target_page.anchors:
227 target_page
[all...]
/external/chromium_org/ui/app_list/views/
H A Dcontents_switcher_view.cc66 int new_selected = pm.transition().target_page;
69 old_selected = pm.transition().target_page;
H A Dcontents_view.cc206 int target_page = current_page; local
211 if (pagination_model_.is_valid_page(transition.target_page)) {
212 target_page = transition.target_page;
217 // Move |current_page| from 0 to its origin. Move |target_page| from its
221 gfx::Rect target_page_origin(GetOffscreenPageBounds(target_page));
228 view_model_->view_at(target_page)->SetBoundsRect(target_page_rect);
H A Dpage_switcher.cc252 const int target_page = model_->transition().target_page; local
257 if (current_page > target_page) {
263 if (model_->is_valid_page(target_page))
264 GetButtonByIndex(buttons_, target_page)->SetSelectedRange(progress);
H A Dapps_grid_view.cc1179 int target_page = std::min(pagination_model_.total_pages() - 1, local
1181 SetSelectedItemByIndex(Index(target_page, target_slot));
1201 const bool is_valid = pagination_model_.is_valid_page(transition.target_page);
1204 const int dir = transition.target_page > current_page ? -1 : 1;
1234 view_index.page == transition.target_page) {
1246 view_index.page == transition.target_page) {
1313 const int target_page = target.x() < 0 ? -1 : local
1316 const int dir = current_page < target_page ||
1317 (current_page == target_page && current.y() < target.y()) ? 1 : -1;
2060 if (pagination_model_.is_valid_page(transition.target_page))
[all...]
/external/chromium_org/ash/wm/
H A Dapp_list_controller.cc494 if (pagination_model->is_valid_page(transition.target_page))
506 const int dir = transition.target_page > current_page ? -1 : 1;
/external/chromium_org/v8/src/heap/
H A Dmark-compact.cc4438 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); local
4440 if (target_page->IsEvacuationCandidate() &&
4449 &slots_buffer_allocator_, target_page->slots_buffer_address(),
4453 &slots_buffer_allocator_, target_page->slots_buffer_address(),
4458 &slots_buffer_allocator_, target_page->slots_buffer_address(),
4462 EvictEvacuationCandidate(target_page);
4469 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); local
4470 if (target_page->IsEvacuationCandidate() &&
4473 target_page->slots_buffer_address(),
4476 EvictEvacuationCandidate(target_page);
[all...]

Completed in 181 milliseconds