commit | ee1f9361eeed8ba036f2fef73936925eee448035 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Tue Jan 25 13:49:54 2022 -0800 |
committer | Bryce Lee <brycelee@google.com> | Fri Jan 28 08:43:26 2022 -0800 |
tree | 98cc85662982a7c6795c250e80b569099bde70e6 | |
parent | 86d5713de2ca2a3a6c0c3de89289b4150eac70e3 [diff] |
Add snapToGuide for complications. snapToGuide lets the ComplicationLayoutEngine choose the proper dimension for a complication. This adjusted dimension is always the one perpendicular to the complication direction. Bug: 216369783 Test: atest ComplicationLayoutEngineTest#testSnapToGuide Change-Id: I20a501bc3ef3274d2f511e2ea5901d1865b0ec24