blob: 639bb78f84920ce2c4f2d79be8efa3b728fb54b3 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_WM_OVERVIEW_OVERVIEW_CONSTANTS_H_
#define ASH_WM_OVERVIEW_OVERVIEW_CONSTANTS_H_
#include "ash/ash_export.h"
namespace ash {
// In the conceptual overview table, the window margin is the space reserved
// around the window within the cell. This margin does not overlap so the
// closest distance between adjacent windows will be twice this amount.
constexpr int kWindowMargin = 5;
// Cover the transformed window including the gaps between the windows with a
// transparent shield to block the input events from reaching the transformed
// window while in overview.
constexpr int kOverviewMargin = kWindowMargin * 2;
// Height of an item header.
constexpr int kHeaderHeightDp = 40;
// The opacity of the shield widget that is used to darken the background of
// the grid.
constexpr float kShieldOpacity = 0.4f;
// The amount of rounding on window edges in overview mode.
constexpr int kOverviewWindowRoundingDp = 4;
// Amount of blur to apply on the wallpaper when we enter or exit overview
// mode.
constexpr float kWallpaperBlurSigma = 10.f;
constexpr float kWallpaperClearBlurSigma = 0.f;
} // namespace ash
#endif // ASH_WM_OVERVIEW_OVERVIEW_CONSTANTS_H_