commit | f26382fd9c8efd90c07aa70174cdda5a43c4ae21 | [log] [tgz] |
---|---|---|
author | Nader Jawad <njawad@google.com> | Wed Feb 27 13:03:11 2019 -0800 |
committer | Nader Jawad <njawad@google.com> | Thu Feb 28 10:23:45 2019 -0800 |
tree | 1a92fa37904574eab0fee9b625dadef98dfc4a14 | |
parent | dbd7154348c1de142a31ae6033c95294b7d363fc [diff] |
Implemented API-review suggested changes on GradientDrawable --Added @Px annotations to pixel related parameters in added APIs --Added @FloatRange annotation to float based APIs (thickness/inner)Ratio --Added error checking to invalid ratio arguments to set(Thickness/Inner)ratio Bug: 126375868 Bug: 126701500 Test: Added CTS tests to verify parameter validation logic Change-Id: I8ca70f38edd18f68c168d4d6e2c93bcb9b64c488