@Implements(value=android.view.accessibility.CaptioningManager.class) public class ShadowCaptioningManager extends java.lang.Object
Shadow of CaptioningManager
.
Constructor and Description |
---|
ShadowCaptioningManager() |
Modifier and Type | Method and Description |
---|---|
protected float |
getFontScale()
Returns 1.0 as default or the most recent value passed to
#setFontScale() |
protected boolean |
isEnabled()
Returns false or the most recent value passed to
setEnabled(boolean) |
void |
setEnabled(boolean isEnabled)
Sets the value to be returned by
CaptioningManager.isEnabled() |
void |
setFontScale(float fontScale)
Sets the value to be returned by
CaptioningManager.getFontScale() |
@Implementation(minSdk=19) protected float getFontScale()
Returns 1.0 as default or the most recent value passed to #setFontScale()
public void setFontScale(float fontScale)
Sets the value to be returned by CaptioningManager.getFontScale()
@Implementation(minSdk=19) protected boolean isEnabled()
Returns false or the most recent value passed to setEnabled(boolean)
public void setEnabled(boolean isEnabled)
Sets the value to be returned by CaptioningManager.isEnabled()