commit | 3ebc5789af08e00a2a7dfbe9b8b982c7b79ace25 | [log] [tgz] |
---|---|---|
author | mincheli <mincheli@google.com> | Wed Dec 01 01:06:42 2021 +0800 |
committer | Minche Li <mincheli@google.com> | Thu Dec 02 09:09:13 2021 +0000 |
tree | 468c8dc6052c228c39065bb26551c316612bdc6f | |
parent | 1e172788b02cfe2db1da3ed4d68460bb40ccdb17 [diff] |
Fixes the API format of MagnificationConfig 1. Add a range to the parameter in setScale(), setCenterX(), setCenterY() 2. The IntDef annotation name of MagnificationMode should not be capitalized. The constants names should also start with the same prefix set in the IntDef annotation. 3. Adds @hide for the IntDef annotation. 4. The related constants uses consistent prefix Bug: 208422801 Test: none Change-Id: Ibd997c3a13385d8884e208564092d829833ae637