[pull] androidx-main from androidx:androidx-main#1180
Merged
Conversation
- Introduce a updateDisplayState API which is an atomic API encompassing PdfViewportState and annotations - Remove the existing annotations and pageInfoProvider APIs - Update PageInfoProvider API to a restricted class which is used in the fragment as well. - Update AnnotationDisplayState to now hold the viewportState instead of transformationMatrices. - Plug in the newly added APIs into EditablePdfViewerFragment and remove old implementation Bug: 509749527 Test: Updating existing tests Change-Id: I0ec8f0963e807a0c4a218020d680e0f68749ab72
Bug: 514082295 Test: Unit and Integration Tests Change-Id: Ib4e222c9e9467d5b0bfd268f230f89e68e6a8108
- These tests will be ported to be used in PageInfoProvider getPageInfo function. Bug: 509749527 Test: Local Change-Id: I219816977562e6f7e317367cd415e9c042c4b4d3
This adds a new sample `SharedContentConfigDeferredTransitionSample` demonstrating how `permitTransformDuringDeferredTransition` controls whether shared elements transform in sync with their parent container during a deferred transition (e.g., a Predictive Back gesture). The sample shows a `DeferredAnimatedContent` setup with two shared elements: one that scales/slides in sync with its container (typical for card content or images) and one that remains static in place (typical for shared bottom navigation bars or persistent headers). Test: build Fixes: 522389461 Change-Id: Icdd3cb3eddd3c4f4cc0f08322b06d5c60d94b1ac
Updates the advanced CameraXViewfinder overload in camera-compose to accept a non-nullable ImageCapture.ScreenFlash callback, and adds a general onRelease callback to clean up references. Key changes: - Hoisted screenFlash to the root of CameraXViewfinder. - Updated onScreenFlashReady to accept non-nullable ScreenFlash. - Added onRelease callback parameter. - Wrapped screen flash callbacks in rememberUpdatedState, and dynamically read the onRelease callback at disposal time to prevent capturing stale values while bypassing Compose lint constraints. - Restored missing TODO comment. Bug: 522570631 Test: ./gradlew 📷camera-compose:assembleAndroidTest Change-Id: Ie5f9bb5f480410095a8c12d98f7232de242efd5f
Verifies that input injection works correctly when using DeviceConfigurationOverride (ForcedSize and WindowSize). Added tests to DeviceConfigurationOverrideTest covering: - Touch - Mouse & Trackpad - Key - Indirect Pointer Test: DeviceConfigurationOverrideTest Fixes: 350958766 Change-Id: I222ac0683776e0c25fd72c2813d6d4381ec75c8a
…nto androidx-main
…nto androidx-main
…on" into androidx-main
…main * changes: Refactor: Remove unused class PageTransformCalculator Add new tests and fix failing tests after updating APIs Refactor: Update APIs at AnnotationView
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 : )