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 authored and Andy Wickham committed 2021-05-11 18:14:29 -07:00
1 parent e1a2ea769f
commit e3af6c6513
34 files changed
+7210 -2442

No files matched your search

@@ -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: