Searched refs:newAlpha (Results 1 – 3 of 3) sorted by relevance
327 final int newAlpha = (int)(Color.alpha(color) * alpha); in applyAlpha() local328 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()
121 private static void fadeToward(View view, float newAlpha) { in fadeToward() argument122 view.setAlpha(MathUtil.lerp(view.getAlpha(), newAlpha, SWIPE_LERP_PROGRESS_FACTOR)); in fadeToward() local
139 private static void fadeToward(View view, float newAlpha) { in fadeToward() argument140 view.setAlpha(MathUtil.lerp(view.getAlpha(), newAlpha, ANIMATE_LERP_PROGRESS)); in fadeToward() local