Searched refs:page_scale_delta (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/cc/trees/ |
D | layer_tree_host.cc | 364 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()
|
D | layer_tree_host_impl_unittest.cc | 823 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 …]
|
D | layer_tree_host_impl.cc | 2468 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()
|
D | layer_tree_host_unittest_scroll.cc | 264 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()
|
D | layer_tree_impl.h | 150 float page_scale_delta() const { return page_scale_delta_; }
|
D | layer_tree_host_common.h | 147 float page_scale_delta; member
|
D | layer_tree_host.h | 208 void ApplyPageScaleDeltaFromImplSide(float page_scale_delta);
|
D | single_thread_proxy.cc | 227 DCHECK_EQ(1.f, scroll_info->page_scale_delta); in DoCommit()
|
D | layer_tree_impl.cc | 128 target_tree->page_scale_delta() / target_tree->sent_page_scale_delta()); in PushPropertiesTo()
|