OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.content.browser; | 5 package org.chromium.device.sensors; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 import android.hardware.Sensor; | 8 import android.hardware.Sensor; |
9 import android.hardware.SensorEventListener; | 9 import android.hardware.SensorEventListener; |
10 import android.hardware.SensorManager; | 10 import android.hardware.SensorManager; |
11 import android.os.Handler; | 11 import android.os.Handler; |
12 import android.support.test.filters.SmallTest; | 12 import android.support.test.filters.SmallTest; |
13 import android.test.AndroidTestCase; | 13 import android.test.AndroidTestCase; |
14 | 14 |
15 import java.util.HashSet; | 15 import java.util.HashSet; |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 } | 643 } |
644 return false; | 644 return false; |
645 } | 645 } |
646 | 646 |
647 @Override | 647 @Override |
648 public void unregisterListener(SensorEventListener listener, int sensorT
ype) { | 648 public void unregisterListener(SensorEventListener listener, int sensorT
ype) { |
649 mNumUnRegistered++; | 649 mNumUnRegistered++; |
650 } | 650 } |
651 } | 651 } |
652 } | 652 } |
OLD | NEW |