Searched refs:mAmbientState (Results 1 – 7 of 7) sorted by relevance
67 private AmbientState mAmbientState; field in NotificationShelf111 mAmbientState = ambientState; in bind()185 viewState.hidden = !mAmbientState.isShadeExpanded() in updateState()186 || mAmbientState.isQsCustomizerShowing() in updateState()192 if (mAmbientState.isExpansionChanging() in updateState()225 View lastChild = mAmbientState.getLastVisibleBackgroundChild(); in updateAppearance()237 float currentScrollVelocity = mAmbientState.getCurrentScrollVelocity(); in updateAppearance()239 || (mAmbientState.isExpansionChanging() in updateAppearance()240 && Math.abs(mAmbientState.getExpandingVelocity()) > mScrollFastThreshold); in updateAppearance()241 boolean expandingAnimated = mAmbientState.isExpansionChanging() in updateAppearance()[all …]
42 private AmbientState mAmbientState; field in NotificationShelfController81 return mAmbientState.isShadeExpanded() in canModifyColorOfNotifications()82 && !(mAmbientState.isOnKeyguard() && mKeyguardBypassController.getBypassEnabled()); in canModifyColorOfNotifications()100 mAmbientState = ambientState; in bind()109 mAmbientState = ambientState; in updateState()
212 private final AmbientState mAmbientState; field in NotificationStackScrollLayout380 if (mAmbientState.isHiddenAtAll()) {386 outline.setAlpha(1.0f - mAmbientState.getHideAmount());587 mAmbientState = ambientState; in NotificationStackScrollLayout()639 mAmbientState.setOverExpansion(margin); in setOverExpansion()725 || mAmbientState.isDozing())) { in onDraw()744 y = (int) (mAmbientState.getStackY()); in onDraw()748 y = (int) (mAmbientState.getStackY() + mAmbientState.getStackHeight()); in onDraw()790 shouldDrawBackground = !mAmbientState.isDozing() || anySectionHasVisibleChild; in drawBackground()926 mAmbientState.reload(context); in initView()[all …]
92 private AmbientState mAmbientState; field in NotificationStackScrollLayoutTest137 mAmbientState = new AmbientState(mContext, mNotificationSectionsManager, mBypassController); in setUp()150 mAmbientState, in setUp()
184 protected final AmbientState mAmbientState; field in PanelViewController209 return mAmbientState; in getAmbientState()221 mAmbientState = ambientState; in PanelViewController()
2268 mAmbientState.setIsShadeOpening(opening); in setIsShadeOpening()2273 final float scrollRangeToTop = mAmbientState.getTopPadding() - mQuickQsOffsetHeight; in updateQSExpansionEnabledAmbient()2274 mQsExpansionEnabledAmbient = mAmbientState.getScrollY() <= scrollRangeToTop; in updateQSExpansionEnabledAmbient()2440 return Math.max(mQuickQsOffsetHeight * mAmbientState.getExpansionFraction(), in getQSEdgePosition()2441 mAmbientState.getStackY() - mAmbientState.getScrollY()); in getQSEdgePosition()
269 private AmbientState mAmbientState; field in NotificationPanelViewTest433 mAmbientState, in setup()