Circle Arc View
Custom view to draw a circle and arc based on the direction of user actions for an Active Face Capture session.
Constructors
Properties
Color of the circle currently
Animator to rotate the arc as the expected user action changes
Directional score of the current head position
Color of the circle initially
Offset value to set the start angle of the arc
Start angle of the arc
Color of the circle when the user should stay still
Functions
Paint to draw the arc (empty color)
Color of the circle currently
Direction of the arc
Animator to rotate the arc as the expected user action changes
Directional score of the current head position
Color of the circle initially
Rect to draw the inner circle (shrinks rect by width/10 - the stroke width of the arc)
Offset value to set the start angle of the arc
Start angle of the arc
Color of the circle when the user should stay still
Color of the circle currently
Direction of the arc
Set the direction of the arc based on expected instruction
Animator to rotate the arc as the expected user action changes
Directional score of the current head position
Color of the circle initially
Start angle of the arc
Color of the circle when the user should stay still
Update the color of the circle