OSDN Git Service

Corrects CompactExtractEditLayout to account for systemWindowInsetBottom
authorMark Renouf <mrenouf@google.com>
Wed, 29 Mar 2017 20:08:21 +0000 (16:08 -0400)
committerMark Renouf <mrenouf@google.com>
Thu, 30 Mar 2017 19:01:55 +0000 (15:01 -0400)
commitd1a0d197940185f52d0aeebad7b5524acb363cf0
treef76a9d403b306386bc10329486abadab286970ab
parentd4fdb6e3b2ab15d9fa8401e2abda368a00493daa
Corrects CompactExtractEditLayout to account for systemWindowInsetBottom

Percentage-base sizes involving screen height are incorrect for watch
devices with non 1:1 display metrics. These are round screens with an
inactive bottom portion. To maintain the correct proportions the
bottom inset must be added to the height.

BUG: 36728475
Change-Id: Ibe351d1db7964b4b89ce9a588c171cd8407e2a50
core/java/android/inputmethodservice/CompactExtractEditLayout.java