Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 15ca9681024748d5ffc5026b03f381f75c662a6f
Author: Sean McQuillan <seanmcq@google.com>
Date: Fri Jan 14 11:24:51 2022
Add bugs for todos in async font loading
b/214587005
b/214587299
b/214587638
Test: No changes, just comments
Bug: b/174162090
Change-Id: Ife1c2d424ef61330a2d04ada714491a37d269373
M compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontFamily.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.android.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidAccessibilitySpannableString.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/MaxLinesHeightModifier.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldSize.kt
https://android-review.googlesource.com/1950243
Branch: androidx-main
commit 15ca9681024748d5ffc5026b03f381f75c662a6f
Author: Sean McQuillan <seanmcq@google.com>
Date: Fri Jan 14 11:24:51 2022
Add bugs for todos in async font loading
Test: No changes, just comments
Bug:
Change-Id: Ife1c2d424ef61330a2d04ada714491a37d269373
M compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontFamily.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.android.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidAccessibilitySpannableString.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/MaxLinesHeightModifier.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldSize.kt
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 769d5ddae8ade9cdc5706a5849265299db5a31bd
Author: Sean McQuillan <seanmcq@google.com>
Date: Wed Feb 02 13:59:39 2022
Uncache Paragraph when typeface changes
This integrates async font loading into Text composables.
Bug: b/214587005
Test: ./gradlew :compose:ui:ui-text:cAT
Relnote: "Support async font loading in Text"
Change-Id: I77057da6e45e78bea9622f480343c32d0bb25ce3
M compose/ui/ui-text/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextDelegate.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextLayoutHelper.kt
M compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidParagraphIntrinsics.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/CoreText.kt
M compose/foundation/foundation/src/test/kotlin/androidx/compose/foundation/text/TextLayoutHelperTest.kt
M compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/ParagraphIntrinsics.kt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/FontFamilyDemo.kt
A compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/ParagraphIntrinsicsAsyncTypefaceTest.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidParagraphHelper.android.kt
M compose/ui/ui-text/api/public_plus_experimental_current.txt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.android.kt
M compose/ui/ui-text/api/current.txt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
https://android-review.googlesource.com/1971362
Branch: androidx-main
commit 769d5ddae8ade9cdc5706a5849265299db5a31bd
Author: Sean McQuillan <seanmcq@google.com>
Date: Wed Feb 02 13:59:39 2022
Uncache Paragraph when typeface changes
This integrates async font loading into Text composables.
Bug:
Test: ./gradlew :compose:ui:ui-text:cAT
Relnote: "Support async font loading in Text"
Change-Id: I77057da6e45e78bea9622f480343c32d0bb25ce3
M compose/ui/ui-text/api/restricted_current.txt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextDelegate.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextLayoutHelper.kt
M compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidParagraphIntrinsics.android.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/CoreText.kt
M compose/foundation/foundation/src/test/kotlin/androidx/compose/foundation/text/TextLayoutHelperTest.kt
M compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/ParagraphIntrinsics.kt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/FontFamilyDemo.kt
A compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/ParagraphIntrinsicsAsyncTypefaceTest.kt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidParagraphHelper.android.kt
M compose/ui/ui-text/api/public_plus_experimental_current.txt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.android.kt
M compose/ui/ui-text/api/current.txt
M compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit d528bdb604148332d352c32ef62d8a4e6fc62901
Author: Sean McQuillan <seanmcq@google.com>
Date: Wed Feb 09 13:13:57 2022
Demo TextField in FontFamily fallback
Bug: b/214587005
Test: is a demo
Change-Id: I4086c82ddc0b6672536ce0fdf5845820d300d7d9
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/FontFamilyDemo.kt
https://android-review.googlesource.com/1978846
Branch: androidx-main
commit d528bdb604148332d352c32ef62d8a4e6fc62901
Author: Sean McQuillan <seanmcq@google.com>
Date: Wed Feb 09 13:13:57 2022
Demo TextField in FontFamily fallback
Bug:
Test: is a demo
Change-Id: I4086c82ddc0b6672536ce0fdf5845820d300d7d9
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text/FontFamilyDemo.kt
ap...@google.com <ap...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit 69c21b55fb406c60eaf4ba4b722f4084e6716cec
Author: Sean McQuillan <seanmcq@google.com>
Date: Wed Feb 09 14:19:11 2022
Async support for Modifier.maxLinesHeight and TextField intrinsic height
Adds support for async fonts when doing line height calculations.
Relnote: "Support async font loading for TextField."
Bug: b/214587005
Test: ./gradlew :compose:foundation:foundation:cAT
Change-Id: Icc4bf288dde6406b470c700dc760a9d99bdc0971
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/textfield/MaxLinesHeightModifierTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/MaxLinesHeightModifier.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldSize.kt
https://android-review.googlesource.com/1978886
Branch: androidx-main
commit 69c21b55fb406c60eaf4ba4b722f4084e6716cec
Author: Sean McQuillan <seanmcq@google.com>
Date: Wed Feb 09 14:19:11 2022
Async support for Modifier.maxLinesHeight and TextField intrinsic height
Adds support for async fonts when doing line height calculations.
Relnote: "Support async font loading for TextField."
Bug:
Test: ./gradlew :compose:foundation:foundation:cAT
Change-Id: Icc4bf288dde6406b470c700dc760a9d99bdc0971
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/textfield/MaxLinesHeightModifierTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/MaxLinesHeightModifier.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/TextFieldSize.kt
Description
Completion of async font work