Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ViewConfigCoordinator.kt +5 −2 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import com.android.systemui.statusbar.notification.collection.coordinator.dagger import com.android.systemui.statusbar.notification.row.NotificationGutsManager import com.android.systemui.statusbar.policy.ConfigurationController import com.android.systemui.util.Compile import com.android.systemui.util.traceSection import javax.inject.Inject /** Loading Loading @@ -122,10 +123,12 @@ class ViewConfigCoordinator @Inject internal constructor( private fun updateNotificationsOnUiModeChanged() { log { "ViewConfigCoordinator.updateNotificationsOnUiModeChanged()" } traceSection("updateNotifOnUiModeChanged") { mPipeline?.allNotifs?.forEach { entry -> entry.row?.onUiModeChanged() } } } private fun updateNotificationsOnDensityOrFontScaleChanged() { mPipeline?.allNotifs?.forEach { entry -> Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ShadeViewDiffer.kt +12 −6 Original line number Diff line number Diff line Loading @@ -231,19 +231,25 @@ private class ShadeNode(val controller: NodeController) { fun getChildCount(): Int = controller.getChildCount() fun addChildAt(child: ShadeNode, index: Int) { traceSection("ShadeNode#addChildAt") { controller.addChildAt(child.controller, index) child.controller.onViewAdded() } } fun moveChildTo(child: ShadeNode, index: Int) { traceSection("ShadeNode#moveChildTo") { controller.moveChildTo(child.controller, index) child.controller.onViewMoved() } } fun removeChild(child: ShadeNode, isTransfer: Boolean) { traceSection("ShadeNode#removeChild") { controller.removeChild(child.controller, isTransfer) child.controller.onViewRemoved() } } fun offerToKeepInParentForAnimation(): Boolean { return controller.offerToKeepInParentForAnimation() Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ViewConfigCoordinator.kt +5 −2 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import com.android.systemui.statusbar.notification.collection.coordinator.dagger import com.android.systemui.statusbar.notification.row.NotificationGutsManager import com.android.systemui.statusbar.policy.ConfigurationController import com.android.systemui.util.Compile import com.android.systemui.util.traceSection import javax.inject.Inject /** Loading Loading @@ -122,10 +123,12 @@ class ViewConfigCoordinator @Inject internal constructor( private fun updateNotificationsOnUiModeChanged() { log { "ViewConfigCoordinator.updateNotificationsOnUiModeChanged()" } traceSection("updateNotifOnUiModeChanged") { mPipeline?.allNotifs?.forEach { entry -> entry.row?.onUiModeChanged() } } } private fun updateNotificationsOnDensityOrFontScaleChanged() { mPipeline?.allNotifs?.forEach { entry -> Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ShadeViewDiffer.kt +12 −6 Original line number Diff line number Diff line Loading @@ -231,19 +231,25 @@ private class ShadeNode(val controller: NodeController) { fun getChildCount(): Int = controller.getChildCount() fun addChildAt(child: ShadeNode, index: Int) { traceSection("ShadeNode#addChildAt") { controller.addChildAt(child.controller, index) child.controller.onViewAdded() } } fun moveChildTo(child: ShadeNode, index: Int) { traceSection("ShadeNode#moveChildTo") { controller.moveChildTo(child.controller, index) child.controller.onViewMoved() } } fun removeChild(child: ShadeNode, isTransfer: Boolean) { traceSection("ShadeNode#removeChild") { controller.removeChild(child.controller, isTransfer) child.controller.onViewRemoved() } } fun offerToKeepInParentForAnimation(): Boolean { return controller.offerToKeepInParentForAnimation() Loading