Program: 86253
Project: 86253
Buggy source:
@Override public void onScrollChanged(int deltaX,int deltaY){
  int scrollY=scrollView.getScrollY();
  if (getItem().getCoverBitmap() != null) {
    ViewHelper.setTranslationY(ivCover,scrollY * 0.5f);
    ViewHelper.setTranslationY(gradientBottom,scrollY * 0.5f);
    ViewHelper.setTranslationY(gradientTop,scrollY * 0.5f);
  }
  ViewHelper.setTranslationY(toolbar,scrollY);
  if (getItem().getCoverBitmap() != null) {
    float minHeight=toolbar.getHeight();
    float progress=Math.min(((float)scrollY) / (ivCover.getHeight() - minHeight),1);
    float scale=1 - progress + 20f / 36f * progress;
    ViewHelper.setPivotX(tvTitel,0);
    ViewHelper.setPivotY(tvTitel,tvTitel.getHeight());
    ViewHelper.setScaleX(tvTitel,scale);
    ViewHelper.setScaleY(tvTitel,scale);
    if (back_button_visible) {
      ViewHelper.setTranslationX(tvTitel,progress * TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,56f,getResources().getDisplayMetrics()));
    }
    ViewHelper.setAlpha(tint,progress);
    float additionalTranslation=0;
    if (tvTitel.getLayout() != null && tvTitel.getLayout().getLineCount() > 1)     additionalTranslation=progress * TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,8f,getResources().getDisplayMetrics());
    if (progress == 1) {
      ViewHelper.setTranslationY(tvTitel,scrollY - ivCover.getHeight() + minHeight + additionalTranslation);
      if (!ivCover.getBackground().equals(toolbar.getBackground())) {
        toolbar.setBackgroundDrawable(ivCover.getBackground());
        ViewCompat.setElevation(toolbar,TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,4f,getResources().getDisplayMetrics()));
        ViewCompat.setElevation(tvTitel,TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,4f,getResources().getDisplayMetrics()));
      }
    }
 else {
      ViewHelper.setTranslationY(tvTitel,additionalTranslation);
      if (ivCover.getBackground().equals(toolbar.getBackground())) {
        toolbar.setBackgroundResource(R.color.transparent);
        ViewCompat.setElevation(toolbar,0);
        ViewCompat.setElevation(tvTitel,0);
      }
    }
  }
  if (cardAnimations == null) {
    cardAnimations=new Boolean[llCopies.getChildCount()];
    Arrays.fill(cardAnimations,false);
  }
  for (int i=0; i < llCopies.getChildCount(); i++) {
    if (cardAnimations[i] == false) {
      View card=llCopies.getChildAt(i);
      Rect scrollBounds=new Rect();
      scrollView.getHitRect(scrollBounds);
      if (card.getLocalVisibleRect(scrollBounds)) {
        cardAnimations[i]=true;
        card.startAnimation(AnimationUtils.loadAnimation(getActivity(),R.anim.card_appear));
      }
 else {
      }
    }
  }
}

Fixed version (ground truth):
@Override public void onScrollChanged(int deltaX,int deltaY){
  int scrollY=scrollView.getScrollY();
  if (getItem().getCoverBitmap() != null) {
    ViewHelper.setTranslationY(ivCover,scrollY * 0.5f);
    ViewHelper.setTranslationY(gradientBottom,scrollY * 0.5f);
    ViewHelper.setTranslationY(gradientTop,scrollY * 0.5f);
  }
  ViewHelper.setTranslationY(toolbar,scrollY);
  if (getItem().getCoverBitmap() != null) {
    float minHeight=toolbar.getHeight();
    float progress=Math.min(((float)scrollY) / (ivCover.getHeight() - minHeight),1);
    float scale=1 - progress + 20f / 36f * progress;
    ViewHelper.setPivotX(tvTitel,0);
    ViewHelper.setPivotY(tvTitel,tvTitel.getHeight());
    ViewHelper.setScaleX(tvTitel,scale);
    ViewHelper.setScaleY(tvTitel,scale);
    if (back_button_visible) {
      ViewHelper.setTranslationX(tvTitel,progress * TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,56f,getResources().getDisplayMetrics()));
    }
    ViewHelper.setAlpha(tint,progress);
    if (progress == 1) {
      ViewHelper.setTranslationY(tvTitel,scrollY - ivCover.getHeight() + minHeight);
      if (!ivCover.getBackground().equals(toolbar.getBackground())) {
        toolbar.setBackgroundDrawable(ivCover.getBackground());
        ViewCompat.setElevation(toolbar,TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,4f,getResources().getDisplayMetrics()));
        ViewCompat.setElevation(tvTitel,TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,4f,getResources().getDisplayMetrics()));
      }
    }
 else {
      if (ivCover.getBackground().equals(toolbar.getBackground())) {
        toolbar.setBackgroundResource(R.color.transparent);
        ViewCompat.setElevation(toolbar,0);
        ViewCompat.setElevation(tvTitel,0);
      }
    }
  }
  if (cardAnimations == null) {
    cardAnimations=new Boolean[llCopies.getChildCount()];
    Arrays.fill(cardAnimations,false);
  }
  for (int i=0; i < llCopies.getChildCount(); i++) {
    if (cardAnimations[i] == false) {
      View card=llCopies.getChildAt(i);
      Rect scrollBounds=new Rect();
      scrollView.getHitRect(scrollBounds);
      if (card.getLocalVisibleRect(scrollBounds)) {
        cardAnimations[i]=true;
        card.startAnimation(AnimationUtils.loadAnimation(getActivity(),R.anim.card_appear));
      }
 else {
      }
    }
  }
}