public class KeyboardUI extends SystemUI implements InputManager.OnTabletModeChangedListener
Modifier and Type | Field and Description |
---|---|
protected Context |
mContext |
mComponents
Constructor and Description |
---|
KeyboardUI() |
Modifier and Type | Method and Description |
---|---|
void |
dump(FileDescriptor fd,
PrintWriter pw,
String[] args) |
protected void |
onBootCompleted() |
void |
onBootCompletedInternal() |
protected void |
onConfigurationChanged(Configuration newConfig) |
void |
onTabletModeChanged(long whenNanos,
boolean inTabletMode)
Called whenever the device goes into or comes out of tablet mode.
|
void |
start() |
getComponent, overrideNotificationAppName, putComponent
protected volatile Context mContext
protected void onConfigurationChanged(Configuration newConfig)
onConfigurationChanged
in class SystemUI
public void dump(FileDescriptor fd, PrintWriter pw, String[] args)
protected void onBootCompleted()
onBootCompleted
in class SystemUI
public void onTabletModeChanged(long whenNanos, boolean inTabletMode)
InputManager.OnTabletModeChangedListener
onTabletModeChanged
in interface InputManager.OnTabletModeChangedListener
whenNanos
- The time at which the device transitioned into or
out of tablet mode. This is given in nanoseconds in the
SystemClock.uptimeMillis()
time base.public void onBootCompletedInternal()