/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayoutTest.java | 62 private NotificationStackScrollLayout mStackScroller; field in NotificationStackScrollLayoutTest 81 mStackScroller = new NotificationStackScrollLayout(getContext()); in setUp() 82 mStackScroller.setShelf(notificationShelf); in setUp() 83 mStackScroller.setStatusBar(mBar); in setUp() 84 mStackScroller.setScrimController(mock(ScrimController.class)); in setUp() 85 mStackScroller.setHeadsUpManager(mHeadsUpManager); in setUp() 86 mStackScroller.setGroupManager(mGroupManager); in setUp() 87 mStackScroller.setEmptyShadeView(mEmptyShadeView); in setUp() 105 mStackScroller.setDimmed(true /* dimmed */, false /* animate */); in testNotDimmedOnKeyguard() 106 mStackScroller.setDimmed(true /* dimmed */, true /* animate */); in testNotDimmedOnKeyguard() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpAppearanceController.java | 47 private final NotificationStackScrollLayout mStackScroller; field in HeadsUpAppearanceController 91 mStackScroller = stackScroller; in HeadsUpAppearanceController() 96 mStackScroller.addOnExpandedHeightListener(mSetExpandedHeight); in HeadsUpAppearanceController() 97 mStackScroller.addOnLayoutChangeListener(mStackScrollLayoutChangeListener); in HeadsUpAppearanceController() 98 mStackScroller.setHeadsUpAppearanceController(this); in HeadsUpAppearanceController() 111 mStackScroller.removeOnExpandedHeightListener(mSetExpandedHeight); in destroy() 112 mStackScroller.removeOnLayoutChangeListener(mStackScrollLayoutChangeListener); in destroy() 156 if (mStackScroller.getDisplay() != null) { in getRtlTranslation() 157 mStackScroller.getDisplay().getRealSize(mPoint); in getRtlTranslation() 161 WindowInsets windowInset = mStackScroller.getRootWindowInsets(); in getRtlTranslation() [all …]
|
D | NotificationsQuickSettingsContainer.java | 49 private NotificationStackScrollLayout mStackScroller; field in NotificationsQuickSettingsContainer 67 mStackScroller = findViewById(R.id.notification_stack_scroller); in onFinishInflate() 68 mStackScrollerMargin = ((LayoutParams) mStackScroller.getLayoutParams()).bottomMargin; in onFinishInflate() 91 reloadWidth(mStackScroller, R.dimen.notification_panel_width); in onConfigurationChanged() 116 View stackQsTop = qsBottom ? mStackScroller : mQsFrame; in drawChild() 117 View stackQsBottom = !qsBottom ? mStackScroller : mQsFrame; in drawChild() 125 } else if (child == mStackScroller) { in drawChild() 177 setBottomMargin(mStackScroller, 0); in setCustomizerShowing() 180 setBottomMargin(mStackScroller, mStackScrollerMargin); in setCustomizerShowing() 182 mStackScroller.setQsCustomizerShowing(isShowing); in setCustomizerShowing()
|
D | HeadsUpTouchHelper.java | 35 private NotificationStackScrollLayout mStackScroller; field in HeadsUpTouchHelper 50 mStackScroller = stackScroller; in HeadsUpTouchHelper() 78 ExpandableView child = mStackScroller.getChildAtRawPosition(x, y); in onInterceptTouchEvent() 82 mTouchingHeadsUpView = !mStackScroller.isExpanded() in onInterceptTouchEvent() 84 } else if (child == null && !mStackScroller.isExpanded()) { in onInterceptTouchEvent()
|
D | StatusBar.java | 806 mStackScroller = mStatusBarWindow.findViewById(R.id.notification_stack_scroller); in makeStatusBarView() 811 mStackScroller); in makeStatusBarView() 812 mGutsManager.setUpWithPresenter(this, mEntryManager, mStackScroller, mCheckSaveListener, in makeStatusBarView() 820 mNotificationLogger.setUpWithEntryManager(mEntryManager, mStackScroller); in makeStatusBarView() 823 mAboveShelfObserver = new AboveShelfObserver(mStackScroller); in makeStatusBarView() 869 mEntryManager.setUpWithPresenter(this, mStackScroller, this, mHeadsUpManager); in makeStatusBarView() 870 mViewHierarchyManager.setUpWithPresenter(this, mEntryManager, mStackScroller); in makeStatusBarView() 887 mStackScroller.setLongPressListener(mEntryManager.getNotificationLongClicker()); in makeStatusBarView() 888 mStackScroller.setStatusBar(this); in makeStatusBarView() 889 mStackScroller.setGroupManager(mGroupManager); in makeStatusBarView() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | HeadsUpAppearanceControllerTest.java | 56 private final NotificationStackScrollLayout mStackScroller = field in HeadsUpAppearanceControllerTest 77 mStackScroller, in setUp() 130 reset(mStackScroller); in testDestroy() 137 verify(mStackScroller).removeOnExpandedHeightListener(any()); in testDestroy() 138 verify(mStackScroller).removeOnLayoutChangeListener(any()); in testDestroy()
|
D | StatusBarTest.java | 128 @Mock private NotificationStackScrollLayout mStackScroller; field in StatusBarTest 186 when(mStackScroller.generateLayoutParams(any())).thenReturn(new LayoutParams(0, 0)); in setup() 189 when(mStackScroller.getActivatedChild()).thenReturn(null); in setup() 207 mKeyguardIndicationController, mStackScroller, mHeadsUpManager, in setup() 219 mEntryManager.setUpForTest(mStatusBar, mStackScroller, mStatusBar, mHeadsUpManager, in setup() 221 mNotificationLogger.setUpWithEntryManager(mEntryManager, mStackScroller); in setup() 602 verify(mStackScroller).setFooterView(captor.capture()); in testInflateFooterView() 614 verify(mStackScroller).updateFooterView(false, false); in testUpdateFooter_noNotifications() 626 when(mStackScroller.getChildCount()).thenReturn(1); in testUpdateFooter_remoteInput() 627 when(mStackScroller.getChildAt(anyInt())).thenReturn(row); in testUpdateFooter_remoteInput() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 144 private TaskStackViewScroller mStackScroller; field in TaskStackView 259 mStackScroller = new TaskStackViewScroller(context, this, mLayoutAlgorithm); in TaskStackView() 260 mTouchHandler = new TaskStackViewTouchHandler(context, this, mStackScroller); in TaskStackView() 331 mStackScroller.reset(); in onReload() 366 mStackScroller.setStackScrollToInitialState(); in updateToInitialState() 545 mStackScroller.getStackScroll(), targetStackScroll, mIgnoreTasks, in bindVisibleTaskViews() 656 bindVisibleTaskViews(mStackScroller.getStackScroll(), ignoreTaskOverrides); in relayoutTaskViews() 716 mLayoutAlgorithm.getStackTransform(task, mStackScroller.getStackScroll(), in getCurrentTaskTransforms() 831 mStackScroller.boundScroll(); in updateLayoutAlgorithm() 848 return mStackScroller; in getScroller() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | CarStatusBar.java | 93 mStackScroller.setScrollingEnabled(true); in start() 373 pw.println(" mStackScroller: " + viewInfo(mStackScroller)); in dump() 374 pw.println(" mStackScroller: " + viewInfo(mStackScroller) in dump() 375 + " scroll " + mStackScroller.getScrollX() in dump() 376 + "," + mStackScroller.getScrollY()); in dump()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationGutsManagerTest.java | 91 @Mock private NotificationStackScrollLayout mStackScroller; field in NotificationGutsManagerTest 103 mGutsManager.setUpWithPresenter(mPresenter, mEntryManager, mStackScroller, in setUp()
|