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
Commit-Queue: Matthew Jones <>
Reviewed-by: David Trainor <>
Cr-Commit-Position: refs/heads/master@{#622266}
8 files changed