Home
last modified time | relevance | path

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

/external/chromium_org/cc/trees/
Dlayer_tree_host.cc364 float page_scale_delta, sent_page_scale_delta; in FinishCommitOnImplThread() local
370 page_scale_delta = host_impl->active_tree()->page_scale_delta(); in FinishCommitOnImplThread()
373 page_scale_delta = sync_tree->page_scale_delta(); in FinishCommitOnImplThread()
381 sync_tree->SetPageScaleDelta(page_scale_delta / sent_page_scale_delta); in FinishCommitOnImplThread()
665 void LayerTreeHost::ApplyPageScaleDeltaFromImplSide(float page_scale_delta) { in ApplyPageScaleDeltaFromImplSide() argument
667 page_scale_factor_ *= page_scale_delta; in ApplyPageScaleDeltaFromImplSide()
1072 if (!root_scroll_delta.IsZero() || info.page_scale_delta != 1.f) { in ApplyScrollAndScale()
1084 ApplyPageScaleDeltaFromImplSide(info.page_scale_delta); in ApplyScrollAndScale()
1085 client_->ApplyScrollAndScale(root_scroll_delta, info.page_scale_delta); in ApplyScrollAndScale()
Dlayer_tree_host_impl_unittest.cc823 float page_scale_delta = 2.f; in TEST_F() local
825 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); in TEST_F()
833 EXPECT_EQ(scroll_info->page_scale_delta, page_scale_delta); in TEST_F()
848 float page_scale_delta = 2.f; in TEST_F() local
851 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point()); in TEST_F()
888 float page_scale_delta = 2.f; in TEST_F() local
891 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); in TEST_F()
899 EXPECT_EQ(scroll_info->page_scale_delta, page_scale_delta); in TEST_F()
908 float page_scale_delta = 10.f; in TEST_F() local
912 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); in TEST_F()
[all …]
Dlayer_tree_host_impl.cc2468 float page_scale_delta = active_tree_->page_scale_delta(); in PinchGestureUpdate() local
2470 gfx::ScalePoint(anchor, 1.f / page_scale_delta); in PinchGestureUpdate()
2471 active_tree_->SetPageScaleDelta(page_scale_delta * magnify_delta); in PinchGestureUpdate()
2472 page_scale_delta = active_tree_->page_scale_delta(); in PinchGestureUpdate()
2474 gfx::ScalePoint(anchor, 1.f / page_scale_delta); in PinchGestureUpdate()
2522 scroll_info->page_scale_delta = active_tree_->page_scale_delta(); in ProcessScrollDeltas()
2523 active_tree_->set_sent_page_scale_delta(scroll_info->page_scale_delta); in ProcessScrollDeltas()
Dlayer_tree_host_unittest_scroll.cc264 EXPECT_EQ(1.f, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread()
267 EXPECT_EQ(impl_scale_, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread()
283 EXPECT_EQ(1.f, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread()
286 EXPECT_EQ(impl_scale_, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread()
Dlayer_tree_impl.h150 float page_scale_delta() const { return page_scale_delta_; }
Dlayer_tree_host_common.h147 float page_scale_delta; member
Dlayer_tree_host.h208 void ApplyPageScaleDeltaFromImplSide(float page_scale_delta);
Dsingle_thread_proxy.cc227 DCHECK_EQ(1.f, scroll_info->page_scale_delta); in DoCommit()
Dlayer_tree_impl.cc128 target_tree->page_scale_delta() / target_tree->sent_page_scale_delta()); in PushPropertiesTo()