Searched refs:cornerRadii (Results 1 – 2 of 2) sorted by relevance
94 return gradient.cornerRadii?.get(CORNER_RADIUS_TOP_INDEX) ?: gradient.cornerRadius in getCurrentTopCornerRadius()103 return gradient.cornerRadii?.get(CORNER_RADIUS_BOTTOM_INDEX) ?: gradient.cornerRadius in getCurrentBottomCornerRadius()236 private var cornerRadii = FloatArray(8) { -1f } in <lambda>() variable282 updateRadii(cornerRadii, topCornerRadius, bottomCornerRadius) in setBackgroundRadius()303 if (cornerRadii[0] < 0 || wrapped == null) { in applyBackgroundRadii()308 applyBackgroundRadii(wrapped, cornerRadii) in applyBackgroundRadii()318 val radii = gradient.cornerRadii in savePreviousBackgroundRadii()330 drawable.cornerRadii = radii in applyBackgroundRadii()344 (drawable.getDrawable(i) as? GradientDrawable)?.cornerRadii = radii in applyBackgroundRadii()349 if (cornerRadii[0] < 0 || wrapped == null) { in restoreBackgroundRadii()
88 private val cornerRadii = FloatArray(8) in <lambda>() constant630 cornerRadii[0] = state.topCornerRadius in <lambda>()631 cornerRadii[1] = state.topCornerRadius in <lambda>()632 cornerRadii[2] = state.topCornerRadius in <lambda>()633 cornerRadii[3] = state.topCornerRadius in <lambda>()634 cornerRadii[4] = state.bottomCornerRadius in <lambda>()635 cornerRadii[5] = state.bottomCornerRadius in <lambda>()636 cornerRadii[6] = state.bottomCornerRadius in <lambda>()637 cornerRadii[7] = state.bottomCornerRadius in <lambda>()638 drawable.cornerRadii = cornerRadii in <lambda>()