Use px values for browser controls height and offset in java

This patch converts most of the float values that were previously
storing integers into proper integers and updates the related logic.
The idea here is to remove all of the unnecessary float comparison
and rounding that previously plagued the code; especially since all
of the values are tracked in pixels anyway (rather than DP).

Bug: 882508
Change-Id: I664fb52e3636aa99ac4937c9e3c1b29a4866eee6
Reviewed-on: https://chromium-review.googlesource.com/c/1404391
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Reviewed-by: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622266}
8 files changed