Searched refs:mAmbientState (Results 1 – 2 of 2) sorted by relevance
70 private AmbientState mAmbientState; field in NotificationShelf111 mAmbientState = ambientState; in bind()196 float darkTranslation = mAmbientState.getDarkTopPadding(); in updateState()197 float yRatio = mAmbientState.hasPulsingNotifications() ? in updateState()198 0 : mAmbientState.getDarkAmount(); in updateState()206 mShelfState.alpha = mAmbientState.hasPulsingNotifications() ? 0 : 1; in updateState()207 mShelfState.belowSpeedBump = mAmbientState.getSpeedBumpIndex() == 0; in updateState()215 mShelfState.hidden = !mAmbientState.isShadeExpanded() in updateState()216 || mAmbientState.isQsCustomizerShowing(); in updateState()238 View lastChild = mAmbientState.getLastVisibleBackgroundChild(); in updateAppearance()[all …]
192 private final AmbientState mAmbientState; field in NotificationStackScrollLayout437 mAmbientState = new AmbientState(context); in NotificationStackScrollLayout()516 && (mCurrentBounds.top < mCurrentBounds.bottom || mAmbientState.isDark())) { in onDraw()540 if (mAmbientState.hasPulsingNotifications()) { in drawBackground()542 } else if (mAmbientState.isFullyDark()) { in drawBackground()558 if (!mAmbientState.isDark() || mFirstVisibleBackgroundChild != null) { in drawBackground()605 mAmbientState.reload(context); in initView()694 mAmbientState.setSpeedBumpIndex(newIndex); in updateSpeedBumpIndex()727 mAmbientState.setLayoutHeight(getLayoutHeight()); in updateAlgorithmHeightAndPadding()729 mAmbientState.setTopPadding(mTopPadding); in updateAlgorithmHeightAndPadding()[all …]