Home
last modified time | relevance | path

Searched refs:textFieldHeight (Results 1 – 11 of 11) sorted by relevance

/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/textfield/
DTextFieldDecorationBoxTest.kt337 val textFieldHeight = 150 in outlinedTextFieldBox_defaultBorderColor_comesFromColors() constant
353 with(Density) { textFieldHeight.toDp() } in outlinedTextFieldBox_defaultBorderColor_comesFromColors()
383 IntSize(textFieldWidth, textFieldHeight) in outlinedTextFieldBox_defaultBorderColor_comesFromColors()
396 val textFieldHeight = 150 in textFieldBox_defaultIndicatorLineColor_comesFromColors() constant
419 with(Density) { textFieldHeight.toDp() } in textFieldBox_defaultIndicatorLineColor_comesFromColors()
439 IntSize(textFieldWidth, textFieldHeight) in textFieldBox_defaultIndicatorLineColor_comesFromColors()
444 it.y in (textFieldHeight - borderWidth + 2)..(textFieldHeight - 2) in textFieldBox_defaultIndicatorLineColor_comesFromColors()
455 val textFieldHeight = 150 in outlinedTextFieldBox_appliesBackgroundColor() constant
470 with(Density) { textFieldHeight.toDp() } in outlinedTextFieldBox_appliesBackgroundColor()
500 IntSize(textFieldWidth, textFieldHeight) in outlinedTextFieldBox_appliesBackgroundColor()
[all …]
DTextFieldTest.kt639 val textFieldHeight = 60.dp in <lambda>() constant
651 modifier = Modifier.size(textFieldWidth, textFieldHeight), in <lambda>()
684 ((textFieldHeight.roundToPx() - leadingSize.value!!.height) / 2f) in <lambda>()
700 ((textFieldHeight.roundToPx() - trailingSize.value!!.height) / 2f) in <lambda>()
710 val textFieldHeight = 80.dp in <lambda>() constant
723 modifier = Modifier.size(textFieldWidth, textFieldHeight), in <lambda>()
761 ((textFieldHeight.roundToPx() - leadingSize!!.height) / 2f) in <lambda>()
771 ((textFieldHeight.roundToPx() - trailingSize!!.height) / 2f) in <lambda>()
781 val textFieldHeight = 80.dp in <lambda>() constant
795 modifier = Modifier.size(textFieldWidth, textFieldHeight), in <lambda>()
[all …]
DOutlinedTextFieldTest.kt732 val textFieldHeight = 80.dp in <lambda>() constant
744 modifier = Modifier.width(textFieldWidth).height(textFieldHeight), in <lambda>()
782 ((textFieldHeight.roundToPx() - leadingSize!!.height) / 2f).roundToInt() in <lambda>()
790 ((textFieldHeight.roundToPx() - trailingSize!!.height) / 2f).roundToInt() in <lambda>()
799 val textFieldHeight = 80.dp in <lambda>() constant
812 modifier = Modifier.width(textFieldWidth).height(textFieldHeight), in <lambda>()
840 ((textFieldHeight.roundToPx() - leadingSize!!.height) / 2f).roundToInt() in <lambda>()
848 ((textFieldHeight.roundToPx() - trailingSize!!.height) / 2f).roundToInt() in <lambda>()
/compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DTextFieldDecoratorTest.kt342 val textFieldHeight = 150 in outlinedTextFieldBox_defaultBorderColor_comesFromColors() constant
357 with(Density) { textFieldHeight.toDp() } in outlinedTextFieldBox_defaultBorderColor_comesFromColors()
386 IntSize(textFieldWidth, textFieldHeight) in outlinedTextFieldBox_defaultBorderColor_comesFromColors()
401 val textFieldHeight = 150 in textFieldBox_defaultIndicatorLineColor_comesFromColors() constant
424 with(Density) { textFieldHeight.toDp() } in textFieldBox_defaultIndicatorLineColor_comesFromColors()
443 IntSize(textFieldWidth, textFieldHeight) in textFieldBox_defaultIndicatorLineColor_comesFromColors()
448 it.y in (textFieldHeight - borderWidth + 2)..(textFieldHeight - 2) in textFieldBox_defaultIndicatorLineColor_comesFromColors()
DTextFieldTest.kt865 val textFieldHeight = 60.dp in <lambda>() constant
876 modifier = Modifier.size(TextFieldWidth, textFieldHeight), in <lambda>()
909 ((textFieldHeight.roundToPx() - leadingSize.value!!.height) / 2f) in <lambda>()
925 ((textFieldHeight.roundToPx() - trailingSize.value!!.height) / 2f) in <lambda>()
935 val textFieldHeight = 80.dp in <lambda>() constant
947 modifier = Modifier.size(TextFieldWidth, textFieldHeight), in <lambda>()
985 ((textFieldHeight.roundToPx() - leadingSize!!.height) / 2f) in <lambda>()
995 ((textFieldHeight.roundToPx() - trailingSize!!.height) / 2f) in <lambda>()
1005 val textFieldHeight = 80.dp in <lambda>() constant
1018 modifier = Modifier.size(TextFieldWidth, textFieldHeight), in <lambda>()
[all …]
DOutlinedTextFieldTest.kt883 val textFieldHeight = 80.dp in <lambda>() constant
895 modifier = Modifier.width(textFieldWidth).height(textFieldHeight), in <lambda>()
933 ((textFieldHeight.roundToPx() - leadingSize!!.height) / 2f).roundToInt() in <lambda>()
941 ((textFieldHeight.roundToPx() - trailingSize!!.height) / 2f).roundToInt() in <lambda>()
950 val textFieldHeight = 80.dp in <lambda>() constant
963 modifier = Modifier.width(textFieldWidth).height(textFieldHeight), in <lambda>()
991 ((textFieldHeight.roundToPx() - leadingSize!!.height) / 2f).roundToInt() in <lambda>()
999 ((textFieldHeight.roundToPx() - trailingSize!!.height) / 2f).roundToInt() in <lambda>()
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DTextField.kt936 val textFieldHeight = in intrinsicHeight() constant
944 textFieldHeight = textFieldHeight, in intrinsicHeight()
971 textFieldHeight: Int, in calculateHeight()
985 val inputFieldHeight = max(textFieldHeight, placeholderHeight) in calculateHeight()
DOutlinedTextField.kt988 val textFieldHeight = in intrinsicHeight() constant
998 textFieldPlaceableHeight = textFieldHeight, in intrinsicHeight()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/textfield/
DTextFieldCursorTest.kt96 private val textFieldHeight = 20.dp in <lambda>() constant
103 private val sizeModifier = Modifier.size(textFieldWidth, textFieldHeight) in <lambda>()
143 Modifier.size(textFieldWidth, textFieldHeight * 2) in <lambda>()
320 val thinSizeModifier = Modifier.size(cursorWidth - 0.5.dp, textFieldHeight) in <lambda>()
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DOutlinedTextField.kt961 textFieldHeight = textFieldPlaceable.height, in measure()
1141 val textFieldHeight = in intrinsicHeight() constant
1159 textFieldHeight = textFieldHeight, in intrinsicHeight()
1214 textFieldHeight: Int, in calculateHeight()
1224 textFieldHeight, in calculateHeight()
DTextField.kt944 textFieldHeight = textFieldPlaceable.height, in measure()
1160 val textFieldHeight = in intrinsicHeight() constant
1173 textFieldHeight = textFieldHeight, in intrinsicHeight()
1210 textFieldHeight: Int, in calculateHeight()
1228 textFieldHeight, in calculateHeight()