@@ -24,7 +26,7 @@
-
+
@@ -69,6 +71,9 @@
+
+
+
@@ -84,15 +89,14 @@
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/KUASWifiAutoLogin/app/build.gradle b/KUASWifiAutoLogin/app/build.gradle
index 9de77b4..96d292b 100644
--- a/KUASWifiAutoLogin/app/build.gradle
+++ b/KUASWifiAutoLogin/app/build.gradle
@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
- buildToolsVersion "21.1.2"
+ compileSdkVersion 22
+ buildToolsVersion "22.0.1"
defaultConfig {
applicationId "tw.edu.kuas.wifiautologin"
minSdkVersion 9
- targetSdkVersion 21
- versionCode 201
- versionName "2.0.1"
+ targetSdkVersion 22
+ versionCode 211
+ versionName "2.1.1"
}
buildTypes {
release {
@@ -21,8 +21,9 @@ android {
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
- compile 'com.android.support:appcompat-v7:21.0.3'
- compile 'org.jsoup:jsoup:1.8.1'
- compile 'com.github.fengdai:alertdialogpro-theme-material:0.2.1'
- compile 'com.github.traex.rippleeffect:library:1.2.4'
+ compile 'com.android.support:appcompat-v7:22.2.0'
+ compile 'com.jakewharton:butterknife:6.1.0'
+ compile 'com.loopj.android:android-async-http:1.4.7'
+ compile 'com.nineoldandroids:library:2.4.0'
+ compile 'com.daimajia.easing:library:1.0.2'
}
diff --git a/KUASWifiAutoLogin/app/src/main/AndroidManifest.xml b/KUASWifiAutoLogin/app/src/main/AndroidManifest.xml
index 3cd689f..df24287 100644
--- a/KUASWifiAutoLogin/app/src/main/AndroidManifest.xml
+++ b/KUASWifiAutoLogin/app/src/main/AndroidManifest.xml
@@ -2,27 +2,41 @@
-
-
-
-
+
+
+
+ android:theme="@style/AppTheme">
+
+ android:name=".MainActivity"
+ android:label="@string/app_name_launcher"
+ android:windowSoftInputMode="stateHidden">
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/BaseViewAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/BaseViewAnimator.java
new file mode 100644
index 0000000..fb62a92
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/BaseViewAnimator.java
@@ -0,0 +1,136 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library;
+
+import android.view.View;
+import android.view.animation.Interpolator;
+
+import com.nineoldandroids.animation.Animator.AnimatorListener;
+import com.nineoldandroids.animation.AnimatorSet;
+import com.nineoldandroids.view.ViewHelper;
+
+public abstract class BaseViewAnimator {
+
+ public static final long DURATION = 1000;
+
+ private AnimatorSet mAnimatorSet;
+ private long mDuration = DURATION;
+
+ {
+ mAnimatorSet = new AnimatorSet();
+ }
+
+
+ protected abstract void prepare(View target);
+
+ public BaseViewAnimator setTarget(View target) {
+ reset(target);
+ prepare(target);
+ return this;
+ }
+
+ public void animate() {
+ start();
+ }
+
+ /**
+ * reset the view to default status
+ *
+ * @param target
+ */
+ public void reset(View target) {
+ ViewHelper.setAlpha(target, 1);
+ ViewHelper.setScaleX(target, 1);
+ ViewHelper.setScaleY(target, 1);
+ ViewHelper.setTranslationX(target, 0);
+ ViewHelper.setTranslationY(target, 0);
+ ViewHelper.setRotation(target, 0);
+ ViewHelper.setRotationY(target, 0);
+ ViewHelper.setRotationX(target, 0);
+ ViewHelper.setPivotX(target, target.getMeasuredWidth() / 2.0f);
+ ViewHelper.setPivotY(target, target.getMeasuredHeight() / 2.0f);
+ }
+
+ /**
+ * start to animate
+ */
+ public void start() {
+ mAnimatorSet.setDuration(mDuration);
+ mAnimatorSet.start();
+ }
+
+ public BaseViewAnimator setDuration(long duration) {
+ mDuration = duration;
+ return this;
+ }
+
+ public BaseViewAnimator setStartDelay(long delay) {
+ getAnimatorAgent().setStartDelay(delay);
+ return this;
+ }
+
+ public long getStartDelay() {
+ return mAnimatorSet.getStartDelay();
+ }
+
+ public BaseViewAnimator addAnimatorListener(AnimatorListener l) {
+ mAnimatorSet.addListener(l);
+ return this;
+ }
+
+ public void cancel(){
+ mAnimatorSet.cancel();
+ }
+
+ public boolean isRunning(){
+ return mAnimatorSet.isRunning();
+ }
+
+ public boolean isStarted(){
+ return mAnimatorSet.isStarted();
+ }
+
+ public void removeAnimatorListener(AnimatorListener l) {
+ mAnimatorSet.removeListener(l);
+ }
+
+ public void removeAllListener() {
+ mAnimatorSet.removeAllListeners();
+ }
+
+ public BaseViewAnimator setInterpolator(Interpolator interpolator) {
+ mAnimatorSet.setInterpolator(interpolator);
+ return this;
+ }
+
+ public long getDuration() {
+ return mDuration;
+ }
+
+ public AnimatorSet getAnimatorAgent() {
+ return mAnimatorSet;
+ }
+
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/Techniques.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/Techniques.java
new file mode 100644
index 0000000..8dac711
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/Techniques.java
@@ -0,0 +1,184 @@
+
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library;
+
+import com.daimajia.androidanimations.library.attention.BounceAnimator;
+import com.daimajia.androidanimations.library.attention.FlashAnimator;
+import com.daimajia.androidanimations.library.attention.PulseAnimator;
+import com.daimajia.androidanimations.library.attention.RubberBandAnimator;
+import com.daimajia.androidanimations.library.attention.ShakeAnimator;
+import com.daimajia.androidanimations.library.attention.StandUpAnimator;
+import com.daimajia.androidanimations.library.attention.SwingAnimator;
+import com.daimajia.androidanimations.library.attention.TadaAnimator;
+import com.daimajia.androidanimations.library.attention.WaveAnimator;
+import com.daimajia.androidanimations.library.attention.WobbleAnimator;
+import com.daimajia.androidanimations.library.bouncing_entrances.BounceInAnimator;
+import com.daimajia.androidanimations.library.bouncing_entrances.BounceInDownAnimator;
+import com.daimajia.androidanimations.library.bouncing_entrances.BounceInLeftAnimator;
+import com.daimajia.androidanimations.library.bouncing_entrances.BounceInRightAnimator;
+import com.daimajia.androidanimations.library.bouncing_entrances.BounceInUpAnimator;
+import com.daimajia.androidanimations.library.fading_entrances.FadeInAnimator;
+import com.daimajia.androidanimations.library.fading_entrances.FadeInDownAnimator;
+import com.daimajia.androidanimations.library.fading_entrances.FadeInLeftAnimator;
+import com.daimajia.androidanimations.library.fading_entrances.FadeInRightAnimator;
+import com.daimajia.androidanimations.library.fading_entrances.FadeInUpAnimator;
+import com.daimajia.androidanimations.library.fading_exits.FadeOutAnimator;
+import com.daimajia.androidanimations.library.fading_exits.FadeOutDownAnimator;
+import com.daimajia.androidanimations.library.fading_exits.FadeOutLeftAnimator;
+import com.daimajia.androidanimations.library.fading_exits.FadeOutRightAnimator;
+import com.daimajia.androidanimations.library.fading_exits.FadeOutUpAnimator;
+import com.daimajia.androidanimations.library.flippers.FlipInXAnimator;
+import com.daimajia.androidanimations.library.flippers.FlipInYAnimator;
+import com.daimajia.androidanimations.library.flippers.FlipOutXAnimator;
+import com.daimajia.androidanimations.library.flippers.FlipOutYAnimator;
+import com.daimajia.androidanimations.library.rotating_entrances.RotateInAnimator;
+import com.daimajia.androidanimations.library.rotating_entrances.RotateInDownLeftAnimator;
+import com.daimajia.androidanimations.library.rotating_entrances.RotateInDownRightAnimator;
+import com.daimajia.androidanimations.library.rotating_entrances.RotateInUpLeftAnimator;
+import com.daimajia.androidanimations.library.rotating_entrances.RotateInUpRightAnimator;
+import com.daimajia.androidanimations.library.rotating_exits.RotateOutAnimator;
+import com.daimajia.androidanimations.library.rotating_exits.RotateOutDownLeftAnimator;
+import com.daimajia.androidanimations.library.rotating_exits.RotateOutDownRightAnimator;
+import com.daimajia.androidanimations.library.rotating_exits.RotateOutUpLeftAnimator;
+import com.daimajia.androidanimations.library.rotating_exits.RotateOutUpRightAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideInDownAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideInLeftAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideInRightAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideInUpAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideOutDownAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideOutLeftAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideOutRightAnimator;
+import com.daimajia.androidanimations.library.sliders.SlideOutUpAnimator;
+import com.daimajia.androidanimations.library.specials.HingeAnimator;
+import com.daimajia.androidanimations.library.specials.RollInAnimator;
+import com.daimajia.androidanimations.library.specials.RollOutAnimator;
+import com.daimajia.androidanimations.library.specials.in.DropOutAnimator;
+import com.daimajia.androidanimations.library.specials.in.LandingAnimator;
+import com.daimajia.androidanimations.library.specials.out.TakingOffAnimator;
+import com.daimajia.androidanimations.library.zooming_entrances.ZoomInAnimator;
+import com.daimajia.androidanimations.library.zooming_entrances.ZoomInDownAnimator;
+import com.daimajia.androidanimations.library.zooming_entrances.ZoomInLeftAnimator;
+import com.daimajia.androidanimations.library.zooming_entrances.ZoomInRightAnimator;
+import com.daimajia.androidanimations.library.zooming_entrances.ZoomInUpAnimator;
+import com.daimajia.androidanimations.library.zooming_exits.ZoomOutAnimator;
+import com.daimajia.androidanimations.library.zooming_exits.ZoomOutDownAnimator;
+import com.daimajia.androidanimations.library.zooming_exits.ZoomOutLeftAnimator;
+import com.daimajia.androidanimations.library.zooming_exits.ZoomOutRightAnimator;
+import com.daimajia.androidanimations.library.zooming_exits.ZoomOutUpAnimator;
+
+public enum Techniques {
+
+ DropOut(DropOutAnimator.class),
+ Landing(LandingAnimator.class),
+ TakingOff(TakingOffAnimator.class),
+
+ Flash(FlashAnimator.class),
+ Pulse(PulseAnimator.class),
+ RubberBand(RubberBandAnimator.class),
+ Shake(ShakeAnimator.class),
+ Swing(SwingAnimator.class),
+ Wobble(WobbleAnimator.class),
+ Bounce(BounceAnimator.class),
+ Tada(TadaAnimator.class),
+ StandUp(StandUpAnimator.class),
+ Wave(WaveAnimator.class),
+
+ Hinge(HingeAnimator.class),
+ RollIn(RollInAnimator.class),
+ RollOut(RollOutAnimator.class),
+
+ BounceIn(BounceInAnimator.class),
+ BounceInDown(BounceInDownAnimator.class),
+ BounceInLeft(BounceInLeftAnimator.class),
+ BounceInRight(BounceInRightAnimator.class),
+ BounceInUp(BounceInUpAnimator.class),
+
+ FadeIn(FadeInAnimator.class),
+ FadeInUp(FadeInUpAnimator.class),
+ FadeInDown(FadeInDownAnimator.class),
+ FadeInLeft(FadeInLeftAnimator.class),
+ FadeInRight(FadeInRightAnimator.class),
+
+ FadeOut(FadeOutAnimator.class),
+ FadeOutDown(FadeOutDownAnimator.class),
+ FadeOutLeft(FadeOutLeftAnimator.class),
+ FadeOutRight(FadeOutRightAnimator.class),
+ FadeOutUp(FadeOutUpAnimator.class),
+
+ FlipInX(FlipInXAnimator.class),
+ FlipOutX(FlipOutXAnimator.class),
+ FlipInY(FlipInYAnimator.class),
+ FlipOutY(FlipOutYAnimator.class),
+ RotateIn(RotateInAnimator.class),
+ RotateInDownLeft(RotateInDownLeftAnimator.class),
+ RotateInDownRight(RotateInDownRightAnimator.class),
+ RotateInUpLeft(RotateInUpLeftAnimator.class),
+ RotateInUpRight(RotateInUpRightAnimator.class),
+
+ RotateOut(RotateOutAnimator.class),
+ RotateOutDownLeft(RotateOutDownLeftAnimator.class),
+ RotateOutDownRight(RotateOutDownRightAnimator.class),
+ RotateOutUpLeft(RotateOutUpLeftAnimator.class),
+ RotateOutUpRight(RotateOutUpRightAnimator.class),
+
+ SlideInLeft(SlideInLeftAnimator.class),
+ SlideInRight(SlideInRightAnimator.class),
+ SlideInUp(SlideInUpAnimator.class),
+ SlideInDown(SlideInDownAnimator.class),
+
+ SlideOutLeft(SlideOutLeftAnimator.class),
+ SlideOutRight(SlideOutRightAnimator.class),
+ SlideOutUp(SlideOutUpAnimator.class),
+ SlideOutDown(SlideOutDownAnimator.class),
+
+ ZoomIn(ZoomInAnimator.class),
+ ZoomInDown(ZoomInDownAnimator.class),
+ ZoomInLeft(ZoomInLeftAnimator.class),
+ ZoomInRight(ZoomInRightAnimator.class),
+ ZoomInUp(ZoomInUpAnimator.class),
+
+ ZoomOut(ZoomOutAnimator.class),
+ ZoomOutDown(ZoomOutDownAnimator.class),
+ ZoomOutLeft(ZoomOutLeftAnimator.class),
+ ZoomOutRight(ZoomOutRightAnimator.class),
+ ZoomOutUp(ZoomOutUpAnimator.class);
+
+
+
+ private Class animatorClazz;
+
+ private Techniques(Class clazz) {
+ animatorClazz = clazz;
+ }
+
+ public BaseViewAnimator getAnimator() {
+ try {
+ return (BaseViewAnimator) animatorClazz.newInstance();
+ } catch (Exception e) {
+ throw new Error("Can not init animatorClazz instance");
+ }
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/YoYo.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/YoYo.java
new file mode 100644
index 0000000..09823bb
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/YoYo.java
@@ -0,0 +1,204 @@
+
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library;
+
+import android.view.View;
+import android.view.animation.Interpolator;
+
+import com.nineoldandroids.animation.Animator;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class YoYo {
+
+ private static final long DURATION = BaseViewAnimator.DURATION;
+ private static final long NO_DELAY = 0;
+
+ private BaseViewAnimator animator;
+ private long duration;
+ private long delay;
+ private Interpolator interpolator;
+ private List callbacks;
+ private View target;
+
+ private YoYo(AnimationComposer animationComposer) {
+ animator = animationComposer.animator;
+ duration = animationComposer.duration;
+ delay = animationComposer.delay;
+ interpolator = animationComposer.interpolator;
+ callbacks = animationComposer.callbacks;
+ target = animationComposer.target;
+ }
+
+ public static AnimationComposer with(Techniques techniques) {
+ return new AnimationComposer(techniques);
+ }
+
+ public static AnimationComposer with(BaseViewAnimator animator) {
+ return new AnimationComposer(animator);
+ }
+
+ public interface AnimatorCallback {
+ public void call(Animator animator);
+ }
+
+ private static class EmptyAnimatorListener implements Animator.AnimatorListener {
+ @Override
+ public void onAnimationStart(Animator animation){}
+ @Override
+ public void onAnimationEnd(Animator animation){}
+ @Override
+ public void onAnimationCancel(Animator animation){}
+ @Override
+ public void onAnimationRepeat(Animator animation){}
+ }
+
+ public static final class AnimationComposer {
+
+ private List callbacks = new ArrayList();
+
+ private BaseViewAnimator animator;
+ private long duration = DURATION;
+ private long delay = NO_DELAY;
+ private Interpolator interpolator;
+ private View target;
+
+ private AnimationComposer(Techniques techniques) {
+ this.animator = techniques.getAnimator();
+ }
+
+ private AnimationComposer(BaseViewAnimator animator) {
+ this.animator = animator;
+ }
+
+ public AnimationComposer duration(long duration) {
+ this.duration = duration;
+ return this;
+ }
+
+ public AnimationComposer delay(long delay) {
+ this.delay = delay;
+ return this;
+ }
+
+ public AnimationComposer interpolate(Interpolator interpolator) {
+ this.interpolator = interpolator;
+ return this;
+ }
+
+
+ public AnimationComposer withListener(Animator.AnimatorListener listener) {
+ callbacks.add(listener);
+ return this;
+ }
+
+ public AnimationComposer onStart(final AnimatorCallback callback) {
+ callbacks.add(new EmptyAnimatorListener() {
+ @Override
+ public void onAnimationStart(Animator animation) { callback.call(animation); }
+ });
+ return this;
+ }
+
+ public AnimationComposer onEnd(final AnimatorCallback callback) {
+ callbacks.add(new EmptyAnimatorListener() {
+ @Override
+ public void onAnimationEnd(Animator animation) { callback.call(animation); }
+ });
+ return this;
+ }
+
+ public AnimationComposer onCancel(final AnimatorCallback callback) {
+ callbacks.add(new EmptyAnimatorListener() {
+ @Override
+ public void onAnimationCancel(Animator animation) { callback.call(animation); }
+ });
+ return this;
+ }
+
+ public AnimationComposer onRepeat(final AnimatorCallback callback) {
+ callbacks.add(new EmptyAnimatorListener() {
+ @Override
+ public void onAnimationRepeat(Animator animation) { callback.call(animation); }
+ });
+ return this;
+ }
+
+ public YoYoString playOn(View target) {
+ this.target = target;
+ return new YoYoString(new YoYo(this).play(), this.target);
+ }
+
+ }
+
+ /**
+ * YoYo string, you can use this string to control your YoYo.
+ */
+ public static final class YoYoString {
+
+ private BaseViewAnimator animator;
+ private View target;
+
+ private YoYoString(BaseViewAnimator animator, View target){
+ this.target = target;
+ this.animator = animator;
+ }
+
+ public boolean isStarted(){
+ return animator.isStarted();
+ }
+
+ public boolean isRunning(){
+ return animator.isRunning();
+ }
+
+ public void stop(boolean reset){
+ animator.cancel();
+
+ if(reset)
+ animator.reset(target);
+ }
+
+ }
+
+ private BaseViewAnimator play() {
+ animator.setTarget(target);
+ animator.setDuration(duration)
+ .setInterpolator(interpolator)
+ .setStartDelay(delay);
+
+ if (callbacks.size() > 0) {
+ for (Animator.AnimatorListener callback : callbacks) {
+ animator.addAnimatorListener(callback);
+ }
+ }
+
+ animator.animate();
+ return animator;
+ }
+
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/BounceAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/BounceAnimator.java
new file mode 100644
index 0000000..7e1d34b
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/BounceAnimator.java
@@ -0,0 +1,39 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class BounceAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"translationY",0,0,-30,0,-15,0,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/FlashAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/FlashAnimator.java
new file mode 100644
index 0000000..7144f00
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/FlashAnimator.java
@@ -0,0 +1,39 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FlashAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0,1,0,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/PulseAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/PulseAnimator.java
new file mode 100644
index 0000000..679f378
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/PulseAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class PulseAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "scaleY", 1, 1.1f, 1),
+ ObjectAnimator.ofFloat(target, "scaleX", 1, 1.1f, 1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/RubberBandAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/RubberBandAnimator.java
new file mode 100644
index 0000000..9e2e4a0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/RubberBandAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RubberBandAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "scaleX", 1, 1.25f, 0.75f, 1.15f, 1),
+ ObjectAnimator.ofFloat(target, "scaleY", 1, 0.75f, 1.25f, 0.85f, 1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/ShakeAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/ShakeAnimator.java
new file mode 100644
index 0000000..5d31ce9
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/ShakeAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ShakeAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "translationX", 0, 25, -25, 25, -25,15, -15, 6, -6, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/StandUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/StandUpAnimator.java
new file mode 100644
index 0000000..5a75bd8
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/StandUpAnimator.java
@@ -0,0 +1,46 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+
+
+public class StandUpAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ float x = (target.getWidth() - target.getPaddingLeft() - target.getPaddingRight())/2
+ + target.getPaddingLeft();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"pivotX",x,x,x,x,x),
+ ObjectAnimator.ofFloat(target,"pivotY",y,y,y,y,y),
+ ObjectAnimator.ofFloat(target,"rotationX",55,-30,15,-15,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/SwingAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/SwingAnimator.java
new file mode 100644
index 0000000..b12b1f3
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/SwingAnimator.java
@@ -0,0 +1,39 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SwingAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", 0, 10, -10, 6, -6, 3, -3, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/TadaAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/TadaAnimator.java
new file mode 100644
index 0000000..d3c1d47
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/TadaAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class TadaAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"scaleX",1,0.9f,0.9f,1.1f,1.1f,1.1f,1.1f,1.1f,1.1f,1),
+ ObjectAnimator.ofFloat(target,"scaleY",1,0.9f,0.9f,1.1f,1.1f,1.1f,1.1f,1.1f,1.1f,1),
+ ObjectAnimator.ofFloat(target,"rotation",0 ,-3 , -3, 3, -3, 3, -3,3,-3,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/WaveAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/WaveAnimator.java
new file mode 100644
index 0000000..6856c3e
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/WaveAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class WaveAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ float x = (target.getWidth() - target.getPaddingLeft() - target.getPaddingRight())/2
+ + target.getPaddingLeft();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", 12,-12,3,-3,0),
+ ObjectAnimator.ofFloat(target, "pivotX", x, x,x,x,x),
+ ObjectAnimator.ofFloat(target, "pivotY", y, y,y,y,y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/WobbleAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/WobbleAnimator.java
new file mode 100644
index 0000000..28b00f0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/attention/WobbleAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.attention;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class WobbleAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float width = target.getWidth();
+ float one = (float)(width/100.0);
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "translationX", 0 * one, -25 * one, 20 * one, -15 * one, 10 * one, -5 * one, 0 * one,0),
+ ObjectAnimator.ofFloat(target, "rotation", 0, -5, 3, -3, 2, -1,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInAnimator.java
new file mode 100644
index 0000000..dc771e3
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.bouncing_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class BounceInAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",0,1, 1 ,1),
+ ObjectAnimator.ofFloat(target,"scaleX",0.3f,1.05f,0.9f,1),
+ ObjectAnimator.ofFloat(target,"scaleY",0.3f,1.05f,0.9f,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInDownAnimator.java
new file mode 100644
index 0000000..98f98c0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInDownAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.bouncing_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class BounceInDownAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1,1),
+ ObjectAnimator.ofFloat(target,"translationY",-target.getHeight(),30,-10,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInLeftAnimator.java
new file mode 100644
index 0000000..00256fd
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInLeftAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.bouncing_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class BounceInLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"translationX",-target.getWidth(),30,-10,0),
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1,1)
+ );
+ }
+}
+
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInRightAnimator.java
new file mode 100644
index 0000000..23ed918
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInRightAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.bouncing_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class BounceInRightAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"translationX",target.getMeasuredWidth()+target.getWidth(),-30,10,0),
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInUpAnimator.java
new file mode 100644
index 0000000..59bc8c9
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/bouncing_entrances/BounceInUpAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.bouncing_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class BounceInUpAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"translationY",target.getMeasuredHeight(), -30,10,0),
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1,1)
+ );
+ }
+
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInAnimator.java
new file mode 100644
index 0000000..a7d3fd4
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInAnimator.java
@@ -0,0 +1,39 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeInAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",0,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInDownAnimator.java
new file mode 100644
index 0000000..f3f6de0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInDownAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeInDownAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "translationY", -target.getHeight()/4, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInLeftAnimator.java
new file mode 100644
index 0000000..0c2fefe
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInLeftAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeInLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "translationX", -target.getWidth()/4, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInRightAnimator.java
new file mode 100644
index 0000000..5422b4b
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInRightAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeInRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "translationX", target.getWidth()/4, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInUpAnimator.java
new file mode 100644
index 0000000..34997c8
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_entrances/FadeInUpAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeInUpAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "translationY", target.getHeight()/4, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutAnimator.java
new file mode 100644
index 0000000..3cd38ee
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutAnimator.java
@@ -0,0 +1,39 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeOutAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutDownAnimator.java
new file mode 100644
index 0000000..2b27ce0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutDownAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeOutDownAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0),
+ ObjectAnimator.ofFloat(target,"translationY",0,target.getHeight()/4)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutLeftAnimator.java
new file mode 100644
index 0000000..81652db
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutLeftAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeOutLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0),
+ ObjectAnimator.ofFloat(target,"translationX",0,-target.getWidth()/4)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutRightAnimator.java
new file mode 100644
index 0000000..5954c83
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutRightAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeOutRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"translationX",0,target.getWidth()/4)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutUpAnimator.java
new file mode 100644
index 0000000..29b7029
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/fading_exits/FadeOutUpAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.fading_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FadeOutUpAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"translationY",0,-target.getHeight()/4)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipInXAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipInXAnimator.java
new file mode 100644
index 0000000..42fd054
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipInXAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.flippers;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FlipInXAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotationX", 90, -15, 15, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0.25f, 0.5f, 0.75f, 1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipInYAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipInYAnimator.java
new file mode 100644
index 0000000..e9ffff3
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipInYAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.flippers;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FlipInYAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotationY", 90, -15, 15, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0.25f, 0.5f, 0.75f, 1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipOutXAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipOutXAnimator.java
new file mode 100644
index 0000000..34b2845
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipOutXAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.flippers;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FlipOutXAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotationX", 0, 90),
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipOutYAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipOutYAnimator.java
new file mode 100644
index 0000000..3321fc4
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/flippers/FlipOutYAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.flippers;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class FlipOutYAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotationY", 0, 90),
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInAnimator.java
new file mode 100644
index 0000000..6a649be
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateInAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", -200, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInDownLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInDownLeftAnimator.java
new file mode 100644
index 0000000..ae9cb16
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInDownLeftAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateInDownLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getPaddingLeft();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", -90, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "pivotX", x, x),
+ ObjectAnimator.ofFloat(target, "pivotY", y, y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInDownRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInDownRightAnimator.java
new file mode 100644
index 0000000..6e7db10
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInDownRightAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateInDownRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getWidth() - target.getPaddingRight();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", 90, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "pivotX", x, x),
+ ObjectAnimator.ofFloat(target, "pivotY", y, y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInUpLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInUpLeftAnimator.java
new file mode 100644
index 0000000..36103c0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInUpLeftAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateInUpLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getPaddingLeft();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", 90, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "pivotX", x, x),
+ ObjectAnimator.ofFloat(target, "pivotY", y, y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInUpRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInUpRightAnimator.java
new file mode 100644
index 0000000..82c313b
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_entrances/RotateInUpRightAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateInUpRightAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ float x = target.getWidth() - target.getPaddingRight();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "rotation", -90, 0),
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target, "pivotX", x, x),
+ ObjectAnimator.ofFloat(target, "pivotY", y, y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutAnimator.java
new file mode 100644
index 0000000..adfb54b
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutAnimator.java
@@ -0,0 +1,40 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateOutAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0),
+ ObjectAnimator.ofFloat(target,"rotation",0,200)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutDownLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutDownLeftAnimator.java
new file mode 100644
index 0000000..8ee826a
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutDownLeftAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateOutDownLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getPaddingLeft();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"rotation",0,90),
+ ObjectAnimator.ofFloat(target,"pivotX",x,x),
+ ObjectAnimator.ofFloat(target,"pivotY",y,y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutDownRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutDownRightAnimator.java
new file mode 100644
index 0000000..efbf4a3
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutDownRightAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateOutDownRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getWidth() - target.getPaddingRight();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"rotation",0,-90),
+ ObjectAnimator.ofFloat(target,"pivotX",x,x),
+ ObjectAnimator.ofFloat(target,"pivotY",y,y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutUpLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutUpLeftAnimator.java
new file mode 100644
index 0000000..c75f9a3
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutUpLeftAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateOutUpLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getPaddingLeft();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"rotation",0,-90),
+ ObjectAnimator.ofFloat(target,"pivotX",x,x),
+ ObjectAnimator.ofFloat(target,"pivotY",y,y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutUpRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutUpRightAnimator.java
new file mode 100644
index 0000000..c4da855
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/rotating_exits/RotateOutUpRightAnimator.java
@@ -0,0 +1,44 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.rotating_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RotateOutUpRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ float x = target.getWidth() - target.getPaddingRight();
+ float y = target.getHeight() - target.getPaddingBottom();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"rotation",0,90),
+ ObjectAnimator.ofFloat(target,"pivotX",x,x),
+ ObjectAnimator.ofFloat(target,"pivotY",y,y)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInDownAnimator.java
new file mode 100644
index 0000000..fa2f0c0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInDownAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideInDownAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ int distance = target.getTop() + target.getHeight();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",0,1),
+ ObjectAnimator.ofFloat(target,"translationY",-distance,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInLeftAnimator.java
new file mode 100644
index 0000000..a9141d4
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInLeftAnimator.java
@@ -0,0 +1,43 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideInLeftAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getWidth() - target.getLeft();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target,"translationX",-distance,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInRightAnimator.java
new file mode 100644
index 0000000..691ac73
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInRightAnimator.java
@@ -0,0 +1,43 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideInRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getWidth() - target.getLeft();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target,"translationX",distance,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInUpAnimator.java
new file mode 100644
index 0000000..a4d6983
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideInUpAnimator.java
@@ -0,0 +1,43 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideInUpAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getHeight() - target.getTop();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ ObjectAnimator.ofFloat(target,"translationY",distance,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutDownAnimator.java
new file mode 100644
index 0000000..3decc77
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutDownAnimator.java
@@ -0,0 +1,43 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideOutDownAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getHeight() - target.getTop();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"translationY",0,distance)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutLeftAnimator.java
new file mode 100644
index 0000000..3579926
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutLeftAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideOutLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"translationX",0,-target.getRight())
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutRightAnimator.java
new file mode 100644
index 0000000..f7a3fdb
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutRightAnimator.java
@@ -0,0 +1,43 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideOutRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getWidth() - target.getLeft();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"translationX",0,distance)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutUpAnimator.java
new file mode 100644
index 0000000..ac36f97
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/sliders/SlideOutUpAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.sliders;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class SlideOutUpAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 0),
+ ObjectAnimator.ofFloat(target,"translationY",0,-target.getBottom())
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/HingeAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/HingeAnimator.java
new file mode 100644
index 0000000..114c204
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/HingeAnimator.java
@@ -0,0 +1,50 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.specials;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.daimajia.easing.Glider;
+import com.daimajia.easing.Skill;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class HingeAnimator extends BaseViewAnimator{
+ @Override
+ public void prepare(View target) {
+ float x = target.getPaddingLeft();
+ float y = target.getPaddingTop();
+ getAnimatorAgent().playTogether(
+ Glider.glide(Skill.SineEaseInOut, 1300, ObjectAnimator.ofFloat(target,"rotation",0,80,60,80,60,60)),
+ ObjectAnimator.ofFloat(target, "translationY", 0, 0, 0, 0, 0, 700),
+ ObjectAnimator.ofFloat(target, "alpha", 1, 1, 1, 1, 1, 0),
+ ObjectAnimator.ofFloat(target, "pivotX", x, x, x, x, x, x),
+ ObjectAnimator.ofFloat(target, "pivotY", y, y, y, y, y, y)
+ );
+
+ setDuration(1300);
+ }
+}
+
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/RollInAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/RollInAnimator.java
new file mode 100644
index 0000000..ad3acf0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/RollInAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.specials;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RollInAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",0,1),
+ ObjectAnimator.ofFloat(target,"translationX",-(target.getWidth()-target.getPaddingLeft() - target.getPaddingRight()),0),
+ ObjectAnimator.ofFloat(target,"rotation",-120,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/RollOutAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/RollOutAnimator.java
new file mode 100644
index 0000000..678d5f5
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/RollOutAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.specials;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class RollOutAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0),
+ ObjectAnimator.ofFloat(target,"translationX",0, target.getWidth()),
+ ObjectAnimator.ofFloat(target,"rotation",0,120)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/in/DropOutAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/in/DropOutAnimator.java
new file mode 100644
index 0000000..6c8eae9
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/in/DropOutAnimator.java
@@ -0,0 +1,19 @@
+package com.daimajia.androidanimations.library.specials.in;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.daimajia.easing.Glider;
+import com.daimajia.easing.Skill;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class DropOutAnimator extends BaseViewAnimator{
+ @Override
+ protected void prepare(View target) {
+ int distance = target.getTop() + target.getHeight();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 0, 1),
+ Glider.glide(Skill.BounceEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "translationY", -distance, 0))
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/in/LandingAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/in/LandingAnimator.java
new file mode 100644
index 0000000..e7735bd
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/in/LandingAnimator.java
@@ -0,0 +1,19 @@
+package com.daimajia.androidanimations.library.specials.in;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.daimajia.easing.Glider;
+import com.daimajia.easing.Skill;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class LandingAnimator extends BaseViewAnimator{
+ @Override
+ protected void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "scaleX", 1.5f, 1f)),
+ Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "scaleY", 1.5f, 1f)),
+ Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "alpha", 0, 1f))
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/out/TakingOffAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/out/TakingOffAnimator.java
new file mode 100644
index 0000000..4aebcb8
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/specials/out/TakingOffAnimator.java
@@ -0,0 +1,19 @@
+package com.daimajia.androidanimations.library.specials.out;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.daimajia.easing.Glider;
+import com.daimajia.easing.Skill;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class TakingOffAnimator extends BaseViewAnimator {
+ @Override
+ protected void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "scaleX", 1f, 1.5f)),
+ Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "scaleY", 1f, 1.5f)),
+ Glider.glide(Skill.QuintEaseOut, getDuration(), ObjectAnimator.ofFloat(target, "alpha", 1, 0))
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInAnimator.java
new file mode 100644
index 0000000..38039ef
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomInAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"scaleX",0.45f,1),
+ ObjectAnimator.ofFloat(target,"scaleY",0.45f,1),
+ ObjectAnimator.ofFloat(target,"alpha",0,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInDownAnimator.java
new file mode 100644
index 0000000..4480954
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInDownAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomInDownAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"scaleX",0.1f,0.475f,1),
+ ObjectAnimator.ofFloat(target,"scaleY",0.1f,0.475f,1),
+ ObjectAnimator.ofFloat(target,"translationY",-target.getBottom(),60,0),
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInLeftAnimator.java
new file mode 100644
index 0000000..06aefc3
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInLeftAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomInLeftAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "scaleX", 0.1f, 0.475f, 1),
+ ObjectAnimator.ofFloat(target,"scaleY",0.1f,0.475f,1),
+ ObjectAnimator.ofFloat(target,"translationX",-target.getRight(),48,0),
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInRightAnimator.java
new file mode 100644
index 0000000..72f4fbc
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInRightAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_entrances;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomInRightAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"scaleX", 0.1f, 0.475f, 1),
+ ObjectAnimator.ofFloat(target,"scaleY",0.1f,0.475f,1),
+ ObjectAnimator.ofFloat(target,"translationX",target.getWidth() + target.getPaddingRight(),-48,0),
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInUpAnimator.java
new file mode 100644
index 0000000..2fab0b9
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_entrances/ZoomInUpAnimator.java
@@ -0,0 +1,45 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_entrances;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomInUpAnimator extends BaseViewAnimator {
+ @Override
+ public void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getHeight() - target.getTop();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",0,1,1),
+ ObjectAnimator.ofFloat(target,"scaleX",0.1f,0.475f,1),
+ ObjectAnimator.ofFloat(target,"scaleY",0.1f,0.475f,1),
+ ObjectAnimator.ofFloat(target,"translationY",distance,-60,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutAnimator.java
new file mode 100644
index 0000000..410ddf0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutAnimator.java
@@ -0,0 +1,41 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomOutAnimator extends BaseViewAnimator{
+ @Override
+ protected void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha",1,0,0),
+ ObjectAnimator.ofFloat(target,"scaleX",1,0.3f,0),
+ ObjectAnimator.ofFloat(target,"scaleY",1,0.3f,0)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutDownAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutDownAnimator.java
new file mode 100644
index 0000000..2e92531
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutDownAnimator.java
@@ -0,0 +1,45 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_exits;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomOutDownAnimator extends BaseViewAnimator {
+ @Override
+ protected void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getHeight() - target.getTop();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha",1, 1,0),
+ ObjectAnimator.ofFloat(target,"scaleX",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"scaleY",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"translationY",0,-60,distance)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutLeftAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutLeftAnimator.java
new file mode 100644
index 0000000..c0e41a0
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutLeftAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomOutLeftAnimator extends BaseViewAnimator {
+ @Override
+ protected void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha",1, 1, 0),
+ ObjectAnimator.ofFloat(target,"scaleX",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"scaleY",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"translationX",0,42,-target.getRight())
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutRightAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutRightAnimator.java
new file mode 100644
index 0000000..6ac8e57
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutRightAnimator.java
@@ -0,0 +1,45 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_exits;
+
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomOutRightAnimator extends BaseViewAnimator {
+ @Override
+ protected void prepare(View target) {
+ ViewGroup parent = (ViewGroup)target.getParent();
+ int distance = parent.getWidth() - parent.getLeft();
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target,"alpha", 1, 1, 0),
+ ObjectAnimator.ofFloat(target,"scaleX",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"scaleY",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"translationX",0,-42,distance)
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutUpAnimator.java b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutUpAnimator.java
new file mode 100644
index 0000000..039c434
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/com/daimajia/androidanimations/library/zooming_exits/ZoomOutUpAnimator.java
@@ -0,0 +1,42 @@
+/*
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2014 daimajia
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+package com.daimajia.androidanimations.library.zooming_exits;
+
+import android.view.View;
+
+import com.daimajia.androidanimations.library.BaseViewAnimator;
+import com.nineoldandroids.animation.ObjectAnimator;
+
+public class ZoomOutUpAnimator extends BaseViewAnimator {
+ @Override
+ protected void prepare(View target) {
+ getAnimatorAgent().playTogether(
+ ObjectAnimator.ofFloat(target, "alpha", 1, 1, 0),
+ ObjectAnimator.ofFloat(target,"scaleX",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"scaleY",1,0.475f,0.1f),
+ ObjectAnimator.ofFloat(target,"translationY",0,60,-target.getBottom())
+ );
+ }
+}
diff --git a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/loginservice/LoginService.java b/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/loginservice/LoginService.java
deleted file mode 100644
index 25f407c..0000000
--- a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/loginservice/LoginService.java
+++ /dev/null
@@ -1,188 +0,0 @@
-package tw.edu.kuas.loginservice;
-
-import android.app.Notification;
-import android.app.NotificationManager;
-import android.app.Service;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.content.res.Resources;
-import android.os.IBinder;
-import android.util.Log;
-import android.widget.Toast;
-
-import org.apache.http.client.ClientProtocolException;
-import org.jsoup.Connection;
-import org.jsoup.Jsoup;
-import org.jsoup.nodes.Document;
-
-import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import java.util.HashMap;
-
-import tw.edu.kuas.network.NetworkStatus;
-import tw.edu.kuas.wifiautologin.R;
-
-public class LoginService extends Service {
- private static final String TAG = "silent.loginservice.LoginService";
- private NetworkStatus networkStatus;
-
- private static final String PREF = "ACCOUNT_PREF";
- private static final String PREF_USERNAME = "USERNAME";
- private static final String PREF_PWD = "PASSWORD";
- private static final int TIMEOUT = 1000;
- @Override
- public void onCreate() {
- Log.i(TAG, "Service onCreate");
- networkStatus = new NetworkStatus(this);
- }
-
- public void showToast(final String toast) {
- Toast.makeText(LoginService.this, toast, Toast.LENGTH_SHORT).show();
- }
-
- public void AutoLogin() {
- Log.v(TAG, "Checking SSID");
- // Check SSID
- if (!checkSSID())
- return;
-
- new Thread() {
- @Override
- public void run() {
- // Connection Testing
- Log.v(TAG, "Testing Connection");
- if (isConnect()) {
- return;
- }
- Log.v(TAG, "End test connection");
-
- Resources resources = getResources();
- String login_msg = getString(R.string.login_successfully);
- String[] params_name = resources.getStringArray(R.array.params_name);
- String[] params_value = resources.getStringArray(R.array.params_value);
- SharedPreferences setting = getSharedPreferences(PREF, 0);
- String username = setting.getString(PREF_USERNAME, "");
- String password = setting.getString(PREF_PWD, "");
- params_value[0] = username;
- params_value[1] = password;
- // Check params
- if (params_name.length != params_value.length)
- Log.e(getString(R.string.app_name), "Config file error!");
-
- try {
- // Check if using guest login
- if (params_value[0].compareTo("") == 0 ||
- params_value[1].compareTo("") == 0) {
- Log.v(TAG, "use guest login");
- login_msg = getString(R.string.login_guest_successfully);
- LoginKUAS_guest(params_name);
- } else {
- LoginKUAS(params_name, params_value);
- }
- Log.v(TAG, "CHECK IS CONNECT: " + isConnect());
- } catch (UnsupportedEncodingException e) {
- e.printStackTrace();
- } catch (ClientProtocolException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- showToast(getString(R.string.timeout));
- return;
- }
- // Check if login finish
- if (isConnect()) {
- NotificationManager mNotificationManager=(NotificationManager)getSystemService(NOTIFICATION_SERVICE);//獲取一個notificationmanager
- Notification notification=new Notification(R.drawable.ic_launcher, "高應無線通", System.currentTimeMillis());
- notification.defaults=Notification.DEFAULT_ALL;
- notification.setLatestEventInfo(LoginService.this,"高應無線通", "Wi-Fi 登入成功!", null);
- mNotificationManager.notify(1000, notification);
- showToast(login_msg);
- } else {
- return;
- }
- };
- }.start();
- }
-
- public boolean isConnect() {
- try {
- if (isLogin()) {
- Log.v(TAG, "is connected");
- return true;
- } else {
- return false;
- }
- } catch (Exception e) {
- Log.v(TAG, e.toString());
- return false;
- }
- }
-
- public boolean isLogin() throws Exception {
- Document res = Jsoup.connect("http://www.example.com").timeout(TIMEOUT).ignoreContentType(true).method(Connection.Method.GET).get();
- if (res.title().compareTo("Example Domain") == 0)
- return true;
- else
- return false;
- }
-
- public void LoginKUAS(String[] params_name, String[] params_value) throws IOException {
- String url = getString(R.string.url_KUAS);
- HashMap postDatas = new HashMap<>();
- // POST It!!
- // Try kuas.edu.tw
- if (params_value[0].length() > 4 && Integer.parseInt(params_value[0].substring(1, 4)) <= 102) {
- Log.v(TAG, "lower then 102");
- postDatas.put(params_name[0], params_value[0] + "@kuas.edu.tw");
- postDatas.put(params_name[1], params_value[1]);
- postDatas.put(params_name[2], params_value[2]);
- Jsoup.connect(url).timeout(TIMEOUT).data(postDatas).ignoreContentType(true).method(Connection.Method.POST).execute();
- } else {
- Log.v(TAG, "upper then 102");
- postDatas.put(params_name[0], params_value[0] + "@gm.kuas.edu.tw");
- postDatas.put(params_name[1], params_value[1]);
- postDatas.put(params_name[2], params_value[2]);
- Jsoup.connect(url).timeout(TIMEOUT).data(postDatas).ignoreContentType(true).method(Connection.Method.POST).execute();
- }
- }
- public void LoginKUAS_guest(String[] params_name) throws IOException {
- String url = getString(R.string.url_KUAS);
- // POST It!!
- HashMap postDatas = new HashMap<>();
- postDatas.put(params_name[0], "0937808285@guest");
- postDatas.put(params_name[1], "1306");
- postDatas.put(params_name[2], "login");
- postDatas.put(params_name[3], "");
- Jsoup.connect(url).timeout(TIMEOUT).data(postDatas).ignoreContentType(true).method(Connection.Method.POST).execute();
- }
-
- public boolean checkSSID() {
- String ssid = networkStatus.getSSID();
- if (ssid.compareTo(getString(R.string.ssid_kuas_wireless)) != 0
- && ssid.compareTo(getString(R.string.ssid_KUAS)) != 0
- && ssid.compareTo(getString(R.string.ssid_KUAS_Dorm)) != 0)
- return false;
- return true;
- }
-
- @Override
- public int onStartCommand(Intent intent, int flags, int startId) {
- Log.i(TAG, "Service onStartCommand");
- if (checkSSID())
- AutoLogin();
- return Service.START_STICKY;
- }
-
- @Override
- public IBinder onBind(Intent arg0) {
- // TODO Auto-generated method stub
- Log.i(TAG, "Service onBind");
- return null;
- }
-
- @Override
- public void onDestroy() {
- Log.i(TAG, "Service onDestroy");
- }
-}
\ No newline at end of file
diff --git a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/loginservice/NetWatcher.java b/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/loginservice/NetWatcher.java
deleted file mode 100644
index 83505b6..0000000
--- a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/loginservice/NetWatcher.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package tw.edu.kuas.loginservice;
-
-import android.content.BroadcastReceiver;
-import android.content.Context;
-import android.content.Intent;
-import android.util.Log;
-
-import tw.edu.kuas.loginservice.LoginService;
-
-public class NetWatcher extends BroadcastReceiver {
- private static final String TAG = "silent.loginservice.NetWatcher";
- @Override
- public void onReceive(Context context, Intent intent) {
- Log.d(TAG,"Live");
- Intent srvIntent = new Intent();
- srvIntent.setClass(context, LoginService.class);
- context.startService(srvIntent);
- }
-}
\ No newline at end of file
diff --git a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/network/NetworkStatus.java b/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/network/NetworkStatus.java
deleted file mode 100644
index 9df7372..0000000
--- a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/network/NetworkStatus.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package tw.edu.kuas.network;
-
-import android.content.Context;
-import android.net.wifi.WifiInfo;
-import android.net.wifi.WifiManager;
-
-public class NetworkStatus {
- private WifiManager wifiManager;
- private WifiInfo wifiInfo;
- public NetworkStatus(Context context) {
- wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
- }
- public void update() {
- wifiInfo = wifiManager.getConnectionInfo();
- }
- public String getSSID() {
- update();
- String ssid = wifiInfo.getSSID();
- if(ssid == null) return "";
- if (ssid.startsWith("\"") && ssid.endsWith("\"")) {
- ssid = ssid.substring(1, ssid.length() - 1);
- }
- return ssid;
- }
-}
\ No newline at end of file
diff --git a/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/wifiautologin/AboutActivity.java b/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/wifiautologin/AboutActivity.java
new file mode 100644
index 0000000..3302b65
--- /dev/null
+++ b/KUASWifiAutoLogin/app/src/main/java/tw/edu/kuas/wifiautologin/AboutActivity.java
@@ -0,0 +1,84 @@
+package tw.edu.kuas.wifiautologin;
+
+import android.app.AlertDialog;
+import android.os.Bundle;
+import android.support.v7.app.ActionBarActivity;
+import android.text.SpannableString;
+import android.text.method.LinkMovementMethod;
+import android.text.util.Linkify;
+import android.view.View;
+import android.webkit.WebView;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.ListView;
+import android.widget.SimpleAdapter;
+import android.widget.TextView;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import butterknife.ButterKnife;
+import butterknife.InjectView;
+
+public class AboutActivity extends ActionBarActivity implements
+ OnItemClickListener {
+
+ @InjectView(R.id.listView_main)
+ ListView mMainListView;
+
+ private int[] resItems = { R.string.open_source_info,
+ R.string.usage_policy, R.string.open_source_licenses };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_about);
+
+ ButterKnife.inject(this);
+ setUpViews();
+ }
+
+ private void setUpViews() {
+ List