Searched refs:oldAverage (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java5023 long runningAverage(long oldAverage, long newValue) { argument
5024 if (oldAverage == 0) {
5027 return (oldAverage / 4 * 3) + (newValue / 4);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java5447 long runningAverage(long oldAverage, long newValue) { argument
5448 if (oldAverage == 0) {
5451 return (oldAverage / 4 * 3) + (newValue / 4);

Completed in 52 milliseconds