public class VolumeDialogComponent extends Object implements VolumeComponent, TunerService.Tunable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_DO_NOT_DISTURB_WHEN_SILENT |
static boolean |
DEFAULT_VOLUME_DOWN_TO_ENTER_SILENT |
static boolean |
DEFAULT_VOLUME_UP_TO_EXIT_SILENT |
static String |
VOLUME_DOWN_SILENT |
static String |
VOLUME_SILENT_DO_NOT_DISTURB |
static String |
VOLUME_UP_SILENT |
ACTION_DEMO, COMMAND_BARS, COMMAND_BATTERY, COMMAND_CLOCK, COMMAND_ENTER, COMMAND_EXIT, COMMAND_NETWORK, COMMAND_NOTIFICATIONS, COMMAND_STATUS, COMMAND_VOLUME, DEMO_MODE_ALLOWED, EXTRA_COMMAND
Constructor and Description |
---|
VolumeDialogComponent(SystemUI sysui,
Context context,
Handler handler,
ZenModeController zen) |
Modifier and Type | Method and Description |
---|---|
void |
dismissNow() |
void |
dispatchDemoCommand(String command,
Bundle args) |
void |
dump(FileDescriptor fd,
PrintWriter pw,
String[] args) |
ZenModeController |
getZenController() |
void |
onConfigurationChanged(Configuration newConfig) |
void |
onTuningChanged(String key,
String newValue) |
void |
register() |
public static final String VOLUME_DOWN_SILENT
public static final String VOLUME_UP_SILENT
public static final String VOLUME_SILENT_DO_NOT_DISTURB
public static final boolean DEFAULT_VOLUME_DOWN_TO_ENTER_SILENT
public static final boolean DEFAULT_VOLUME_UP_TO_EXIT_SILENT
public static final boolean DEFAULT_DO_NOT_DISTURB_WHEN_SILENT
public VolumeDialogComponent(SystemUI sysui, Context context, Handler handler, ZenModeController zen)
public void onTuningChanged(String key, String newValue)
onTuningChanged
in interface TunerService.Tunable
public ZenModeController getZenController()
getZenController
in interface VolumeComponent
public void onConfigurationChanged(Configuration newConfig)
onConfigurationChanged
in interface VolumeComponent
public void dismissNow()
dismissNow
in interface VolumeComponent
public void dispatchDemoCommand(String command, Bundle args)
dispatchDemoCommand
in interface DemoMode
public void register()
register
in interface VolumeComponent
public void dump(FileDescriptor fd, PrintWriter pw, String[] args)
dump
in interface VolumeComponent