Home
last modified time | relevance | path

Searched refs:mAmbientState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java67 private AmbientState mAmbientState; field in NotificationShelf
111 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 …]
DNotificationShelfController.java42 private AmbientState mAmbientState; field in NotificationShelfController
81 return mAmbientState.isShadeExpanded() in canModifyColorOfNotifications()
82 && !(mAmbientState.isOnKeyguard() && mKeyguardBypassController.getBypassEnabled()); in canModifyColorOfNotifications()
100 mAmbientState = ambientState; in bind()
109 mAmbientState = ambientState; in updateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java212 private final AmbientState mAmbientState; field in NotificationStackScrollLayout
380 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 …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java92 private AmbientState mAmbientState; field in NotificationStackScrollLayoutTest
137 mAmbientState = new AmbientState(mContext, mNotificationSectionsManager, mBypassController); in setUp()
150 mAmbientState, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPanelViewController.java184 protected final AmbientState mAmbientState; field in PanelViewController
209 return mAmbientState; in getAmbientState()
221 mAmbientState = ambientState; in PanelViewController()
DNotificationPanelViewController.java2268 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationPanelViewTest.java269 private AmbientState mAmbientState; field in NotificationPanelViewTest
433 mAmbientState, in setup()