diff options
author | Aravind Akella <aakella@google.com> | 2013-09-04 12:07:33 -0700 |
---|---|---|
committer | Aravind Akella <aakella@google.com> | 2013-09-06 15:11:50 -0700 |
commit | d405e0fc8274e8dc9ce8d6e084f6ad679fa6e6fa (patch) | |
tree | 36679f8a71d82e5d70950fe986a0d61f1d9e687e /api/current.txt | |
parent | 52a5096f7cf6ef2505e182a681b0a9705bbd44bd (diff) | |
download | frameworks_base-d405e0fc8274e8dc9ce8d6e084f6ad679fa6e6fa.zip frameworks_base-d405e0fc8274e8dc9ce8d6e084f6ad679fa6e6fa.tar.gz frameworks_base-d405e0fc8274e8dc9ce8d6e084f6ad679fa6e6fa.tar.bz2 |
Sensor batching APIs for review.
Change-Id: I34504e1a0856c2dfeceb69c808abdf3e805c5f1f
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 1443bee..f77c3e5 100644 --- a/api/current.txt +++ b/api/current.txt @@ -10623,6 +10623,10 @@ package android.hardware { field public int width; } + public abstract interface FlushCompleteListener { + method public abstract void onFlushCompleted(android.hardware.Sensor); + } + public class GeomagneticField { ctor public GeomagneticField(float, float, float, long); method public float getDeclination(); @@ -10635,6 +10639,8 @@ package android.hardware { } public final class Sensor { + method public int getFifoMaxEventCount(); + method public int getFifoReservedEventCount(); method public float getMaximumRange(); method public int getMinDelay(); method public java.lang.String getName(); @@ -10685,6 +10691,7 @@ package android.hardware { public abstract class SensorManager { method public boolean cancelTriggerSensor(android.hardware.TriggerEventListener, android.hardware.Sensor); + method public boolean flush(android.hardware.Sensor); method public static float getAltitude(float, float); method public static void getAngleChange(float[], float[], float[]); method public android.hardware.Sensor getDefaultSensor(int); @@ -10698,7 +10705,9 @@ package android.hardware { method public deprecated boolean registerListener(android.hardware.SensorListener, int); method public deprecated boolean registerListener(android.hardware.SensorListener, int, int); method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int); + method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int, int, int, android.hardware.FlushCompleteListener); method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int, android.os.Handler); + method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int, int, int, android.os.Handler, android.hardware.FlushCompleteListener); method public static boolean remapCoordinateSystem(float[], int, int, float[]); method public boolean requestTriggerSensor(android.hardware.TriggerEventListener, android.hardware.Sensor); method public deprecated void unregisterListener(android.hardware.SensorListener); |