Home
last modified time | relevance | path

Searched refs:shelf (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt50 private lateinit var shelf: NotificationShelf variable in com.android.systemui.statusbar.notification.stack.NotificationShelfTest
57 shelf = in setUp()
68 shelf.bind(ambientState, hostLayout, roundnessManager) in setUp()
69 shelf.layout(/* left */ 0, /* top */ 0, /* right */ 30, /* bottom */ 5) in setUp()
78 shelf.updateActualWidth(/* fractionToShade */ 0f, /* shortestWidth */ 10f) in testShadeWidth_BasedOnFractionToShade()
79 assertTrue(shelf.actualWidth == 10) in testShadeWidth_BasedOnFractionToShade()
81 shelf.updateActualWidth(/* fractionToShade */ 0.5f, /* shortestWidth */ 10f) in testShadeWidth_BasedOnFractionToShade()
82 assertTrue(shelf.actualWidth == 20) in testShadeWidth_BasedOnFractionToShade()
84 shelf.updateActualWidth(/* fractionToShade */ 1f, /* shortestWidth */ 10f) in testShadeWidth_BasedOnFractionToShade()
85 assertTrue(shelf.actualWidth == 30) in testShadeWidth_BasedOnFractionToShade()
[all …]
DStackScrollAlgorithmTest.kt358 ambientState.shelf = notificationShelf in <lambda>()
437 ambientState.shelf = notificationShelf in <lambda>()
450 ambientState.shelf = notificationShelf in <lambda>()
463 ambientState.shelf = notificationShelf in <lambda>()
477 ambientState.shelf = notificationShelf in <lambda>()
1218 ambientState.shelf = notificationShelf in <lambda>()
1240 ambientState.shelf = notificationShelf in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/shelf/ui/viewbinder/
DNotificationShelfViewBinder.kt17 package com.android.systemui.statusbar.notification.shelf.ui.viewbinder
25 import com.android.systemui.statusbar.notification.shelf.ui.viewmodel.NotificationShelfViewModel
34 shelf: NotificationShelf, in bind()
40 ActivatableNotificationViewBinder.bind(viewModel, shelf, falsingManager) in bind()
41 shelf.apply { in bind()
53 registerViewListenersWhileAttached(shelf, viewModel) in bind()
58 shelf: NotificationShelf, in registerViewListenersWhileAttached()
62 shelf.setOnClickListener { viewModel.onShelfClicked() } in registerViewListenersWhileAttached()
65 shelf.setOnClickListener(null) in registerViewListenersWhileAttached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationListViewBinder.kt41 import com.android.systemui.statusbar.notification.shelf.ui.viewbinder.NotificationShelfViewBinder in <lambda>()
91 val shelf = in <lambda>() constant
94 view.setShelf(shelf) in <lambda>()
101 launch { bindShelf(shelf) } in <lambda>()
125 private suspend fun bindShelf(shelf: NotificationShelf) { in <lambda>()
127 shelf, in <lambda>()
128 viewModel.shelf, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/shelf/ui/viewmodel/
DNotificationShelfViewModelKosmos.kt17 package com.android.systemui.statusbar.notification.shelf.ui.viewmodel
22 import com.android.systemui.statusbar.notification.shelf.domain.interactor.notificationShelfInterac…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/shelf/ui/viewmodel/
DNotificationShelfViewModel.kt17 package com.android.systemui.statusbar.notification.shelf.ui.viewmodel in <lambda>()
22 import com.android.systemui.statusbar.notification.shelf.domain.interactor.NotificationShelfInterac… in <lambda>()
/frameworks/layoutlib/
D.gitignore6 /.idea/shelf
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/shelf/domain/interactor/
DNotificationShelfInteractorKosmos.kt17 package com.android.systemui.statusbar.notification.shelf.domain.interactor
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/shelf/domain/interactor/
DNotificationShelfInteractor.kt17 package com.android.systemui.statusbar.notification.shelf.domain.interactor in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModelKosmos.kt28 import com.android.systemui.statusbar.notification.shelf.ui.viewmodel.notificationShelfViewModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModel.kt30 import com.android.systemui.statusbar.notification.shelf.ui.viewmodel.NotificationShelfViewModel in <lambda>()
54 val shelf: NotificationShelfViewModel, in <lambda>() constant in com.android.systemui.statusbar.notification.stack.ui.viewmodel.NotificationListViewModel
/frameworks/base/core/java/android/app/
Dnotification.aconfig63 …n in a notification with the app icon. This includes the status bar, AOD, shelf and notification r…
77 …description: "Experiment to replace the notification icon in the status bar and shelf with the mon…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java191 NotificationShelf shelf = ambientState.getShelf(); in updateAlphaState() local
192 if (shelf != null) { in updateAlphaState()
193 final ViewState shelfState = shelf.getViewState(); in updateAlphaState()
325 NotificationShelf shelf = ambientState.getShelf(); in updateShelfState() local
326 if (shelf == null) { in updateShelfState()
330 shelf.updateState(algorithmState, ambientState); in updateShelfState()
DAmbientState.java498 public void setShelf(NotificationShelf shelf) { in setShelf() argument
499 mShelf = shelf; in setShelf()
DNotificationStackScrollLayoutController.java1777 public void setShelf(NotificationShelf shelf) {
1778 mView.setShelf(shelf);
1782 ExpandableView shelf = mView.getShelf();
1783 return shelf == null ? 0 : shelf.getIntrinsicHeight();
DStackStateAnimator.java816 public void setShelf(NotificationShelf shelf) { in setShelf() argument
817 mShelf = shelf; in setShelf()
DNotificationStackScrollLayout.java4992 public void setShelf(NotificationShelf shelf) { in setShelf() argument
4998 mShelf = shelf; in setShelf()
5002 shelf.bind(mAmbientState, this, mController.getNotificationRoundnessManager()); in setShelf()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/shelf/domain/interactor/
DNotificationShelfInteractorTest.kt19 package com.android.systemui.statusbar.notification.shelf.domain.interactor
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/shelf/ui/viewmodel/
DNotificationShelfViewModelTest.kt17 package com.android.systemui.statusbar.notification.shelf.ui.viewmodel
/frameworks/base/packages/SystemUI/aconfig/
Dsystemui.aconfig105 "AOD, and the notification shelf. Should not bring any behavioral changes."
562 description: "Use new shelf UI flow for screenshots"