Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License |
| 15 | */ |
| 16 | |
| 17 | package com.android.systemui.statusbar.phone; |
| 18 | |
Lucas Dupin | 7da4f26 | 2018-09-20 13:41:46 -0700 | [diff] [blame] | 19 | import static com.android.systemui.doze.util.BurnInHelperKt.getBurnInOffset; |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 20 | import static com.android.systemui.statusbar.notification.NotificationUtils.interpolate; |
| 21 | |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 22 | import android.content.res.Resources; |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 23 | import android.util.MathUtils; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 24 | |
Lucas Dupin | 60661a6 | 2018-04-12 10:50:13 -0700 | [diff] [blame] | 25 | import com.android.keyguard.KeyguardStatusView; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 26 | import com.android.systemui.Interpolators; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 27 | import com.android.systemui.R; |
| 28 | |
| 29 | /** |
| 30 | * Utility class to calculate the clock position and top padding of notifications on Keyguard. |
| 31 | */ |
| 32 | public class KeyguardClockPositionAlgorithm { |
| 33 | |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 34 | /** |
| 35 | * How much the clock height influences the shade position. |
| 36 | * 0 means nothing, 1 means move the shade up by the height of the clock |
| 37 | * 0.5f means move the shade up by half of the size of the clock. |
| 38 | */ |
| 39 | private static float CLOCK_HEIGHT_WEIGHT = 0.7f; |
| 40 | |
| 41 | /** |
| 42 | * Margin between the bottom of the clock and the notification shade. |
| 43 | */ |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 44 | private int mClockNotificationsMargin; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 45 | |
| 46 | /** |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 47 | * Height of the parent view - display size in px. |
| 48 | */ |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 49 | private int mHeight; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 50 | |
| 51 | /** |
| 52 | * Height of {@link KeyguardStatusView}. |
| 53 | */ |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 54 | private int mKeyguardStatusHeight; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 55 | |
| 56 | /** |
Robert Snoeberger | 6995680 | 2019-04-16 16:55:21 -0400 | [diff] [blame] | 57 | * Preferred Y position of clock. |
| 58 | */ |
| 59 | private int mClockPreferredY; |
| 60 | |
| 61 | /** |
Robert Snoeberger | 168949a | 2019-04-18 09:39:42 -0400 | [diff] [blame] | 62 | * Whether or not there is a custom clock face on keyguard. |
| 63 | */ |
| 64 | private boolean mHasCustomClock; |
| 65 | |
| 66 | /** |
| 67 | * Whether or not the NSSL contains any visible notifications. |
| 68 | */ |
| 69 | private boolean mHasVisibleNotifs; |
| 70 | |
| 71 | /** |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 72 | * Height of notification stack: Sum of height of each notification. |
| 73 | */ |
| 74 | private int mNotificationStackHeight; |
| 75 | |
| 76 | /** |
| 77 | * Minimum top margin to avoid overlap with status bar. |
| 78 | */ |
| 79 | private int mMinTopMargin; |
| 80 | |
| 81 | /** |
| 82 | * Maximum bottom padding to avoid overlap with {@link KeyguardBottomAreaView} or |
| 83 | * the ambient indication. |
| 84 | */ |
| 85 | private int mMaxShadeBottom; |
| 86 | |
| 87 | /** |
Lucas Dupin | bc9aac1 | 2018-03-04 20:18:15 -0800 | [diff] [blame] | 88 | * Minimum distance from the status bar. |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 89 | */ |
Lucas Dupin | bc9aac1 | 2018-03-04 20:18:15 -0800 | [diff] [blame] | 90 | private int mContainerTopPadding; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 91 | |
| 92 | /** |
Dave Mankoff | af8163f | 2020-01-08 14:24:35 -0500 | [diff] [blame] | 93 | * @see NotificationPanelViewController#getExpandedFraction() |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 94 | */ |
Lucas Dupin | 60661a6 | 2018-04-12 10:50:13 -0700 | [diff] [blame] | 95 | private float mPanelExpansion; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 96 | |
| 97 | /** |
| 98 | * Burn-in prevention x translation. |
| 99 | */ |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 100 | private int mBurnInPreventionOffsetX; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 101 | |
| 102 | /** |
| 103 | * Burn-in prevention y translation. |
| 104 | */ |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 105 | private int mBurnInPreventionOffsetY; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 106 | |
| 107 | /** |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 108 | * Doze/AOD transition amount. |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 109 | */ |
Adrian Roos | 52414e3 | 2017-04-28 09:23:19 -0700 | [diff] [blame] | 110 | private float mDarkAmount; |
Selim Cinek | f99d000 | 2014-06-13 07:36:01 +0200 | [diff] [blame] | 111 | |
Lucas Dupin | 55c6e80 | 2018-09-27 18:07:36 -0700 | [diff] [blame] | 112 | private float mEmptyDragAmount; |
Lucas Dupin | 4c2aa39 | 2018-03-28 18:00:45 -0700 | [diff] [blame] | 113 | |
| 114 | /** |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 115 | * Setting if bypass is enabled. If true the clock should always be positioned like it's dark |
| 116 | * and other minor adjustments. |
Selim Cinek | c1d9ab2 | 2019-05-21 18:08:30 -0700 | [diff] [blame] | 117 | */ |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 118 | private boolean mBypassEnabled; |
| 119 | |
| 120 | /** |
| 121 | * The stackscroller padding when unlocked |
| 122 | */ |
| 123 | private int mUnlockedStackScrollerPadding; |
Selim Cinek | c1d9ab2 | 2019-05-21 18:08:30 -0700 | [diff] [blame] | 124 | |
| 125 | /** |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 126 | * Refreshes the dimension values. |
| 127 | */ |
| 128 | public void loadDimens(Resources res) { |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 129 | mClockNotificationsMargin = res.getDimensionPixelSize( |
| 130 | R.dimen.keyguard_clock_notifications_margin); |
Robert Snoeberger | 69969c2 | 2019-05-02 16:44:11 -0400 | [diff] [blame] | 131 | // Consider the lock icon when determining the minimum top padding between the status bar |
| 132 | // and top of the clock. |
| 133 | mContainerTopPadding = Math.max(res.getDimensionPixelSize( |
| 134 | R.dimen.keyguard_clock_top_margin), |
| 135 | res.getDimensionPixelSize(R.dimen.keyguard_lock_height) |
| 136 | + res.getDimensionPixelSize(R.dimen.keyguard_lock_padding) |
| 137 | + res.getDimensionPixelSize(R.dimen.keyguard_clock_lock_margin)); |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 138 | mBurnInPreventionOffsetX = res.getDimensionPixelSize( |
| 139 | R.dimen.burn_in_prevention_offset_x); |
| 140 | mBurnInPreventionOffsetY = res.getDimensionPixelSize( |
| 141 | R.dimen.burn_in_prevention_offset_y); |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 142 | } |
| 143 | |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 144 | public void setup(int minTopMargin, int maxShadeBottom, int notificationStackHeight, |
Robert Snoeberger | 6995680 | 2019-04-16 16:55:21 -0400 | [diff] [blame] | 145 | float panelExpansion, int parentHeight, int keyguardStatusHeight, int clockPreferredY, |
Selim Cinek | c1d9ab2 | 2019-05-21 18:08:30 -0700 | [diff] [blame] | 146 | boolean hasCustomClock, boolean hasVisibleNotifs, float dark, float emptyDragAmount, |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 147 | boolean bypassEnabled, int unlockedStackScrollerPadding) { |
Lucas Dupin | bc9aac1 | 2018-03-04 20:18:15 -0800 | [diff] [blame] | 148 | mMinTopMargin = minTopMargin + mContainerTopPadding; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 149 | mMaxShadeBottom = maxShadeBottom; |
| 150 | mNotificationStackHeight = notificationStackHeight; |
Lucas Dupin | 60661a6 | 2018-04-12 10:50:13 -0700 | [diff] [blame] | 151 | mPanelExpansion = panelExpansion; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 152 | mHeight = parentHeight; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 153 | mKeyguardStatusHeight = keyguardStatusHeight; |
Robert Snoeberger | 6995680 | 2019-04-16 16:55:21 -0400 | [diff] [blame] | 154 | mClockPreferredY = clockPreferredY; |
Robert Snoeberger | 168949a | 2019-04-18 09:39:42 -0400 | [diff] [blame] | 155 | mHasCustomClock = hasCustomClock; |
| 156 | mHasVisibleNotifs = hasVisibleNotifs; |
Adrian Roos | 52414e3 | 2017-04-28 09:23:19 -0700 | [diff] [blame] | 157 | mDarkAmount = dark; |
Lucas Dupin | 55c6e80 | 2018-09-27 18:07:36 -0700 | [diff] [blame] | 158 | mEmptyDragAmount = emptyDragAmount; |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 159 | mBypassEnabled = bypassEnabled; |
| 160 | mUnlockedStackScrollerPadding = unlockedStackScrollerPadding; |
Selim Cinek | 5f71bee | 2015-11-18 10:25:23 -0800 | [diff] [blame] | 161 | } |
| 162 | |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 163 | public void run(Result result) { |
Selim Cinek | db6d6df | 2019-05-22 20:39:59 -0700 | [diff] [blame] | 164 | final int y = getClockY(mPanelExpansion); |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 165 | result.clockY = y; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 166 | result.clockAlpha = getClockAlpha(y); |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 167 | result.stackScrollerPadding = mBypassEnabled ? mUnlockedStackScrollerPadding |
| 168 | : y + mKeyguardStatusHeight; |
| 169 | result.stackScrollerPaddingExpanded = mBypassEnabled ? mUnlockedStackScrollerPadding |
| 170 | : getClockY(1.0f) + mKeyguardStatusHeight; |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 171 | result.clockX = (int) interpolate(0, burnInPreventionOffsetX(), mDarkAmount); |
Selim Cinek | f99d000 | 2014-06-13 07:36:01 +0200 | [diff] [blame] | 172 | } |
| 173 | |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 174 | public float getMinStackScrollerPadding() { |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 175 | return mBypassEnabled ? mUnlockedStackScrollerPadding |
| 176 | : mMinTopMargin + mKeyguardStatusHeight + mClockNotificationsMargin; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 177 | } |
| 178 | |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 179 | private int getMaxClockY() { |
| 180 | return mHeight / 2 - mKeyguardStatusHeight - mClockNotificationsMargin; |
| 181 | } |
| 182 | |
Robert Snoeberger | 6995680 | 2019-04-16 16:55:21 -0400 | [diff] [blame] | 183 | private int getPreferredClockY() { |
Robert Snoeberger | 4cbd159 | 2019-04-24 14:20:38 -0400 | [diff] [blame] | 184 | return mClockPreferredY; |
| 185 | } |
| 186 | |
| 187 | private int getExpandedPreferredClockY() { |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 188 | return (mHasCustomClock && (!mHasVisibleNotifs || mBypassEnabled)) ? getPreferredClockY() |
Robert Snoeberger | 4cbd159 | 2019-04-24 14:20:38 -0400 | [diff] [blame] | 189 | : getExpandedClockPosition(); |
Robert Snoeberger | 6995680 | 2019-04-16 16:55:21 -0400 | [diff] [blame] | 190 | } |
| 191 | |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 192 | /** |
| 193 | * Vertically align the clock and the shade in the available space considering only |
| 194 | * a percentage of the clock height defined by {@code CLOCK_HEIGHT_WEIGHT}. |
| 195 | * @return Clock Y in pixels. |
| 196 | */ |
Lucas Dupin | 60661a6 | 2018-04-12 10:50:13 -0700 | [diff] [blame] | 197 | public int getExpandedClockPosition() { |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 198 | final int availableHeight = mMaxShadeBottom - mMinTopMargin; |
| 199 | final int containerCenter = mMinTopMargin + availableHeight / 2; |
| 200 | |
| 201 | float y = containerCenter - mKeyguardStatusHeight * CLOCK_HEIGHT_WEIGHT |
| 202 | - mClockNotificationsMargin - mNotificationStackHeight / 2; |
Lucas Dupin | bc9aac1 | 2018-03-04 20:18:15 -0800 | [diff] [blame] | 203 | if (y < mMinTopMargin) { |
| 204 | y = mMinTopMargin; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 205 | } |
| 206 | |
| 207 | // Don't allow the clock base to be under half of the screen |
| 208 | final float maxClockY = getMaxClockY(); |
| 209 | if (y > maxClockY) { |
| 210 | y = maxClockY; |
| 211 | } |
| 212 | |
| 213 | return (int) y; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 214 | } |
| 215 | |
Selim Cinek | db6d6df | 2019-05-22 20:39:59 -0700 | [diff] [blame] | 216 | private int getClockY(float panelExpansion) { |
Lucas Dupin | d285cf0 | 2018-01-18 09:18:23 -0800 | [diff] [blame] | 217 | // Dark: Align the bottom edge of the clock at about half of the screen: |
Robert Snoeberger | 4cbd159 | 2019-04-24 14:20:38 -0400 | [diff] [blame] | 218 | float clockYDark = (mHasCustomClock ? getPreferredClockY() : getMaxClockY()) |
| 219 | + burnInPreventionOffsetY(); |
Robert Snoeberger | 10b6353 | 2018-11-07 16:14:11 -0500 | [diff] [blame] | 220 | clockYDark = MathUtils.max(0, clockYDark); |
Lucas Dupin | 5605734 | 2018-04-10 11:49:18 -0700 | [diff] [blame] | 221 | |
Robert Snoeberger | 4cbd159 | 2019-04-24 14:20:38 -0400 | [diff] [blame] | 222 | float clockYRegular = getExpandedPreferredClockY(); |
Lucas Dupin | 55c6e80 | 2018-09-27 18:07:36 -0700 | [diff] [blame] | 223 | float clockYBouncer = -mKeyguardStatusHeight; |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 224 | |
| 225 | // Move clock up while collapsing the shade |
Selim Cinek | db6d6df | 2019-05-22 20:39:59 -0700 | [diff] [blame] | 226 | float shadeExpansion = Interpolators.FAST_OUT_LINEAR_IN.getInterpolation(panelExpansion); |
Lucas Dupin | 55c6e80 | 2018-09-27 18:07:36 -0700 | [diff] [blame] | 227 | float clockY = MathUtils.lerp(clockYBouncer, clockYRegular, shadeExpansion); |
| 228 | clockYDark = MathUtils.lerp(clockYBouncer, clockYDark, shadeExpansion); |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 229 | |
Selim Cinek | b0fada6 | 2019-06-17 19:03:59 -0700 | [diff] [blame] | 230 | float darkAmount = mBypassEnabled && !mHasCustomClock ? 1.0f : mDarkAmount; |
Selim Cinek | c1d9ab2 | 2019-05-21 18:08:30 -0700 | [diff] [blame] | 231 | return (int) (MathUtils.lerp(clockY, clockYDark, darkAmount) + mEmptyDragAmount); |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 232 | } |
| 233 | |
Lucas Dupin | bc9aac1 | 2018-03-04 20:18:15 -0800 | [diff] [blame] | 234 | /** |
| 235 | * We might want to fade out the clock when the user is swiping up. |
| 236 | * One exception is when the bouncer will become visible, in this cause the clock |
| 237 | * should always persist. |
| 238 | * |
| 239 | * @param y Current clock Y. |
| 240 | * @return Alpha from 0 to 1. |
| 241 | */ |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 242 | private float getClockAlpha(int y) { |
Lucas Dupin | df4ee3c | 2019-10-21 15:56:55 -0700 | [diff] [blame] | 243 | float alphaKeyguard = Math.max(0, y / Math.max(1f, getClockY(1f))); |
Lucas Dupin | 2e838ac | 2019-04-17 16:50:58 -0700 | [diff] [blame] | 244 | alphaKeyguard = Interpolators.ACCELERATE.getInterpolation(alphaKeyguard); |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 245 | return MathUtils.lerp(alphaKeyguard, 1f, mDarkAmount); |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 246 | } |
| 247 | |
| 248 | private float burnInPreventionOffsetY() { |
Lucas Dupin | 7da4f26 | 2018-09-20 13:41:46 -0700 | [diff] [blame] | 249 | return getBurnInOffset(mBurnInPreventionOffsetY * 2, false /* xAxis */) |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 250 | - mBurnInPreventionOffsetY; |
| 251 | } |
| 252 | |
| 253 | private float burnInPreventionOffsetX() { |
Lucas Dupin | 7da4f26 | 2018-09-20 13:41:46 -0700 | [diff] [blame] | 254 | return getBurnInOffset(mBurnInPreventionOffsetX * 2, true /* xAxis */) |
Adrian Roos | dc747bd | 2017-06-01 16:09:15 -0700 | [diff] [blame] | 255 | - mBurnInPreventionOffsetX; |
| 256 | } |
| 257 | |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 258 | public static class Result { |
| 259 | |
| 260 | /** |
Lucas Dupin | 41ff695 | 2018-02-18 19:39:32 -0800 | [diff] [blame] | 261 | * The x translation of the clock. |
| 262 | */ |
| 263 | public int clockX; |
| 264 | |
| 265 | /** |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 266 | * The y translation of the clock. |
| 267 | */ |
| 268 | public int clockY; |
| 269 | |
| 270 | /** |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 271 | * The alpha value of the clock. |
| 272 | */ |
| 273 | public float clockAlpha; |
| 274 | |
| 275 | /** |
| 276 | * The top padding of the stack scroller, in pixels. |
| 277 | */ |
| 278 | public int stackScrollerPadding; |
Selim Cinek | db6d6df | 2019-05-22 20:39:59 -0700 | [diff] [blame] | 279 | |
| 280 | /** |
| 281 | * The top padding of the stack scroller, in pixels when fully expanded. |
| 282 | */ |
| 283 | public int stackScrollerPaddingExpanded; |
Jorim Jaggi | 7d16bb1 | 2014-05-22 04:24:50 +0200 | [diff] [blame] | 284 | } |
| 285 | } |