Searched refs:scrim (Results 1 – 3 of 3) sorted by relevance
118 static final int TAG_KEY_ANIM = R.id.scrim;415 private void setOrAdaptCurrentAnimation(View scrim) { in setOrAdaptCurrentAnimation() argument416 if (!isAnimating(scrim)) { in setOrAdaptCurrentAnimation()417 updateScrimColor(scrim, getCurrentScrimAlpha(scrim), getCurrentScrimTint(scrim)); in setOrAdaptCurrentAnimation()419 ValueAnimator previousAnimator = (ValueAnimator) scrim.getTag(TAG_KEY_ANIM); in setOrAdaptCurrentAnimation()420 float alpha = getCurrentScrimAlpha(scrim); in setOrAdaptCurrentAnimation()421 float previousEndValue = (Float) scrim.getTag(TAG_END_ALPHA); in setOrAdaptCurrentAnimation()422 float previousStartValue = (Float) scrim.getTag(TAG_START_ALPHA); in setOrAdaptCurrentAnimation()425 scrim.setTag(TAG_START_ALPHA, newStartValue); in setOrAdaptCurrentAnimation()426 scrim.setTag(TAG_END_ALPHA, alpha); in setOrAdaptCurrentAnimation()[all …]
244 public void updateScrimColor(ScrimView scrim, float alpha, int tint) { in updateScrimColor() argument246 scrim == mScrimInFront ? "front_scrim_alpha" : "back_scrim_alpha", in updateScrimColor()250 scrim == mScrimInFront ? "front_scrim_tint" : "back_scrim_tint", in updateScrimColor()253 scrim.setTint(tint); in updateScrimColor()254 scrim.setViewAlpha(alpha); in updateScrimColor()
88 mScrim = v.findViewById(R.id.scrim); in onCreateContentView()