gpt4 book ai didi

com.daimajia.androidanimations.library.YoYo类的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 17:18:49 27 4
gpt4 key购买 nike

本文整理了Java中com.daimajia.androidanimations.library.YoYo类的一些代码示例,展示了YoYo类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoYo类的具体详情如下:
包路径:com.daimajia.androidanimations.library.YoYo
类名称: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);
  }
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com