Home
last modified time | relevance | path

Searched refs:target_page (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/ui/app_list/
Dpagination_model.cc69 const int from_page = showing ? selected_page_ : transition_.target_page; in SelectPage()
70 const int to_page = showing ? transition_.target_page : selected_page_; in SelectPage()
109 DCHECK(transition.target_page >= -1 && in SetTransition()
110 transition.target_page <= total_pages_); in SetTransition()
137 transition_.target_page = CalculateTargetPage(page_change_dir); in UpdateScroll()
140 int transition_dir = transition_.target_page > selected_page_ ? 1 : -1; in UpdateScroll()
151 if (is_valid_page(transition_.target_page)) { in UpdateScroll()
152 SelectPage(transition_.target_page, false); in UpdateScroll()
195 return transition_.target_page; in SelectedTargetPage()
215 const int target_page = SelectedTargetPage() + delta; in CalculateTargetPage() local
[all …]
Dpagination_model_unittest.cc80 model_->transition().target_page == transition_page_) { in TransitionChanged()
234 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page); in TEST_F()
243 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page); in TEST_F()
252 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page); in TEST_F()
261 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page); in TEST_F()
276 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page); in TEST_F()
288 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page); in TEST_F()
298 EXPECT_EQ(kStartPage - 1, pagination_.transition().target_page); in TEST_F()
310 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page); in TEST_F()
324 EXPECT_EQ(kStartPage + 1, pagination_.transition().target_page); in TEST_F()
[all …]
Dpagination_model.h31 Transition(int target_page, double progress) in Transition()
32 : target_page(target_page), in Transition()
37 return target_page == rhs.target_page && progress == rhs.progress; in Equals()
44 int target_page; member
97 return transition_.target_page != -1 || transition_.progress != 0; in has_transition()
/external/chromium_org/chrome/common/extensions/docs/server2/
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.status, url, link, 'target anchor not found'))
[all …]
/external/chromium_org/ui/app_list/views/
Dcontents_view.cc173 int target_page = current_page; in UpdatePageBounds() local
178 if (pagination_model_.is_valid_page(transition.target_page)) { in UpdatePageBounds()
179 target_page = transition.target_page; in UpdatePageBounds()
186 int dir = target_page > current_page ? -1 : 1; in UpdatePageBounds()
207 view_model_->view_at(target_page)->SetBoundsRect(incoming_target); in UpdatePageBounds()
Dpage_switcher.cc252 const int target_page = model_->transition().target_page; in TransitionChanged() local
257 if (current_page > target_page) { in TransitionChanged()
263 if (model_->is_valid_page(target_page)) in TransitionChanged()
264 GetButtonByIndex(buttons_, target_page)->SetSelectedRange(progress); in TransitionChanged()
Dapps_grid_view.cc1110 int target_page = std::min(pagination_model_.total_pages() - 1, in MoveSelected() local
1112 SetSelectedItemByIndex(Index(target_page, target_slot)); in MoveSelected()
1134 const bool is_valid = pagination_model_.is_valid_page(transition.target_page); in CalculateIdealBounds()
1137 const int dir = transition.target_page > current_page ? -1 : 1; in CalculateIdealBounds()
1172 view_index.page == transition.target_page) { in CalculateIdealBounds()
1240 const int target_page = target.x() < 0 ? -1 : in AnimationBetweenRows() local
1243 const int dir = current_page < target_page || in AnimationBetweenRows()
1244 (current_page == target_page && current.y() < target.y()) ? 1 : -1; in AnimationBetweenRows()
1962 if (pagination_model_.is_valid_page(transition.target_page)) in TransitionChanged()
/external/chromium_org/ash/wm/
Dapp_list_controller.cc472 if (pagination_model->is_valid_page(transition.target_page)) in TransitionChanged()
484 const int dir = transition.target_page > current_page ? -1 : 1; in TransitionChanged()
/external/chromium_org/v8/src/
Dmark-compact.cc4336 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in RecordRelocSlot() local
4338 if (target_page->IsEvacuationCandidate() && in RecordRelocSlot()
4347 target_page->slots_buffer_address(), in RecordRelocSlot()
4352 target_page->slots_buffer_address(), in RecordRelocSlot()
4358 target_page->slots_buffer_address(), in RecordRelocSlot()
4364 EvictEvacuationCandidate(target_page); in RecordRelocSlot()
4371 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target)); in RecordCodeEntrySlot() local
4372 if (target_page->IsEvacuationCandidate() && in RecordCodeEntrySlot()
4375 target_page->slots_buffer_address(), in RecordCodeEntrySlot()
4379 EvictEvacuationCandidate(target_page); in RecordCodeEntrySlot()