public class DozeParameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DozeParameters.IntInOutMatcher
Parses a spec of the form `1,2,3,!
|
Constructor and Description |
---|
DozeParameters(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
dump(PrintWriter pw) |
boolean |
getDisplayStateSupported() |
boolean |
getPickupSubtypePerformsProxCheck(int subType) |
int |
getPickupVibrationThreshold() |
boolean |
getProxCheckBeforePulse() |
int |
getPulseDuration(boolean pickup) |
int |
getPulseInDuration(boolean pickupOrDoubleTap) |
boolean |
getPulseOnSigMotion() |
int |
getPulseOutDuration() |
int |
getPulseVisibleDuration() |
boolean |
getVibrateOnPickup() |
boolean |
getVibrateOnSigMotion() |
public DozeParameters(Context context)
public void dump(PrintWriter pw)
public boolean getDisplayStateSupported()
public int getPulseDuration(boolean pickup)
public int getPulseInDuration(boolean pickupOrDoubleTap)
public int getPulseVisibleDuration()
public int getPulseOutDuration()
public boolean getPulseOnSigMotion()
public boolean getVibrateOnSigMotion()
public boolean getVibrateOnPickup()
public boolean getProxCheckBeforePulse()
public int getPickupVibrationThreshold()
public boolean getPickupSubtypePerformsProxCheck(int subType)