Update gesture navigation tutorial.

- Updated gesture navigation feedback videos.
- Added feedback motion loop videos.
- Updated strings.
- Added alternate strings for when the user launches tutorial steps from the Tips app.

Test: manual
bug: 169687177
Change-Id: I87d475e1510a25ffefea14dbd0b224a063e7cad8
This commit is contained in:
Schneider Victor-tulias
2021-04-28 12:11:11 -07:00
committed by Andy Wickham
parent e1a2ea769f
commit e3af6c6513
34 changed files with 7210 additions and 2442 deletions
@@ -41,6 +41,11 @@ final class HomeGestureTutorialController extends SwipeUpGestureTutorialControll
return R.string.home_gesture_intro_subtitle;
}
@Override
protected int getMockAppTaskThumbnailResId() {
return R.drawable.mock_webpage;
}
@Override
public void onBackGestureAttempted(BackGestureResult result) {
switch (mTutorialType) {
@@ -72,10 +77,13 @@ final class HomeGestureTutorialController extends SwipeUpGestureTutorialControll
case HOME_NAVIGATION:
switch (result) {
case HOME_GESTURE_COMPLETED: {
mTutorialFragment.releaseGestureVideoView();
animateFakeTaskViewHome(finalVelocity, null);
showActionButton();
showFeedback(R.string.home_gesture_feedback_complete,
true);
int subtitleResId = mTutorialFragment.getNumSteps() == 1
? R.string.home_gesture_feedback_complete_without_follow_up
: R.string.home_gesture_feedback_complete_with_follow_up;
showFeedback(subtitleResId, true);
break;
}
case HOME_NOT_STARTED_TOO_FAR_FROM_EDGE: