Fixed
Status Update
Comments
kl...@google.com <kl...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 33a5b08e77f3268a5cde369251b3fadb34116425
Author: Zach Klippenstein <klippenstein@google.com>
Date: Thu Oct 07 18:21:36 2021
Implement text field magnification when moving cursor or selecting.
Test: ./gradlew :compose:foundation:foundation:tDUT
Fixes: b/203781358
Relnote: """Show a magnifier widget when dragging the cursor or
selection handles inside text fields."""
Change-Id: I5391e3fab709172189dada65e8dba6a130526c15
M compose/foundation/foundation/api/restricted_1.1.0-beta03.txt
M compose/foundation/foundation/api/public_plus_experimental_1.1.0-beta03.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextFieldSelectionManager.kt
A compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/text/TextFieldMagnifier.desktop.kt
M compose/foundation/foundation/src/test/kotlin/androidx/compose/foundation/text/selection/TextFieldSelectionManagerTest.kt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/current.txt
A compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/textfield/TextFieldMagnifierAndroidImplTest.kt
A compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/TextFieldMagnifier.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/CoreTextField.kt
A compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldMagnifier.kt
M compose/foundation/foundation/api/1.1.0-beta03.txt
https://android-review.googlesource.com/1844741
Branch: androidx-main
commit 33a5b08e77f3268a5cde369251b3fadb34116425
Author: Zach Klippenstein <klippenstein@google.com>
Date: Thu Oct 07 18:21:36 2021
Implement text field magnification when moving cursor or selecting.
Test: ./gradlew :compose:foundation:foundation:tDUT
Fixes:
Relnote: """Show a magnifier widget when dragging the cursor or
selection handles inside text fields."""
Change-Id: I5391e3fab709172189dada65e8dba6a130526c15
M compose/foundation/foundation/api/restricted_1.1.0-beta03.txt
M compose/foundation/foundation/api/public_plus_experimental_1.1.0-beta03.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/TextFieldSelectionManager.kt
A compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/text/TextFieldMagnifier.desktop.kt
M compose/foundation/foundation/src/test/kotlin/androidx/compose/foundation/text/selection/TextFieldSelectionManagerTest.kt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/current.txt
A compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/textfield/TextFieldMagnifierAndroidImplTest.kt
A compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/TextFieldMagnifier.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/CoreTextField.kt
A compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldMagnifier.kt
M compose/foundation/foundation/api/1.1.0-beta03.txt
Description
Platform parity with EditText's selection magnifier on Android P+.
This issue is specifically for b/139320979 .
TextField
support. ForSelectionContainer
support, see