Searched refs:NUM_REQUIRED_RECOMMENDATIONS (Results 1 – 4 of 4) sorted by relevance
24 import com.android.systemui.media.controls.shared.model.NUM_REQUIRED_RECOMMENDATIONS70 for (i in 1 until NUM_REQUIRED_RECOMMENDATIONS) { in isValid_tooFewRecsWithIcons_returnsFalse()86 for (i in 0 until NUM_REQUIRED_RECOMMENDATIONS) { in isValid_enoughRecsWithIcons_returnsTrue()99 for (i in 0 until NUM_REQUIRED_RECOMMENDATIONS + 3) { in isValid_manyRecsWithIcons_returnsTrue()
61 fun isValid() = getValidRecommendations().size >= NUM_REQUIRED_RECOMMENDATIONS in isValid()111 const val NUM_REQUIRED_RECOMMENDATIONS = 3 constant
32 import com.android.systemui.media.controls.shared.model.NUM_REQUIRED_RECOMMENDATIONS in <lambda>()163 if (index >= NUM_REQUIRED_RECOMMENDATIONS) return@forEachIndexed in <lambda>()295 return min(fittedNum.toDouble(), NUM_REQUIRED_RECOMMENDATIONS.toDouble()).toInt() in <lambda>()
22 …om.android.systemui.media.controls.shared.model.SmartspaceMediaDataKt.NUM_REQUIRED_RECOMMENDATIONS;1485 for (int itemIndex = 0; itemIndex < NUM_REQUIRED_RECOMMENDATIONS; itemIndex++) {1549 mSmartspaceMediaItemsCount = NUM_REQUIRED_RECOMMENDATIONS;1614 for (int itemIndex = 0; itemIndex < NUM_REQUIRED_RECOMMENDATIONS; itemIndex++) {1645 return Math.min(fittedNum, NUM_REQUIRED_RECOMMENDATIONS);