Shamali P a1dbbeab7e Add preview container size helper to display previews in picker.
While we want previews to be displayed at true size, today, there is
less consistency among different widgets. This change is a first step
towards consistent sizes. In this change, we provide helper classes
that provide the size of the container in terms of grid spans.

Note: This does not change the size for rendering widget previews; but,
we take that original rendered preview and scale it maintaining the
aspect ratio to display it in one of closest container sizes.

Bug: 319152349
Flag: N/A
Test: Includes a unit test & manual with the child cls
Change-Id: I335373aa1be9a41fe039c98cded0113a007ad8c4
2024-03-12 23:47:07 +00:00
2023-12-07 13:04:23 -08:00
2024-01-23 15:55:40 -08:00
2024-01-23 15:55:40 -08:00
2019-11-25 20:24:07 +09:00
2021-09-21 15:25:22 -07:00
2024-01-10 12:30:39 -08:00
2024-01-10 12:30:39 -08:00
2023-10-20 10:09:12 -07:00
2020-01-17 11:24:43 -08:00
S
Description
No description provided
697 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 55.6%
Kotlin 43.5%
JavaScript 0.3%
AIDL 0.2%
CSS 0.2%