Searched refs:mAmbientState (Results 1 – 2 of 2) sorted by relevance
61 private AmbientState mAmbientState; field in NotificationShelf99 mAmbientState = ambientState; in bind()168 mShelfState.alpha = mAmbientState.hasPulsingNotifications() ? 0 : 1; in updateState()169 mShelfState.belowSpeedBump = mAmbientState.getSpeedBumpIndex() == 0; in updateState()177 mShelfState.hidden = !mAmbientState.isShadeExpanded(); in updateState()194 View lastChild = mAmbientState.getLastVisibleBackgroundChild(); in updateAppearance()213 float currentScrollVelocity = mAmbientState.getCurrentScrollVelocity(); in updateAppearance()215 || (mAmbientState.isExpansionChanging() in updateAppearance()216 && Math.abs(mAmbientState.getExpandingVelocity()) > mScrollFastThreshold); in updateAppearance()218 boolean expandingAnimated = mAmbientState.isExpansionChanging() in updateAppearance()[all …]
161 private final AmbientState mAmbientState; field in NotificationStackScrollLayout391 mAmbientState = new AmbientState(context); in NotificationStackScrollLayout()453 if (mShouldDrawNotificationBackground && !mAmbientState.isDark() in onDraw()507 mAmbientState.reload(context); in initView()580 mAmbientState.setSpeedBumpIndex(newIndex); in updateSpeedBumpIndex()610 mAmbientState.setLayoutHeight(getLayoutHeight()); in updateAlgorithmHeightAndPadding()612 mAmbientState.setTopPadding(mTopPadding); in updateAlgorithmHeightAndPadding()616 mAmbientState.setLayoutMinHeight(mQsExpanded && !onKeyguard() ? getLayoutMinHeight() : 0); in updateAlgorithmLayoutMinHeight()625 mAmbientState.setCurrentScrollVelocity(mScroller.isFinished() in updateChildren()628 mAmbientState.setScrollY(mOwnScrollY); in updateChildren()[all …]