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
5 files changed