• Malay Keshav's avatar
    Adjust shelf bounds to cover display edges · fd6fd0c8
    Malay Keshav authored
    This patch adjusts the shelf width such that in pixel space there is no
    gap left between the shelf and the edge of the display. The adjustment
    is done via a utility method which can be used to adjust any bounds to
    ensure that they cover the edge of the display or screen.
    
    Bug: 843354
    Change-Id: Ica9adfe6e21e7ae71ef8206e20507a372317c105
    Component: Screen util, shelf
    Reviewed-on: https://chromium-review.googlesource.com/1154040
    Commit-Queue: Malay Keshav <malaykeshav@chromium.org>
    Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#579590}
    fd6fd0c8
screen_util.h 2.48 KB