Commit 03fd02e9 authored by Kevin Strohbehn's avatar Kevin Strohbehn Committed by Commit Bot

Adjusting Parallax Fade Constants to meet Spec

Bug: 878178
Change-Id: I90a27bea589fafc048cb165ffb698c44cb7bb049
Reviewed-on: https://chromium-review.googlesource.com/1212762
Commit-Queue: Kevin Strohbehn <ginko@google.com>
Reviewed-by: default avatarWeidong Guo <weidongg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589672}
parent 8aa718ed
...@@ -54,8 +54,8 @@ constexpr int kAppsGridPageSwitcherSpacing = 8; ...@@ -54,8 +54,8 @@ constexpr int kAppsGridPageSwitcherSpacing = 8;
// The range of app list transition progress in which the suggestion chips' // The range of app list transition progress in which the suggestion chips'
// opacity changes from 0 to 1. // opacity changes from 0 to 1.
constexpr float kSuggestionChipOpacityStartProgress = 0; constexpr float kSuggestionChipOpacityStartProgress = 0.66;
constexpr float kSuggestionChipOpacityEndProgress = 0.67; constexpr float kSuggestionChipOpacityEndProgress = 1;
} // namespace } // namespace
......
...@@ -38,8 +38,8 @@ namespace { ...@@ -38,8 +38,8 @@ namespace {
// The range of app list transition progress in which the expand arrow' // The range of app list transition progress in which the expand arrow'
// opacity changes from 0 to 1. // opacity changes from 0 to 1.
constexpr float kExpandArrowOpacityStartProgress = 0; constexpr float kExpandArrowOpacityStartProgress = 0.61;
constexpr float kExpandArrowOpacityEndProgress = 0.62; constexpr float kExpandArrowOpacityEndProgress = 1;
void DoAnimation(base::TimeDelta animation_duration, void DoAnimation(base::TimeDelta animation_duration,
ui::Layer* layer, ui::Layer* layer,
......
...@@ -67,8 +67,8 @@ constexpr int kSearchBoxFocusBorderCornerRadius = 28; ...@@ -67,8 +67,8 @@ constexpr int kSearchBoxFocusBorderCornerRadius = 28;
// Range of the fraction of app list from collapsed to peeking that search box // Range of the fraction of app list from collapsed to peeking that search box
// should change opacity. // should change opacity.
constexpr float kOpacityStartFraction = 0.1f; constexpr float kOpacityStartFraction = 0.11f;
constexpr float kOpacityEndFraction = 0.6f; constexpr float kOpacityEndFraction = 1.0f;
// Minimum amount of characters required to enable autocomplete. // Minimum amount of characters required to enable autocomplete.
constexpr int kMinimumLengthToAutocomplete = 2; constexpr int kMinimumLengthToAutocomplete = 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment