forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] androidx-main from androidx:androidx-main #730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
This boolean is never said to true which appears to be a mistake. Test: Existing tests Change-Id: I52a3d3db0bc04819498a8f7284cfda6c646b7032
…ttest This new activity combines all of the previous ones and adds camera rending for all three so that we can add visualizations for planes and hit testing. Hit testing is now done by tapping the screen on a detected plane. When successful, an anchor will be visualized on the plane where the hit was detected. Bug: 408010870 Test: locally on a Pixel 9 Change-Id: Ibaeacee455998628f4db53fad20677ee0d6ca0c0
Fixes: 377021410 ColorSpace.toAndroidColorSpace() with a custom RGB color space can incorrectly be converted when a custom transform is provided. This CL fixes the issue. Test: new test, manual testing Change-Id: I602671354be34fed3573d2e85d065b3a5de871fc
…ing correctly Bug: 474363445 Test: unit tests, manual tests Change-Id: I35c2709c9376ae83bb2a99422f93bb96e39d552b
Added the capability for the createProject task to create a Kotlin android library project. As of now, this task is capable of copying the new template I added (`kotlin-android-template/`) to create a new project, and also to add a new sub-module to an existing project. I tested this both using ProjectCreatorTaskTest.kt and manual testing, comparing the behavior of this task to the existing Python script for the case of Kotlin android. This will be the first in a series of commits for this task. Followup commits will expand the capabilities by allowing users to create new project types (e.g. Kotlin KMP and Java JVM). Bug: 468088488 Test: ProjectCreatorTaskTest.kt and manual testing Relnote: N/A Change-Id: I2dcafeb6e8c6bb488e9f580050a2f584cbfa40a5
…ed permissions Bug: 467460406 Change-Id: I28510f37bc8c6eb08ea88583d6b58bb8098c5595
SlidingPaneLayout's DraggableDividerHandler#clampDraggingDividerPosition might crash the APP when it calls coerceIn. Specifically, when children Views' minimaium width plus padding and margin is larger than SlidingPaneLayout's totally width. This CL makes the coerceIn safer and avoids the crash in this case. Bug: 467338549 Test: SlidingPaneLayoutTest Change-Id: Ib6ff071781a71077cf74d816cd008271eb9a5833
…ation. Tests using mock managers are kept. Bug: 463382540 Test: ./gradlew privacysandbox:ads:ads-adservices:connectedAndroidTest --info --daemon Test: ./gradlew privacysandbox:ads:ads-adservices-java:connectedAndroidTest --info --daemon Change-Id: I01e3c9217ff0d224b171ccb5ab07be19d42a9702
Change was intended to be included in aosp/3892843 Test: ./gradlew ignoreAbiChanges Change-Id: I66593843fe08b6b80242bfc02561fc694fefb267
The ViewBoundsTracker is for internally usage only, it accepts an android.view.View instance and keeps track its bounds whenever it's changed. The bounds is from View.getGlobalVisibleRect, and is intended to be set as sourceRectHint in PictureInPictureParams. Relnote: "Add ViewBoundsTracker class to continuously track the view bounds for setting sourceRectHint in PictureInPictureParamsCompat" Bug: 474454111 Test: existing test suites pass Change-Id: Id203aa25cb63addc6585c6eb721d99e5b195177b
Test: None Change-Id: I4eaaf4eff406ad6e2b36ec5e7b70eb23d8c3aff6
…onalThreshold and RotaryScrollableDefaults.SnapSensitivity to LowSnapSensitivity. Bug: 449949891 Test: N/A Relnote: "Rename PagerScaffoldDefaults.SnapPositionalThreshold to LowSnapPositionalThreshold and RotaryScrollableDefaults.SnapSensitivity to LowSnapSensitivity" Change-Id: I157eec4234682eea8f1179d43b449ac827562e4d
- Add missing aggregation mappings. - Change the intensity minutes aggregation from Duration -> Long, to match the platform API. This is a breaking change, but the API is still in alpha. - Added a test using reflection that ensures all aggregations are adding to mappings. - Added integration tests for activity intensity and mindfulness ggregations. Fix: 453531977 Test: presubmit RelNote: Updates ACTIVITY_INTENSITY_MINUTES from Duration->Long Change-Id: I5b1d57fdf42a25b91093ea591f746c4b74198b0f
so that it can be used both from tests and benchmarks. `GlimmerRule` is also updated to automatically skip tests when running on a device with an SDK below 33. The min SDK for Glimmer is 35, however, we run tests on older SDKs to have larger device coverage. Most of the time this should not actually be used, as tests will be skipped on older SDK levels by GlimmerTestRunner. This CL also adds a wrapper for `captureToImage` that also skips tests when running on an SDK below 33 and suppresses the NewApi lint check. The `@SdkSuppress` annotations can now be removed from the tests, which will be done in a follow up CL. Bug: 467649742 Test: existing tests Change-Id: Ic9fec670166ec6d4e8e29381b1025714dbf41a5a
Sample run results: VerticalStackBenchmark.scroll_firstFrame timeNs min 1,227,169.8, median 1,240,233.8, max 1,517,436.7 instructions min 1,354,869.1, median 1,355,564.7, max 1,417,275.2 l1DMisses min 40,827.4, median 41,141.5, max 42,127.5 branchMisses min 24,380.8, median 24,696.6, max 26,114.3 allocationCount min 868.6, median 868.7, max 871.1 Bug: 467649742 Test: VerticalStackBenchmark Change-Id: I495da01cdd1d14babae13f85f81dd94f8e86cf30
Change RemoteButton onClick to accept a single Action Updates the `onClick` parameter in RemoteButtons to take a single `Action` instead of a `vararg`. BUG: 474367029 Test: CombinedActionTest, RemoteButtonTest Change-Id: If01c16f44be15ebc3a39bba39d4080ef64c1fb4e
Adds additional text styling properties including `RemoteFloat` for size and weight. Test: Existing Change-Id: I9b85060f1b58f617ae918a72d392ccaa336af4e1
… androidx-main * changes: Add a scrolling benchmark for VerticalStack. Create an `xr:glimmer:test-utils` module and move `GlimmerRule` there, so that it can be used both from tests and benchmarks.
…lationException. This change introduces a SupervisorJob to the CoroutineScope used internally by DataStore within the GuavaDataStore.Builder. A SupervisorJob allows child coroutines to fail independently without cancelling their parent or other children. This effectively isolates the DataStore's operations, ensuring that transient failures or cancellations in other parts of the application's CoroutineContext do not propagate to and disrupt the DataStore. Bug: 459235875 Test: Will confirm with G3 Drop with the Google Voice Team. Change-Id: I0e35e571b5c78752f64ec1fddf2809a9f6659c8d
…into androidx-main
Move NavigationEventDispatcher initialization into the OnBackPressedEventInput class. This refactoring removes the intermediate anonymous object used to bridge the dispatcher and input. Previously, the Kotlin compiler generated a synthetic class name (e.g., "impl.2") for this object, which caused Metalava's Java PSI parser to fail with an IncorrectOperationException due to invalid tokens. This change fixes the build issue while streamlining the internal logic and maintaining lazy, atomic initialization. Bug: 473843671 Test: existing passes Change-Id: I46c8f3211a10818e221da13c6aae9a2af32a8e7b
…lved" into androidx-main
Key changes: - Added `captureSingleRemoteDocumentV2` to simplify capturing a single `CapturedDocument` including its pending intents. - Refactored `captureRemoteDocumentV2` to use a standard `flow` builder, incorporating a `BroadcastFrameClock` and `yield` to ensure recomposition is correctly triggered before emission. - Integrated `LocalDensity` into the V2 composition root. - Updated `captureRemoteDocument` to use the new single-capture V2 path when `isRemoteApplierEnabled` is true. - Simplified `RemoteComposeV2Test` by removing manual clock management in favor of the new capture utility. Test: Updated RemoteComposeV2Test.kt Change-Id: I44fabc17968f2c7f6b50f494f82ddb7cd8b6aa18
…temSpacing correctly" into androidx-main
…pPositionalThreshold and RotaryScrollableDefaults.SnapSensitivity to LowSnapSensitivity." into androidx-main
…ViewContext"" This reverts commit 09a8eee. Reason for revert: b/474300645 Change-Id: I8bc73e29b6273a56a9c88bac55942c48ced837d3
… deprecation. Tests using mock managers are kept." into androidx-main
Implements an alternative to WebViewBuilder.build() that can be applied to existing (but unused) WebViews. This solves for various legitimate use cases involving subclassing or XML layout inflation for which migration to build() is impractical. Bug: 463288296 Test: webkit/run_instrumentation_tests.sh Change-Id: I2626e6143c17ae2604ece29c90aa5b7eb870531a
… and hittest" into androidx-main
Change-Id: If96fed05249a4f160e572b609ae66dc7b986f60a
Since there may be additional validations that need to be ignored, we shouldn't exit early Test: ./gradlew ignoreAbiChanges Change-Id: I9a8363751d5bf409e37496d2b749b93559ce060d
Test: None Bug: 454985079 Bug: 458798493 Bug: 405222453 Change-Id: I2e07909af6d553ab64fd1f59e64f17aa0b747e46
This change adds support for inexact (fuzzy) timestamp matching between different timebases on Android devices. In some cases the camera may operate using timestamps from the realtime clock while the images themselves use timestamps from the monotonic time source. The OutputMatcher class is used to statefully track the initial and detected exact offset between the image and camera timestamps to correctly match images with the corresponding output frame. Change-Id: I7d20e52a40f30b1ee370cf74630255ee2d502aa1
… CancellationException." into androidx-main
…ComposeViewContext""" into androidx-main
… required permissions" into androidx-main
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 : )