Home
last modified time | relevance | path

Searched refs:expandableView (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DExpandableViewState.java161 expandableView.setHideSensitive( in applyToView()
177 expandableView.setTransformingInShelf(false); in applyToView()
178 expandableView.setInShelf(inShelf); in applyToView()
181 expandableView.setHeadsUpIsVisible(); in applyToView()
196 if (this.height != expandableView.getActualHeight()) { in animateTo()
197 startHeightAnimation(expandableView, properties); in animateTo()
220 expandableView.setBelowSpeedBump(this.belowSpeedBump); in animateTo()
231 if (!expandableView.isInShelf() && this.inShelf) { in animateTo()
232 expandableView.setTransformingInShelf(true); in animateTo()
234 expandableView.setInShelf(this.inShelf); in animateTo()
[all …]
H A DNotificationRoundnessManager.java63 public boolean isViewAffectedBySwipe(ExpandableView expandableView) { in isViewAffectedBySwipe() argument
64 return expandableView != null in isViewAffectedBySwipe()
65 && (expandableView == mSwipedView in isViewAffectedBySwipe()
66 || expandableView == mViewBeforeSwipedView in isViewAffectedBySwipe()
67 || expandableView == mViewAfterSwipedView); in isViewAffectedBySwipe()
H A DNotificationStackScrollLayout.java1784 ExpandableView expandableView = (ExpandableView) v;
2726 ExpandableView expandableView = (ExpandableView) child; in onViewRemoved() local
2728 onViewRemovedInternal(expandableView, this); in onViewRemoved()
2731 mShelf.requestRoundnessResetFor(expandableView); in onViewRemoved()
2735 expandableView, in onViewRemoved()
2963 return expandableView.getIntrinsicHeight(); in getIntrinsicHeight()
4382 expandableView.getTranslationY(); in updateViewShadows()
4383 expandableView.setFakeShadowIntensity( in updateViewShadows()
4388 previous = expandableView; in updateViewShadows()
5150 expandableView.dump(pw, args); in dump()
[all …]
H A DStackScrollAlgorithm.java888 ExpandableView expandableView = (ExpandableView) child; in getMaxAllowedChildHeight() local
889 return expandableView.getIntrinsicHeight(); in getMaxAllowedChildHeight()
H A DNotificationStackScrollLayoutController.java855 public boolean isViewAffectedBySwipe(ExpandableView expandableView) { in isViewAffectedBySwipe() argument
856 return mNotificationRoundnessManager.isViewAffectedBySwipe(expandableView); in isViewAffectedBySwipe()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationShelfTest.kt205 whenever(expandableView.minHeight).thenReturn(20)
207 whenever(expandableView.isInShelf).thenReturn(true)
214 /* view= */ expandableView,
232 whenever(expandableView.minHeight).thenReturn(20)
234 whenever(expandableView.isInShelf).thenReturn(true)
241 /* view= */ expandableView,
259 whenever(expandableView.minHeight).thenReturn(25)
261 whenever(expandableView.isInShelf).thenReturn(true)
268 /* view= */ expandableView,
286 whenever(expandableView.minHeight).thenReturn(10)
[all …]
H A DNotificationStackSizeCalculatorTest.kt283 val expandableView = createMockRow(10f, isSticky = true) regex
284 whenever(expandableView.getMinHeight(any())).thenReturn(5)
288 expandableView,
302 val expandableView = createMockRow(rowHeight) regex
303 whenever(expandableView.getMinHeight(any())).thenReturn(5)
304 whenever(expandableView.intrinsicHeight).thenReturn(10)
308 expandableView,
322 val expandableView = createMockRow(rowHeight) regex
323 whenever(expandableView.getMinHeight(any())).thenReturn(1)
327 expandableView,
H A DStackScrollAlgorithmTest.kt407 val expandableView = mock(ExpandableView::class.java) regex
408 whenever(expandableView.isExpandAnimationRunning).thenReturn(false)
409 whenever(expandableView.hasExpandingChild()).thenReturn(false)
414 stackScrollAlgorithm.updateViewWithShelf(expandableView, expandableViewState, shelfStart)
423 val expandableView = mock(ExpandableView::class.java) regex
424 whenever(expandableView.isExpandAnimationRunning).thenReturn(false)
425 whenever(expandableView.hasExpandingChild()).thenReturn(false)
430 stackScrollAlgorithm.updateViewWithShelf(expandableView, expandableViewState, shelfStart)
439 val expandableView = mock(ExpandableView::class.java) regex
440 whenever(expandableView.isExpandAnimationRunning).thenReturn(true)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DDragDownHelperTest.kt49 private val expandableView: ExpandableView = mock()
54 whenever(expandableView.collapsedHeight).thenReturn(collapsedHeight)
68 whenever(expandableView.actualHeight).thenReturn(500)
70 dragDownHelper.cancelChildExpansion(expandableView, animationDuration = 0)
72 verify(expandableView, atLeast(1)).actualHeight = collapsedHeight
77 whenever(expandableView.actualHeight).thenReturn(collapsedHeight)
79 dragDownHelper.cancelChildExpansion(expandableView, animationDuration = 0)
81 verify(expandableView, never()).actualHeight = anyInt()
H A DPulseExpansionHandlerTest.kt64 private val expandableView: ExpandableView = mock()
68 whenever(expandableView.collapsedHeight).thenReturn(collapsedHeight)
89 whenever(expandableView.actualHeight).thenReturn(500)
91 pulseExpansionHandler.reset(expandableView, animationDuration = 0)
93 verify(expandableView, atLeast(1)).actualHeight = collapsedHeight
98 whenever(expandableView.actualHeight).thenReturn(collapsedHeight)
100 pulseExpansionHandler.reset(expandableView, animationDuration = 0)
102 verify(expandableView, never()).actualHeight = anyInt()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShelf.java588 private boolean isViewAffectedBySwipe(ExpandableView expandableView) {
590 return mHostLayoutController.isViewAffectedBySwipe(expandableView);
592 return mRoundnessManager.isViewAffectedBySwipe(expandableView);