Home
last modified time | relevance | path

Searched refs:CommunalContentSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/model/
DCommunalContentModel.kt24 import com.android.systemui.communal.shared.model.CommunalContentSize
34 val size: CommunalContentSize
41 override var size: CommunalContentSize
58 override val size = CommunalContentSize.HALF
73 override val size = CommunalContentSize.HALF
86 override val size = CommunalContentSize.HALF
94 override val size = CommunalContentSize.HALF
101 override val size = CommunalContentSize.HALF
106 override var size: CommunalContentSize,
115 override var size: CommunalContentSize = CommunalContentSize.HALF,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/shared/model/
DCommunalContentSize.kt25 enum class CommunalContentSize(val span: Int) { class
37 fun toSize(span: Int): CommunalContentSize { in toSize()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt52 import com.android.systemui.communal.shared.model.CommunalContentSize in <lambda>()
313 CommunalContentSize.FULL, in <lambda>()
323 CommunalContentSize.HALF, in <lambda>()
324 CommunalContentSize.HALF, in <lambda>()
334 CommunalContentSize.THIRD, in <lambda>()
335 CommunalContentSize.THIRD, in <lambda>()
336 CommunalContentSize.THIRD, in <lambda>()
346 CommunalContentSize.FULL, in <lambda>()
347 CommunalContentSize.THIRD, in <lambda>()
348 CommunalContentSize.THIRD, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt35 import com.android.systemui.communal.shared.model.CommunalContentSize in <lambda>()
36 import com.android.systemui.communal.shared.model.CommunalContentSize.FULL in <lambda>()
37 import com.android.systemui.communal.shared.model.CommunalContentSize.HALF in <lambda>()
38 import com.android.systemui.communal.shared.model.CommunalContentSize.THIRD in <lambda>()
561 private fun dynamicContentSize(size: Int, index: Int): CommunalContentSize { in <lambda>()
562 val remainder = size % CommunalContentSize.entries.size in <lambda>()
563 return CommunalContentSize.toSize( in <lambda>()
566 if (index > remainder - 1) CommunalContentSize.entries.size else remainder in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt139 import com.android.systemui.communal.shared.model.CommunalContentSize in <lambda>()
481 rows = GridCells.Fixed(CommunalContentSize.FULL.span), in CommunalHubLazyGrid()
1338 private fun CommunalContentSize.dp(): Dp { in CommunalContentSize() method
1340 CommunalContentSize.FULL -> Dimensions.CardHeightFull in CommunalContentSize()
1341 CommunalContentSize.HALF -> Dimensions.CardHeightHalf in CommunalContentSize()
1342 CommunalContentSize.THIRD -> Dimensions.CardHeightThird in CommunalContentSize()