本文整理了Java中com.daimajia.androidanimations.library.YoYo
类的一些代码示例,展示了YoYo
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoYo
类的具体详情如下:
包路径:com.daimajia.androidanimations.library.YoYo
类名称:YoYo
暂无
代码示例来源:origin: daimajia/AndroidSwipeLayout
@Override
public void onOpen(SwipeLayout layout) {
YoYo.with(Techniques.Tada).duration(500).delay(100).playOn(layout.findViewById(R.id.trash));
}
});
代码示例来源:origin: daimajia/AndroidSwipeLayout
@Override
public void onOpen(SwipeLayout layout) {
YoYo.with(Techniques.Tada).duration(500).delay(100).playOn(layout.findViewById(R.id.trash));
}
});
代码示例来源:origin: kaku2015/ColorfulNews
@Override
public void onCompleted() {
mProgressBar.setVisibility(View.GONE);
mFab.setVisibility(View.VISIBLE);
YoYo.with(Techniques.RollIn).playOn(mFab);
}
代码示例来源:origin: kaku2015/ColorfulNews
private void startLogoOuter() {
YoYo.with(Techniques.RubberBand).duration(1000).playOn(mLogoOuterIv);
}
代码示例来源:origin: kaku2015/ColorfulNews
private void startShowAppName() {
YoYo.with(Techniques.FadeIn).duration(1000).playOn(mAppNameTv);
}
代码示例来源:origin: kaku2015/ColorfulNews
private void startLogoInner2() {
YoYo.with(Techniques.Bounce).duration(1000).playOn(mLogoInnerIv);
}
代码示例来源:origin: hypeapps/FixMath
@Override
public void onAnimationEnd(Animator animation) {
YoYo.with(Techniques.ZoomIn)
.playOn(line);
}
代码示例来源:origin: SwiftyWang/FingerColoring-Android
public void BounceInDownAnimation(View... view) {
for (View v : view) {
if (v.getVisibility() != View.VISIBLE) {
v.setVisibility(View.VISIBLE);
YoYo.with(Techniques.BounceInDown).duration(300).playOn(v);
}
}
}
代码示例来源:origin: hypeapps/FixMath
private void popUpScoreAnimation(final int score) {
this.popUpScoreView.setText(String.valueOf(score));
YoYo.with(Techniques.TakingOff)
.duration(3500)
.playOn(this.popUpScoreView);
}
代码示例来源:origin: iZeroer/Daily
@Override
public void onCompleted() {
mProgressBar.setVisibility(View.GONE);
mFab.setVisibility(View.VISIBLE);
YoYo.with(Techniques.RollIn).playOn(mFab);
}
代码示例来源:origin: hypeapps/FixMath
public void BackspaceAnim(TextView textView){
YoYo.with(Techniques.Swing)
.duration(500)
.playOn(textView);
}
}
代码示例来源:origin: hypeapps/FixMath
public void WritneAnim(ImageView textView){
YoYo.with(Techniques.RubberBand)
.duration(500)
.playOn(textView);
}
代码示例来源:origin: hypeapps/FixMath
public void BackSpaceAnim(TextView textView){
YoYo.with(Techniques.Swing)
.duration(500)
.playOn(textView);
}
代码示例来源:origin: hypeapps/FixMath
public void WritneAnim(TextView textView){
YoYo.with(Techniques.RubberBand)
.duration(500)
.playOn(textView);
}
代码示例来源:origin: ZhangQinhao/MONKOVEL
private void toSearch() {
if (edtContent.getText().toString().trim().length() > 0) {
final String key = edtContent.getText().toString().trim();
mPresenter.setHasSearch(true);
mPresenter.insertSearchHistory();
closeKeyBoard();
//执⾏搜索请求
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
mPresenter.initPage();
mPresenter.toSearchBooks(key, false);
rfRvSearchBooks.startRefresh();
}
}, 300);
} else {
YoYo.with(Techniques.Shake).playOn(flSearchContent);
}
}
private void bindKeyBoardEvent() {
代码示例来源:origin: hypeapps/FixMath
private void popUpLevelCorrectScoreAnimation(){
TextView scorePopUp = (TextView) findViewById(R.id.level_correct_scorePopUp);
scorePopUp.setText("5000");
YoYo.with(Techniques.TakingOff)
.duration(3200)
.playOn(scorePopUp);
}
代码示例来源:origin: hypeapps/FixMath
public void OpenPointerAnimation(){
if(BlankPointer!= null) {
ImageView pointer = (ImageView) findViewById(BlankPointer.getId());
YoYo.with(Techniques.FlipInX)
.duration(500)
.playOn(pointer);
}
}
代码示例来源:origin: hypeapps/FixMath
private void closePointerAnimation() {
if(Pointer != null) {
ImageView pointer = (ImageView) findViewById(Pointer.getId());
YoYo.with(Techniques.ZoomOut)
.duration(200)
.playOn(pointer);
}
}
代码示例来源:origin: hypeapps/FixMath
public void OpenPointerAnimation() {
if(Pointer != null) {
ImageView pointer = (ImageView) findViewById(Pointer.getId());
YoYo.with(Techniques.FlipInX)
.duration(500)
.playOn(pointer);
}
}
代码示例来源:origin: hypeapps/FixMath
public void PointerAnimation(){
if(BlankPointer != null) {
ImageView pointer = (ImageView) findViewById(BlankPointer.getId());
YoYo.with(Techniques.ZoomOut)
.duration(200)
.playOn(pointer);
}
}
内容来源于网络,如有侵权,请联系作者删除!