Skip to content
Snippets Groups Projects
  • Tadashi G. Takaoka's avatar
    59b7bd07
    Using distance to the edge of key as proximity detection · 59b7bd07
    Tadashi G. Takaoka authored
    Because there may be very long key, such as space bar on tablet, we
    should not use the distance between the touch point and the center of
    key as proximity detection.  Instead of that, this change uses the
    distance between the point and the nearest edge of key as proximity
    detection.
    
    Also this change fixes the bug that space key (code 32) was not
    counted in proximity detection.
    
    Bug: 3164020
    Bug: 3168138
    Change-Id: I687f1ce94a8e944c3f6eea0fe00e18ed6e68e278
    59b7bd07
    History
    Using distance to the edge of key as proximity detection
    Tadashi G. Takaoka authored
    Because there may be very long key, such as space bar on tablet, we
    should not use the distance between the touch point and the center of
    key as proximity detection.  Instead of that, this change uses the
    distance between the point and the nearest edge of key as proximity
    detection.
    
    Also this change fixes the bug that space key (code 32) was not
    counted in proximity detection.
    
    Bug: 3164020
    Bug: 3168138
    Change-Id: I687f1ce94a8e944c3f6eea0fe00e18ed6e68e278