public class Dimmer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DIM_TIME |
static int |
LONG_BRIGHT_TIME |
static float |
MAXIMUM_BRIGHTNESS |
static float |
MINIMUM_BRIGHTNESS |
Constructor and Description |
---|
Dimmer(Activity activity) |
Dimmer(long waitTime,
Activity activity) |
Modifier and Type | Method and Description |
---|---|
void |
handleDimTimer() |
void |
longBright()
Cancels all existing handler calls that are not already running, and sets up a new handler
that will post in x milliseconds.
|
public static final int DEFAULT_DIM_TIME
public static final int LONG_BRIGHT_TIME
public static final float MAXIMUM_BRIGHTNESS
public static final float MINIMUM_BRIGHTNESS