public class ViewAnimationHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ViewAnimationHelper.ViewAnimationListener |
| Modifier and Type | Field and Description |
|---|---|
static int |
ANIMATION_FADE_IN |
static int |
ANIMATION_FADE_OUT |
static int |
ANIMATION_UNKNOWN |
static int |
ANIMATION_ZOOM_IN |
static int |
ANIMATION_ZOOM_OUT |
| Constructor and Description |
|---|
ViewAnimationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fadeIn(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
アルファ値を0→1まで変化(Viewをフェードイン)させる
|
static void |
fadeOut(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
アルファ値を1→0まで変化(Viewをフェードアウト)させる
|
static void |
zoomIn(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
スケールを0→1まで変化(Viewをズームイン)させる
|
static void |
zoomOut(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
スケールを1→0まで変化(Viewをズームアウト)させる
|
public static final int ANIMATION_UNKNOWN
public static final int ANIMATION_FADE_OUT
public static final int ANIMATION_FADE_IN
public static final int ANIMATION_ZOOM_IN
public static final int ANIMATION_ZOOM_OUT
public static void fadeIn(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
target - duration - 0以下ならデフォルト値(0.5秒)startDelay - listener - public static void fadeOut(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
target - duration - 0以下ならデフォルト値(0.5秒)startDelay - listener - public static void zoomIn(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
target - duration - 0以下ならデフォルト値(0.5秒)startDelay - listener - public static void zoomOut(android.view.View target,
long duration,
long startDelay,
ViewAnimationHelper.ViewAnimationListener listener)
target - duration - 0以下ならデフォルト値(0.5秒)startDelay - listener -