public class Visual extends FeedbackClass
FeedbackClass.Type, FeedbackClass.Valence
Modifier and Type | Field and Description |
---|---|
protected float |
defBrightness |
protected android.widget.ImageSwitcher[] |
img |
protected static long |
s_lock |
protected long |
timeout |
Constructor and Description |
---|
Visual(android.content.Context context,
FeedbackManager.Options options) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Action action) |
protected void |
load(org.xmlpull.v1.XmlPullParser xml,
android.content.Context context) |
void |
update() |
protected void |
updateBrightness(float brightness) |
protected void |
updateIcons(android.graphics.drawable.Drawable[] icons) |
protected void |
updateImageSwitcher(android.widget.ImageSwitcher view,
android.graphics.drawable.Drawable img) |
addFeedbackListener, create, getAction, getCondition, getLastExecutionTime, getLevel, getValence, process, release
protected android.widget.ImageSwitcher[] img
protected float defBrightness
protected static long s_lock
protected long timeout
public Visual(android.content.Context context, FeedbackManager.Options options)
public boolean execute(Action action)
execute
in class FeedbackClass
public void update()
update
in class FeedbackClass
protected void updateIcons(android.graphics.drawable.Drawable[] icons)
protected void updateBrightness(float brightness)
protected void updateImageSwitcher(android.widget.ImageSwitcher view, android.graphics.drawable.Drawable img)
protected void load(org.xmlpull.v1.XmlPullParser xml, android.content.Context context)
load
in class FeedbackClass