Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: ui/app_list/pagination_model.cc

Issue 557173003: App list PaginationModel: Use EASE_IN_OUT tweening for smooth animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split ContentsView change into separate CL. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/pagination_model.cc
diff --git a/ui/app_list/pagination_model.cc b/ui/app_list/pagination_model.cc
index c2bf8e5da741f16f16cb9cda23edce5c38ec6454..9b37926f999e7bab26ed6ea99ad442ea896a13b0 100644
--- a/ui/app_list/pagination_model.cc
+++ b/ui/app_list/pagination_model.cc
@@ -233,7 +233,7 @@ void PaginationModel::StartTransitionAnimation(const Transition& transition) {
SetTransition(transition);
transition_animation_.reset(new gfx::SlideAnimation(this));
- transition_animation_->SetTweenType(gfx::Tween::LINEAR);
+ transition_animation_->SetTweenType(gfx::Tween::EASE_IN_OUT);
transition_animation_->Reset(transition_.progress);
const int duration = is_valid_page(transition_.target_page) ?
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698