gpt4 book ai didi

com.daimajia.androidanimations.library.YoYo.with()方法的使用及代码示例

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

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

YoYo.with介绍

暂无

代码示例

代码示例来源: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: 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

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 BackspaceBlankAnim(View animBlank){
  YoYo.with(Techniques.Swing)
      .duration(800)
      .playOn(findViewById(animBlank.getId()));
  sfxManager.KeyboardBackspacePlay();
}

代码示例来源:origin: hypeapps/FixMath

public void BackspaceBlankAnimation(View animBlank) {
  sfxManager.KeyboardBackspacePlay();
  YoYo.with(Techniques.Swing)
      .duration(800)
      .playOn(findViewById(animBlank.getId()));
}

代码示例来源:origin: ZhangQinhao/MONKOVEL

@Override
  public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
    finishInputProxyHttp(false);
    ProxyManager.saveProxyState(isChecked);
    if (isChecked) {
      if (!ProxyManager.hasProxy()) {
        YoYo.with(Techniques.Shake).playOn(edtProxyHttp);
        sbProxyStart.setCheckedImmediatelyNoEvent(false);
      }
    }
  }
});

代码示例来源:origin: hypeapps/FixMath

public void ErrorKeyAnim(){
  YoYo.with(Techniques.Shake)
      .duration(400)
      .playOn(findViewById(R.id.keyboard));
  sfxManager.KeyboardErrorPlay();
}

代码示例来源:origin: hypeapps/FixMath

public void KeyboardClose() {
  View keyboardView = findViewById(R.id.t_keyboard);
  setClickableRecursive(keyboardView, false);
  YoYo.with(Techniques.ZoomOut)
      .duration(400)
      .playOn(keyboardView);
  closePointerAnimation();
  isKeyboardOpen = false;
}

代码示例来源:origin: hypeapps/FixMath

public void KeyboardClose(View view) {
  View keyboardView = findViewById(R.id.t_keyboard);
  setClickableRecursive(keyboardView, false);
  YoYo.with(Techniques.ZoomOut)
      .duration(400)
      .playOn(keyboardView);
  closePointerAnimation();
  isKeyboardOpen = false;
  sfxManager.KeybordClosePlay();
}

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