public class DozeScrimController extends Object
Constructor and Description |
---|
DozeScrimController(ScrimController scrimController,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
abortPulsing()
Aborts pulsing immediately.
|
boolean |
isDozing() |
boolean |
isPulsing() |
void |
onScreenTurnedOn() |
void |
pulse(DozeHost.PulseCallback callback,
int reason)
When dozing, fade screen contents in and out using the front scrim.
|
void |
setDozing(boolean dozing,
boolean animate) |
public DozeScrimController(ScrimController scrimController, Context context)
public void setDozing(boolean dozing, boolean animate)
public void pulse(DozeHost.PulseCallback callback, int reason)
public void abortPulsing()
public void onScreenTurnedOn()
public boolean isPulsing()
public boolean isDozing()