some small enhancements to voice testing
This commit is contained in:
parent
a329fade79
commit
f251623b9a
1 changed files with 10 additions and 10 deletions
|
@ -82,13 +82,13 @@ public class TestVoiceActivity extends SherlockActivity {
|
|||
}
|
||||
|
||||
private void addButtons(final LinearLayout ll, CommandPlayer p) {
|
||||
addButton(ll, "New route was calculated (15350m & 2h30m5sec)", builder(p).newRouteCalculated(15350, 9005));
|
||||
addButton(ll, "After 1050m turn slightly left 'to Strasse'", builder(p).turn(AbstractPrologCommandPlayer.A_LEFT_SL, 1050, "Strasse"));
|
||||
addButton(ll, "Turn left 'to Street'", builder(p).turn(AbstractPrologCommandPlayer.A_LEFT, "Street"));
|
||||
addButton(ll, "Prepare to turn right after 320m 'to Mini'", builder(p).prepareTurn(AbstractPrologCommandPlayer.A_RIGHT, 320, "Mini"));
|
||||
addButton(ll, "After 370m turn sharply right 'to F23'", builder(p).turn(AbstractPrologCommandPlayer.A_RIGHT_SH, 370, "F23"));
|
||||
addButton(ll, "New route has been calculated (15350m & 2h30m5sec)", builder(p).newRouteCalculated(15350, 9005));
|
||||
addButton(ll, "After 1050m turn slightly left 'onto Hauptstrasse'", builder(p).turn(AbstractPrologCommandPlayer.A_LEFT_SL, 1050, "Strasse"));
|
||||
addButton(ll, "Turn left 'onto Street'", builder(p).turn(AbstractPrologCommandPlayer.A_LEFT, "Street"));
|
||||
addButton(ll, "Prepare to turn right after 320m 'onto Mini'", builder(p).prepareTurn(AbstractPrologCommandPlayer.A_RIGHT, 320, "Mini"));
|
||||
addButton(ll, "After 370m turn sharply right 'onto F23'", builder(p).turn(AbstractPrologCommandPlayer.A_RIGHT_SH, 370, "F23"));
|
||||
addButton(ll, "Prepare to turn slighlty left after 850m then bear right", builder(p).prepareTurn(AbstractPrologCommandPlayer.A_LEFT_SL, 850, "").then().bearRight(""));
|
||||
addButton(ll, "Turn sharply right 'to Street' then bear left ", builder(p).turn(AbstractPrologCommandPlayer.A_RIGHT_SH, "Street").then().bearLeft(""));
|
||||
addButton(ll, "Turn sharply right 'onto Street' then bear left ", builder(p).turn(AbstractPrologCommandPlayer.A_RIGHT_SH, "Street").then().bearLeft(""));
|
||||
addButton(ll, "Prepare to make a U-turn after 400m", builder(p).prepareMakeUT(400, ""));
|
||||
addButton(ll, "After 640m make a U-turn", builder(p).makeUT(640, ""));
|
||||
addButton(ll, "Prepare to keep left '' after 370m", builder(p).prepareTurn(AbstractPrologCommandPlayer.A_LEFT_KEEP, 370, ""));
|
||||
|
@ -106,8 +106,8 @@ public class TestVoiceActivity extends SherlockActivity {
|
|||
addButton(ll, "Follow the road 'A33' for 800m and arrive at destination", builder(p).goAhead(800, "A33").andArriveAtDestination(""));
|
||||
addButton(ll, "Arrive at destination 'Home'", builder(p).arrivedAtDestination("Home"));
|
||||
addButton(ll, "Arrive at waypoint 'GPX point'", builder(p).arrivedAtWayPoint("GPX point"));
|
||||
addButton(ll, "You are off the route for 1050m", builder(p).offRoute(1050));
|
||||
addButton(ll, "You exceed speed limit", builder(p).speedAlarm());
|
||||
addButton(ll, "You have been off the route for 1050m", builder(p).offRoute(1050));
|
||||
addButton(ll, "You are exceeding the speed limit", builder(p).speedAlarm());
|
||||
addButton(ll, "Attention (speed camera) /bump...", builder(p).attention("speed camera"));
|
||||
ll.forceLayout();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue