Content-Length: 235089 | pFad | https://github.com/robolectric/robolectric/pull/9009

9A Return the correct value for ViewConfiguration.getScaledOverflingDistance by copybara-service[bot] · Pull Request #9009 · robolectric/robolectric · GitHub
Skip to content
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

Return the correct value for ViewConfiguration.getScaledOverflingDistance #9009

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

copybara-service[bot]
Copy link

Return the correct value for ViewConfiguration.getScaledOverflingDistance

Previously, the result of ViewConfiguration.getScaledOverflingDistance
was zero. In real Android it is '6' when the density is mdpi (scaling factor
1).

Update ShadowViewConfiguration to set the correct value.

This is part of the effort to eventually remove ShadowViewConfiguration.

@copybara-service copybara-service bot force-pushed the piper_626275282 branch 2 times, most recently from 5573d87 to 7b92d72 Compare April 19, 2024 20:53
…ance

Previously, the result of ViewConfiguration.getScaledOverflingDistance
was zero. In real Android it is '6' when the density is mdpi (scaling factor
1).

Update ShadowViewConfiguration to set the correct value.

This is part of the effort to eventually remove ShadowViewConfiguration.

PiperOrigin-RevId: 626462942
@copybara-service copybara-service bot merged commit 2beb59b into google Apr 19, 2024
@copybara-service copybara-service bot deleted the piper_626275282 branch April 19, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/robolectric/robolectric/pull/9009

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy