// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/ViewTranslationWrapper.java
// @SuppressWarnings("WeakerAccess")
// public class ViewTranslationWrapper {
//     private View view;
// 
//     private IViewTranslation enterTranslation;
//     private IViewTranslation exitTranslation;
//     private IViewTranslation defaultTranslation;
//     private Animation errorAnimation;
// 
//     public ViewTranslationWrapper(View view) {
//         this.view = view;
// 
//         enterTranslation = new NoTranslation();
//         exitTranslation = new NoTranslation();
//         setErrorAnimation(0);
//     }
// 
//     /**
//      * Set translation after passing first slide
//      *
//      * @param enterTranslation new translation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setEnterTranslation(IViewTranslation enterTranslation) {
//         this.enterTranslation = enterTranslation;
//         return this;
//     }
// 
//     /**
//      * Set translation after passing last slide
//      *
//      * @param exitTranslation new translation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setExitTranslation(IViewTranslation exitTranslation) {
//         this.exitTranslation = exitTranslation;
//         return this;
//     }
// 
//     /**
//      * Set default translation
//      *
//      * @param defaultTranslation new translation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setDefaultTranslation(IViewTranslation defaultTranslation) {
//         this.defaultTranslation = defaultTranslation;
//         return this;
//     }
// 
//     /**
//      * Set view on error animation
//      *
//      * @param errorAnimation new animation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setErrorAnimation(@AnimRes int errorAnimation) {
//         if (errorAnimation != 0) {
//             this.errorAnimation = AnimationUtils.loadAnimation(view.getContext(), errorAnimation);
//         }
//         return this;
//     }
// 
//     public void enterTranslate(float percentage) {
//         enterTranslation.translate(view, percentage);
//     }
// 
//     public void exitTranslate(float percentage) {
//         exitTranslation.translate(view, percentage);
//     }
// 
//     public void defaultTranslate(float percentage) {
//         defaultTranslation.translate(view, percentage);
//     }
// 
//     public void error() {
//         if (errorAnimation != null) {
//             view.startAnimation(errorAnimation);
//         }
//     }
// }
// 
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/translations/DefaultPositionTranslation.java
// public class DefaultPositionTranslation implements IViewTranslation {
//     @Override
//     public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
//         view.setTranslationY(0);
//     }
// }
// 
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/translations/EnterDefaultTranslation.java
// public class EnterDefaultTranslation implements IViewTranslation {
//     @Override
//     public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
//         view.setTranslationY((1f - percentage) * view.getResources().getDimensionPixelOffset(R.dimen.y_offset));
//     }
// }
// 
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/translations/ExitDefaultTranslation.java
// public class ExitDefaultTranslation implements IViewTranslation {
//     @Override
//     public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
//         view.setTranslationY(percentage * view.getResources().getDimensionPixelOffset(R.dimen.y_offset));
//     }
// }


import android.view.View;
import io.github.dreierf.materialintroscreen.animations.ViewTranslationWrapper;
import io.github.dreierf.materialintroscreen.animations.translations.DefaultPositionTranslation;
import io.github.dreierf.materialintroscreen.animations.translations.EnterDefaultTranslation;
import io.github.dreierf.materialintroscreen.animations.translations.ExitDefaultTranslation;
package io.github.dreierf.materialintroscreen.animations.wrappers;



public class BackButtonTranslationWrapper extends ViewTranslationWrapper {
    public BackButtonTranslationWrapper(View view) {
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/ViewTranslationWrapper.java
// @SuppressWarnings("WeakerAccess")
// public class ViewTranslationWrapper {
//     private View view;
// 
//     private IViewTranslation enterTranslation;
//     private IViewTranslation exitTranslation;
//     private IViewTranslation defaultTranslation;
//     private Animation errorAnimation;
// 
//     public ViewTranslationWrapper(View view) {
//         this.view = view;
// 
//         enterTranslation = new NoTranslation();
//         exitTranslation = new NoTranslation();
//         setErrorAnimation(0);
//     }
// 
//     /**
//      * Set translation after passing first slide
//      *
//      * @param enterTranslation new translation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setEnterTranslation(IViewTranslation enterTranslation) {
//         this.enterTranslation = enterTranslation;
//         return this;
//     }
// 
//     /**
//      * Set translation after passing last slide
//      *
//      * @param exitTranslation new translation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setExitTranslation(IViewTranslation exitTranslation) {
//         this.exitTranslation = exitTranslation;
//         return this;
//     }
// 
//     /**
//      * Set default translation
//      *
//      * @param defaultTranslation new translation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setDefaultTranslation(IViewTranslation defaultTranslation) {
//         this.defaultTranslation = defaultTranslation;
//         return this;
//     }
// 
//     /**
//      * Set view on error animation
//      *
//      * @param errorAnimation new animation
//      * @return ViewTranslationWrapper object
//      */
//     public ViewTranslationWrapper setErrorAnimation(@AnimRes int errorAnimation) {
//         if (errorAnimation != 0) {
//             this.errorAnimation = AnimationUtils.loadAnimation(view.getContext(), errorAnimation);
//         }
//         return this;
//     }
// 
//     public void enterTranslate(float percentage) {
//         enterTranslation.translate(view, percentage);
//     }
// 
//     public void exitTranslate(float percentage) {
//         exitTranslation.translate(view, percentage);
//     }
// 
//     public void defaultTranslate(float percentage) {
//         defaultTranslation.translate(view, percentage);
//     }
// 
//     public void error() {
//         if (errorAnimation != null) {
//             view.startAnimation(errorAnimation);
//         }
//     }
// }
// 
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/translations/DefaultPositionTranslation.java
// public class DefaultPositionTranslation implements IViewTranslation {
//     @Override
//     public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
//         view.setTranslationY(0);
//     }
// }
// 
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/translations/EnterDefaultTranslation.java
// public class EnterDefaultTranslation implements IViewTranslation {
//     @Override
//     public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
//         view.setTranslationY((1f - percentage) * view.getResources().getDimensionPixelOffset(R.dimen.y_offset));
//     }
// }
// 
// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/translations/ExitDefaultTranslation.java
// public class ExitDefaultTranslation implements IViewTranslation {
//     @Override
//     public void translate(View view, @FloatRange(from = 0, to = 1.0) float percentage) {
//         view.setTranslationY(percentage * view.getResources().getDimensionPixelOffset(R.dimen.y_offset));
//     }
// }


// Path: app/src/main/lib/material-intro-screen/material-intro-screen/src/main/java/io/github/dreierf/materialintroscreen/animations/wrappers/BackButtonTranslationWrapper.java
import android.view.View;
import io.github.dreierf.materialintroscreen.animations.ViewTranslationWrapper;
import io.github.dreierf.materialintroscreen.animations.translations.DefaultPositionTranslation;
import io.github.dreierf.materialintroscreen.animations.translations.EnterDefaultTranslation;
import io.github.dreierf.materialintroscreen.animations.translations.ExitDefaultTranslation;

package io.github.dreierf.materialintroscreen.animations.wrappers;



public class BackButtonTranslationWrapper extends ViewTranslationWrapper {
    public BackButtonTranslationWrapper(View view) {
        super(view);