Searched refs:page_scale_delta (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/cc/trees/ |
D | layer_tree_impl.cc | 200 target_tree->page_scale_delta() / target_tree->sent_page_scale_delta()); in PushPropertiesTo() 304 float page_scale_delta) { in SetPageScaleValues() argument 314 float total = page_scale_factor_ * page_scale_delta; in SetPageScaleValues() 316 page_scale_delta = min_page_scale_factor_ / page_scale_factor_; in SetPageScaleValues() 318 page_scale_delta = max_page_scale_factor_ / page_scale_factor_; in SetPageScaleValues() 320 if (page_scale_delta_ == page_scale_delta && !page_scale_changed) in SetPageScaleValues() 323 if (page_scale_delta_ != page_scale_delta) { in SetPageScaleValues() 324 page_scale_delta_ = page_scale_delta; in SetPageScaleValues()
|
D | layer_tree_host.cc | 318 float page_scale_delta = in FinishCommitOnImplThread() local 319 sync_tree->page_scale_delta() / sync_tree->sent_page_scale_delta(); in FinishCommitOnImplThread() 323 page_scale_delta); in FinishCommitOnImplThread() 614 void LayerTreeHost::ApplyPageScaleDeltaFromImplSide(float page_scale_delta) { in ApplyPageScaleDeltaFromImplSide() argument 616 page_scale_factor_ *= page_scale_delta; in ApplyPageScaleDeltaFromImplSide() 1037 !outer_viewport_scroll_delta.IsZero() || info.page_scale_delta != 1.f) { in ApplyScrollAndScale() 1054 ApplyPageScaleDeltaFromImplSide(info.page_scale_delta); in ApplyScrollAndScale() 1058 info.page_scale_delta); in ApplyScrollAndScale()
|
D | layer_tree_impl.h | 165 float page_scale_delta); 172 float page_scale_delta() const { return page_scale_delta_; }
|
D | layer_tree_host_impl_unittest.cc | 916 float page_scale_delta = 2.f; in TEST_F() local 919 expected_container_size_delta.Scale((1.f - page_scale_delta) / in TEST_F() 920 (page_scale_factor * page_scale_delta)); in TEST_F() 924 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); in TEST_F() 939 EXPECT_EQ(scroll_info->page_scale_delta, page_scale_delta); in TEST_F() 953 float page_scale_delta = 2.f; in TEST_F() local 956 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point()); in TEST_F() 1048 float page_scale_delta = 2.f; in TEST_F() local 1051 host_impl_->PinchGestureUpdate(page_scale_delta, gfx::Point(50, 50)); in TEST_F() 1060 EXPECT_EQ(scroll_info->page_scale_delta, page_scale_delta); in TEST_F() [all …]
|
D | layer_tree_host_impl.cc | 1723 pending_tree_->SetPageScaleDelta(active_tree_->page_scale_delta() / in CreatePendingTree() 2727 float page_scale_delta = active_tree_->page_scale_delta(); in PinchGestureUpdate() local 2729 gfx::ScalePoint(anchor, 1.f / page_scale_delta); in PinchGestureUpdate() 2730 active_tree_->SetPageScaleDelta(page_scale_delta * magnify_delta); in PinchGestureUpdate() 2731 page_scale_delta = active_tree_->page_scale_delta(); in PinchGestureUpdate() 2733 gfx::ScalePoint(anchor, 1.f / page_scale_delta); in PinchGestureUpdate() 2800 scroll_info->page_scale_delta = active_tree_->page_scale_delta(); in ProcessScrollDeltas() 2801 active_tree_->set_sent_page_scale_delta(scroll_info->page_scale_delta); in ProcessScrollDeltas()
|
D | layer_tree_host_unittest_scroll.cc | 288 EXPECT_EQ(1.f, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread() 291 EXPECT_EQ(impl_scale_, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread() 307 EXPECT_EQ(1.f, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread() 310 EXPECT_EQ(impl_scale_, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread()
|
D | layer_tree_host_common.h | 141 float page_scale_delta; member
|
D | single_thread_proxy.cc | 175 DCHECK_EQ(1.f, scroll_info->page_scale_delta); in DoCommit()
|
D | layer_tree_host.h | 198 void ApplyPageScaleDeltaFromImplSide(float page_scale_delta);
|
/external/chromium_org/cc/layers/ |
D | layer_impl.cc | 598 float scale_delta = layer_tree_impl()->page_scale_delta(); in FixedContainerSizeDelta()
|