[pull] androidx-main from androidx:androidx-main#1302
Merged
Conversation
Bug: 448659770 Test: AppSearchStatsTest Change-Id: I55e7e9a2c6e009df7675fecd89213df4de067da2
…lexBox - FlexBox forced fixed measurement constraints on children based on pre-calculated flex sizes, rendering standard fill modifiers like Modifier.fillMaxWidth() ineffective. This change propagates main-axis fill fractions to parent data and maps them directly to the item's grow factor, allowing standard fill modifiers to expand as expected. Test: ./gradlew :compose:foundation:foundation-layout:connectedAndroidDeviceTest -Pandroid.testInstrumentationRunnerArguments.class=androidx.compose.foundation.layout.FlexBoxDirectionTest Relnote: "Fixed an issue where standard layout modifiers like `Modifier.fillMaxWidth()` and `Modifier.fillMaxHeight()` had no effect on items inside `FlexBox` unless an explicit flex grow factor was specified." Fixes: 515657458 Change-Id: Ib0ac33b93b74242bde3a0597446aafe9fe1649ca
This change fixes focus traversal for FlexBox by ensuring items are ordered correctly during main and cross axis placement so that traversal follows their visual order rather than their composition order. Specifically, the traversal now correctly accounts for reverse main axis (e.g. RowReverse), reverse cross axis (WrapReverse), and custom item order configurations. Test: FlexBoxDirectionTest.kt, FlexBoxTest.kt Relnote: "Fixed an issue in `FlexBox` where focus traversal did not match the visual order of items when using reverse directions, reverse wrap, or custom item order." Fixes: 521609263 Change-Id: I4cc617babd013201e187fdc287b82991b470828b
Current limit for ConstraintManager.CONTENT_LIMIT_TYPE_PANE is 1000, which overloads the IPC and crashes an app. As PaneTemplate itself is legacy and there was no user reports about it there is no point in introducing major API changes and possibly breaking current use cases Test: ./gradlew 🚗app:app:test Test: ./gradlew 🚗app:app-samples:showcase-mobile:assembleDebug Change-Id: I2c3c01ec2563732dca83bbce71a6efc39eb74775
Move stats collection to a separate post-expansion pass to avoid double counting bitmaps that are present before expansion, and correctly count bitmaps introduced during expansion. Add a unit test to verify that bitmap memory is not double-counted. Bug: 536846807 TAG=agy CONV=84851bca-3a1f-4f6b-8d7a-f04fbf06ae2a Change-Id: I0ab7713f6d450c172f31d249382e440301253e79
An upcoming update of our docs tool will start warning on unresolved links in javadoc. This updates an incorrectly formatted section in the mediarouter javadoc. Bug: 527069050 Test: Checked `./gradlew :docs-tip-of-tree:docs` warning output with pending dackka build Change-Id: Iea5fc9bf00426224ccf5a81d8144594b8f4753d6
…ow in FlexBox" into androidx-main
Avoid resetting test latches in buildUseCases to prevent overwriting latches that tests are waiting on. This was exposed by the delayed initialization introduced in c9a45e7. Bug: 537926527 Test: BasicUITest Change-Id: Ifb0dea74982ba854f96f39e4cd9688efe47aa490
…r" into androidx-main
…into androidx-main
- Added `@ExperimentalPdfApi` to newly introduced APIs, including `EditablePdfViewerFragment`, `AnnotationsView`, `AnnotationToolbar`, `OcrProvider`, and `TextBoundsProvider`. - Added `@OptIn(ExperimentalPdfApi::class)` to internal usages, view models, and tests utilizing these experimental APIs. Relnote: "Added `@ExperimentalPdfApi` which is `RequireOptIn` Annotation to new APIs `EditablePdfViewerFragment`, `AnnotationsView`, `AnnotationToolbar`, `OcrProvider`, and `TextBoundsProvider` " Bug: 534825508 Test: ./gradlew :pdf:pdf-viewer:compileReleaseAndroidTestKotlin Change-Id: I83a93af8e61287e354271386c8778ba4e557e83e
…ument" into androidx-main
This change introduces a new API, PdfDocument.addPageObject, which allows for the embedding of PdfObject instances directly onto a page. The initial implementation supports ImagePdfObject, which is used to add bitmap-based signatures to a document. The API is integrated through the EditableDocumentViewModel to handle the saving of signature drafts. This change adds the necessary infrastructure from the pdf-core interface down to the pdf-document-service implementation to support this functionality. Bug: 525287461 Test: ./gradlew :pdf:pdf-document-service:assemble Change-Id: If174f18b9ed79e1385706b26fde21217f7b10db9
Expose the arithmetic and comparison operations of RemoteDp publicly, updating the API signature files. Test: ./gradlew :compose:remote:remote-creation-compose:testReleaseUnitTest --tests "androidx.compose.remote.creation.compose.state.RemoteDpTest" Relnote: "Added arithmetic and comparison operations to `RemoteDp`." Fixes: 467023174 TAG=agy CONV=df9f6290-1836-4abd-b6c8-756fbe15d5b8 Change-Id: I4b7124d5e9a18fb48847028cbd28771c7b715976
Replace low-level nativeCanvas usages with idiomatic Compose DrawScope extensions where possible. - Use DrawScope.drawText instead of nativeCanvas.drawText in DrawText op when TextMeasurer is available. - Refactor DrawBitmapFontText path branch to use DrawScope.drawImage with withTransform and Matrix instead of canvas.drawBitmap and android.graphics.Matrix. - Use Compose custom matrix transform for MatrixSkew. - Fallbacks to nativeCanvas remain for complex text path layout. Test: ./gradlew :compose:remote:integration-tests:player-compose-embedded:assemble Relnote: N/A Change-Id: I3a421c68d15723f12f941a49bb8fa75c59c5d7f3
This CL introduces a `cacheWindow` argument into the `Lazy[Orientation]StaggeredGrid` composables that let the user specify a cache window for the lazy staggered grid layout. The majority of the work in this CL is implementing the layout-specific cache window logic for lazy staggered grid. We also introduce a compose flag to allow users to revert back to the previous prefetch behaviour. Test: Unit tests added for staggered grid cache window Change-Id: I1c70d5a1df9d903c161ea016fd86cf32c9cd2481 Relnote: Adds a cache window to lazy staggered grid layout. To revert to the old prefetch behaviour, set `isUsingCacheWindowInStaggeredGrids` to false.
Added @OptIn(ExperimentalPdfApi::class) to addPageObject API. Test: None Change-Id: I5991c2a80c861c05f7d1f371f161a898e0b6f3b5
Updating signature model to store coordinates and size of the signature in PDF points instead of percentages and dp. Test: None Change-Id: Ieda3e39d7c634cf684af721d64aec0650a176c7d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )