Ignore accelerometer readings which appear to be noisy.
commit8b57559b4924e1dcd8f26dcf1b2fed96b25b06f3
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 12 Apr 2014 17:35:34 +0000 (12 17:35 +0000)
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 12 Apr 2014 17:35:34 +0000 (12 17:35 +0000)
treea42f0fe67fde40e5084a905288f6e67fa6cb42d7
parent7e9fd85fa94c0d2fef83bef0d1bb43abc52bdc8e
Ignore accelerometer readings which appear to be noisy.

BUG=359709,359685
TEST=MaximizeModeControllerTest.LaptopTest,MaximizeModeControllerTest,MaximizeModeTest

Review URL: https://codereview.chromium.org/235573004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263536 0039d316-1c4b-4281-b951-d872f2087c98
ash/accelerometer/accelerometer_observer.h
ash/ash.gyp
ash/wm/maximize_mode/accelerometer_test_data_literals.cc [new file with mode: 0644]
ash/wm/maximize_mode/maximize_mode_controller.cc
ash/wm/maximize_mode/maximize_mode_controller_unittest.cc