Fixed
Status Update
Comments
ha...@google.com <ha...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Justin Ghan <
Link:
Stylus hover icon modifier
Expand for full commit details
Stylus hover icon modifier
This modifier is similar to the existing pointerHoverIcon modifier but
applies to stylus hover pointer input.
This also fixes a bug where a stylus hovering over an element with a
pointerHoverIcon modifier would cause the mouse pointer icon to change,
even though the mouse pointer icon is not shown for stylus hover.
Bug: 331289114
Bug: 337064733
Test: StylusHoverIconTest
Relnote: Adds stylusHoverIcon modifier.
Change-Id: Iff20af03b451228bc44c4356d4b4e89956cc3b45
Files:
- M
compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/PointerIconDemo.kt
- M
compose/ui/ui/api/current.txt
- M
compose/ui/ui/api/restricted_current.txt
- M
compose/ui/ui/samples/src/main/java/androidx/compose/ui/samples/PointerIconSample.kt
- A
compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/pointer/HandwritingTestUtils.kt
- M
compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/pointer/PointerIconTest.kt
- A
compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/input/pointer/StylusHoverIconTest.kt
- M
compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt
- M
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/input/pointer/PointerIcon.kt
Hash: 564fa46d2c10c81d3fd341ecc8515a387717215e
Date: Thu Oct 24 13:19:26 2024
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
Author: Justin Ghan <
Link:
Stylus handwriting hover icon
Expand for full commit details
Stylus handwriting hover icon
A handwriting icon is displayed for hover icon within the extended
bounds of a text field detecting stylus handwriting, or a stylus
handwriting detector.
Bug: 331289114
Test: HandwritingHoverIconTest
Test: HandwritingDetectorTest
Change-Id: I4a48bb7c1882c3ac316963774de335c4f9581155
Files:
- M
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/HandwritingTestUtils.kt
- M
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/HandwritingDetectorTest.kt
- A
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/input/HandwritingHoverIconTest.kt
- M
compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/TextPointerIcon.android.kt
- M
compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/handwriting/HandwritingDetector.android.kt
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/BasicTextField.kt
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/CoreTextField.kt
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextPointerIcon.kt
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/handwriting/StylusHandwriting.kt
- M
compose/foundation/foundation/src/commonStubsMain/kotlin/androidx/compose/foundation/text/TextPointerIcon.commonStubs.kt
Hash: b9c3c7939d9d73405c2652273dcf64a99378a19d
Date: Thu Oct 24 13:07:13 2024
ju...@google.com <ju...@google.com>
na...@google.com <na...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.8.0-alpha06
androidx.compose.foundation:foundation-android:1.8.0-alpha06
androidx.compose.foundation:foundation-jvmstubs:1.8.0-alpha06
androidx.compose.foundation:foundation-linuxx64stubs:1.8.0-alpha06
androidx.compose.ui:ui:1.8.0-alpha06
androidx.compose.ui:ui-android:1.8.0-alpha06
androidx.compose.ui:ui-jvmstubs:1.8.0-alpha06
androidx.compose.ui:ui-linuxx64stubs:1.8.0-alpha06
Description
Hover pointer icon should be displayed when stylus hovers over a text field supporting stylus handwriting.