Home
last modified time | relevance | path

Searched refs:ExpandableView (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSection.java19 import com.android.systemui.statusbar.notification.row.ExpandableView;
27 private ExpandableView mFirstVisibleChild;
28 private ExpandableView mLastVisibleChild;
40 public ExpandableView getFirstVisibleChild() { in getFirstVisibleChild()
44 public ExpandableView getLastVisibleChild() { in getLastVisibleChild()
48 public boolean setFirstVisibleChild(ExpandableView child) { in setFirstVisibleChild()
54 public boolean setLastVisibleChild(ExpandableView child) { in setLastVisibleChild()
DNotificationRoundnessManager.java26 import com.android.systemui.statusbar.notification.row.ExpandableView;
43 private HashSet<ExpandableView> mAnimatedChildren;
47 private ExpandableView mSwipedView = null;
63 public boolean isViewAffectedBySwipe(ExpandableView expandableView) { in isViewAffectedBySwipe()
72 ExpandableView viewSwiped, in setViewsAffectedBySwipe()
125 public void setAnimatedChildren(HashSet<ExpandableView> animatedChildren) { in setAnimatedChildren()
134 public boolean isAnimatedChild(ExpandableView view) { in isAnimatedChild()
DNotificationListContainer.java30 import com.android.systemui.statusbar.notification.row.ExpandableView;
37 ExpandableView.OnHeightChangedListener,
52 void changeViewPosition(ExpandableView child, int newIndex); in changeViewPosition()
59 void notifyGroupChildAdded(ExpandableView row); in notifyGroupChildAdded()
66 void notifyGroupChildRemoved(ExpandableView row, ViewGroup childrenContainer); in notifyGroupChildRemoved()
DNotificationStackScrollLayout.java112 import com.android.systemui.statusbar.notification.row.ExpandableView;
231 private final HashSet<ExpandableView> mChildrenToAddAnimated = new HashSet<>();
233 private final ArrayList<ExpandableView> mChildrenToRemoveAnimated = new ArrayList<>();
234 private final ArrayList<ExpandableView> mChildrenChangingPositions = new ArrayList<>();
262 private ExpandableView.OnHeightChangedListener mOnHeightChangedListener;
298 private ExpandableView mExpandedGroupView;
337 private final HashSet<ExpandableView> mClearTransientViewsWhenFinished = new HashSet<>();
352 private final ArrayList<ExpandableView> mTmpSortedChildren = new ArrayList<>();
361 private final Comparator<ExpandableView> mViewPositionComparator = (view, otherView) -> {
574 private final ExpandableView.OnHeightChangedListener mOnChildHeightChangedListener =
[all …]
DNotificationStackSizeCalculator.kt31 import com.android.systemui.statusbar.notification.row.ExpandableView in <lambda>()
348 var previous: ExpandableView? = null in <lambda>()
423 private val NotificationStackScrollLayout.childrenSequence: Sequence<ExpandableView> in <lambda>()
424 get() = children.map { it as ExpandableView } in <lambda>()
434 view: ExpandableView, in <lambda>()
436 previousView: ExpandableView?, in <lambda>()
475 private fun ExpandableView.isShowable(onLockscreen: Boolean): Boolean { in <lambda>() method
493 previous: ExpandableView?, in <lambda>()
494 current: ExpandableView?, in <lambda>()
512 private fun ExpandableView.canShowViewOnLockscreen(): Boolean { in <lambda>() method
DExpandableViewState.java28 import com.android.systemui.statusbar.notification.row.ExpandableView;
145 if (view instanceof ExpandableView) { in applyToView()
146 ExpandableView expandableView = (ExpandableView) view; in applyToView()
187 if (!(child instanceof ExpandableView)) { in animateTo()
190 ExpandableView expandableView = (ExpandableView) child; in animateTo()
238 private void startHeightAnimation(final ExpandableView child, AnimationProperties properties) { in startHeightAnimation()
320 private void startClipAnimation(final ExpandableView child, AnimationProperties properties, in startClipAnimation()
398 public static int getFinalActualHeight(ExpandableView view) { in getFinalActualHeight()
DNotificationSectionsManager.kt32 import com.android.systemui.statusbar.notification.row.ExpandableView in <lambda>()
133 data class Many(val first: ExpandableView, val last: ExpandableView) : SectionBounds() in <lambda>()
135 data class One(val lone: ExpandableView) : SectionBounds() in <lambda>()
138 fun addNotif(notif: ExpandableView): SectionBounds = in <lambda>()
153 first: ExpandableView?, in <lambda>()
154 last: ExpandableView? in <lambda>()
169 children: List<ExpandableView> in <lambda>()
DStackStateAnimator.java38 import com.android.systemui.statusbar.notification.row.ExpandableView;
96 private ArrayList<ExpandableView> mTransientViewsToRemove = new ArrayList<>();
160 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i); in startAnimationForEvents()
188 private void initAnimationProperties(ExpandableView child, in initAnimationProperties()
205 private void adaptDurationWhenGoingToFullShade(ExpandableView child, in adaptDurationWhenGoingToFullShade()
226 private boolean applyWithoutAnimation(ExpandableView child, ExpandableViewState viewState) { in applyWithoutAnimation()
261 ((ExpandableView) (event.mChangingView)).getViewState().notGoneIndex; in calculateChildAnimationDelay()
274 ExpandableView viewAfterChangingView = noNextView in calculateChildAnimationDelay()
276 : (ExpandableView) event.viewAfterChangingView; in calculateChildAnimationDelay()
356 for (ExpandableView transientViewToRemove : mTransientViewsToRemove) { in onAnimationFinished()
[all …]
DStackScrollAlgorithm.java40 import com.android.systemui.statusbar.notification.row.ExpandableView;
144 for (ExpandableView view : algorithmState.visibleChildren) { in updateAlphaState()
291 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); in resetChildViewStates()
299 ExpandableView v = algorithmState.visibleChildren.get(i); in getNotificationChildrenStates()
311 ExpandableView child = algorithmState.visibleChildren.get(i); in updateSpeedBumpState()
342 ExpandableView child = algorithmState.visibleChildren.get(i); in updateClipping()
382 private boolean skipClipBottomForCycling(ExpandableView view, AmbientState ambientState) { in skipClipBottomForCycling()
392 public boolean isCyclingOut(ExpandableView view, AmbientState ambientState) { in isCyclingOut()
426 ExpandableView child = algorithmState.visibleChildren.get(i); in updateDimmedAndHideSensitive()
446 ExpandableView v = (ExpandableView) mHostView.getChildAt(i); in initAlgorithmState()
[all …]
DAmbientState.java37 import com.android.systemui.statusbar.notification.row.ExpandableView;
83 private ExpandableView mLastVisibleBackgroundChild;
520 ExpandableView lastVisibleBackgroundChild) { in setLastVisibleBackgroundChild()
524 public ExpandableView getLastVisibleBackgroundChild() { in getLastVisibleBackgroundChild()
591 public boolean isPulsingRow(ExpandableView row) { in isPulsingRow()
617 public boolean isDozingAndNotPulsing(ExpandableView view) { in isDozingAndNotPulsing()
DNotificationTargetsHelper.kt9 import com.android.systemui.statusbar.notification.row.ExpandableView
43 .filterIsInstance<ExpandableView>() in findRoundableTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableViewController.java25 private final ExpandableView mView;
28 public ExpandableViewController(ExpandableView view) { in ExpandableViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ui/viewbinder/
DExpandableViewBinder.kt3 import com.android.systemui.statusbar.notification.row.ExpandableView
7 fun bind(viewModel: ViewModel, view: ExpandableView) {} in bind()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt21 import com.android.systemui.statusbar.notification.row.ExpandableView
161 val expandableView = mock(ExpandableView::class.java) in getAmountInShelf_lastViewBelowShelf_completelyInShelf()
191 val expandableView = mock(ExpandableView::class.java) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf()
221 val expandableView = mock(ExpandableView::class.java) in getAmountInShelf_lastViewHalfClippedByShelf_halfInShelf()
251 val expandableView = mock(ExpandableView::class.java) in getAmountInShelf_lastViewAboveShelf_notInShelf()
343 val lastVisibleBackgroundChild = mock<ExpandableView>() in updateState_withNullLastVisibleBackgroundChild_hideShelf()
369 val lastVisibleBackgroundChild = mock<ExpandableView>() in updateState_withNullFirstViewInShelf_hideShelf()
394 val lastVisibleBackgroundChild = mock<ExpandableView>() in updateState_withCollapsedShade_hideShelf()
421 val lastVisibleBackgroundChild = mock<ExpandableView>() in updateState_withHiddenSectionBeforeShelf_hideShelf()
427 val ssaVisibleChild = mock<ExpandableView>() in updateState_withHiddenSectionBeforeShelf_hideShelf()
[all …]
DStackStateAnimatorTest.kt26 import com.android.systemui.statusbar.notification.row.ExpandableView
59 private val view: ExpandableView = mock()
138 /* clipSide= */ eq(ExpandableView.ClipSide.BOTTOM), in startAnimationForEvents_startsHeadsUpDisappearAnim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DActivatableNotificationViewModule.java21 import com.android.systemui.statusbar.notification.row.ExpandableView;
33 ExpandableView bindExpandableView(ActivatableNotificationView view); in bindExpandableView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java49 import com.android.systemui.statusbar.notification.row.ExpandableView;
204 ExpandableView lastView = ambientState.getLastVisibleBackgroundChild(); in updateState()
252 final ExpandableView viewBeforeShelf = algorithmState.visibleChildren.get( in updateState()
410 ExpandableView child = getHostLayoutChildAt(i); in updateAppearance()
517 private ExpandableView getHostLayoutChildAt(int index) {
518 return (ExpandableView) mHostLayout.getChildAt(index);
584 private boolean isViewAffectedBySwipe(ExpandableView expandableView) {
597 if (transientView instanceof ExpandableView transientExpandableView) {
675 private int updateNotificationClipHeight(ExpandableView view,
724 ExpandableView view,
[all …]
DPulseExpansionHandler.kt43 import com.android.systemui.statusbar.notification.row.ExpandableView in <lambda>()
107 private var mStartingChild: ExpandableView? = null in <lambda>()
298 child: ExpandableView, in <lambda>()
320 private fun setUserLocked(child: ExpandableView, userLocked: Boolean) { in <lambda>()
343 private fun findView(x: Float, y: Float): ExpandableView? { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java43 import com.android.systemui.statusbar.notification.row.ExpandableView;
49 ExpandableView getChildAtRawPosition(float x, float y); in getChildAtRawPosition()
50 ExpandableView getChildAtPosition(float x, float y); in getChildAtPosition()
55 int getMaxExpandHeight(ExpandableView view); in getMaxExpandHeight()
118 private ExpandableView mResizedView;
161 ExpandableView mView;
164 public void setView(ExpandableView v) { in setView()
234 private ExpandableView findView(float x, float y) { in findView()
235 ExpandableView v; in findView()
425 private boolean isFullyExpanded(ExpandableView underFocus) { in isFullyExpanded()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLSShadeTransitionLoggerTest.kt8 import com.android.systemui.statusbar.notification.row.ExpandableView
40 val view: ExpandableView = mock() in testLogDragDownStarted()
DDragDownHelperTest.kt29 import com.android.systemui.statusbar.notification.row.ExpandableView
51 private val expandableView: ExpandableView = mock()
DPulseExpansionHandlerTest.kt29 import com.android.systemui.statusbar.notification.row.ExpandableView
61 private val expandableView: ExpandableView = mock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationRoundnessLogger.kt23 import com.android.systemui.statusbar.notification.row.ExpandableView
34 view: ExpandableView?, in onCornersUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DRootNodeController.kt23 import com.android.systemui.statusbar.notification.row.ExpandableView
54 listContainer.changeViewPosition(child.view as ExpandableView, index) in moveChildTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java28 import com.android.systemui.statusbar.notification.row.ExpandableView;
83 ExpandableView child = mCallback.getChildAtRawPosition(x, y); in onInterceptTouchEvent()
193 ExpandableView getChildAtRawPosition(float touchX, float touchY);

12