• miletus@chromium.org's avatar
    Scale touch event radius · 73559934
    miletus@chromium.org authored
    Touch event's position resolution could be quite different than the
    display's resolution, e.g.  the display could be set as 1920x1080
    while the touchscreen is reporting touch position range at 32767x32767.
    Touch event's radius is reported in the units the same as touch position.
    While we are doing touch position scaling, we should also do the same
    for touch radius.
    
    BUG=392172, 233245
    TEST=touch radius is scaled to be reasonable value for HP 23TM
         touch monitor.
    
    Review URL: https://codereview.chromium.org/412553005
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285132 0039d316-1c4b-4281-b951-d872f2087c98
    73559934
events_x.cc 27.1 KB