|
YAACC - UPNP Client and Server
|
The repeat and shuffle controls of the player screens: which icon and text show a play mode, and the binding of two buttons to a Player.
More...

Static Public Member Functions | |
| static int | repeatIcon (PlayMode.RepeatMode repeat) |
| static int | repeatLabel (PlayMode.RepeatMode repeat) |
| static int | shuffleIcon () |
| static int | shuffleLabel (boolean shuffle) |
| static float | alpha (boolean active) |
| static void | renderRepeat (Context context, MenuItem item, PlayMode mode) |
| Shows the repeat state of the mode as icon, title and (half transparent when off) alpha of a menu item. | |
| static void | renderShuffle (Context context, MenuItem item, PlayMode mode) |
| Shows the shuffle state of the mode as icon, title and alpha of a menu item. | |
The repeat and shuffle controls of the player screens: which icon and text show a play mode, and the binding of two buttons to a Player.
The state must be readable without color (the app is gray): repeat one has its own icon ("1"), and an inactive control (repeat off, shuffle off) is drawn half transparent; the content description says the state in words for a screen reader.
|
static |