commit | d931a4763f77365c788d73decb7d5a57c8f62eb3 | [log] [tgz] |
---|---|---|
author | Shu Chen <shuchen@google.com> | Fri Feb 14 14:25:14 2020 +0800 |
committer | Shu Chen <shuchen@google.com> | Wed Feb 19 09:17:01 2020 +0800 |
tree | a8eb9a7b3ce69938fad6a298ea7fe50d802ea364 | |
parent | 8a48bc0b1ffc891404396a2372188d8f91b44562 [diff] |
Supports dynamic height for the new magnifier. And also limits the pre-magnified line height: - If the text line height is too big, don't show the magnifier. - If the text line height is too small, enlarges the zoom factor so that the magnified text can be seen clearly. Bug: 77791703, 148181186 Test: locally verified. Change-Id: I4cf56e0a54fda6b23dafe153040fe5ba206f5f1f