Searched refs:FLING_DESTRETCH_FACTOR (Results 1 – 3 of 3) sorted by relevance
88 private static final float FLING_DESTRETCH_FACTOR = 4f; field in HorizontalScrollView1515 float deltaDistance = -unconsumed * FLING_DESTRETCH_FACTOR / size; in consumeFlingInStretch()1516 int consumed = Math.round(-size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch()1525 float deltaDistance = unconsumed * FLING_DESTRETCH_FACTOR / size; in consumeFlingInStretch()1526 int consumed = Math.round(size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch()
98 private static final float FLING_DESTRETCH_FACTOR = 4f; field in ScrollView1611 float deltaDistance = -unconsumed * FLING_DESTRETCH_FACTOR / size; in consumeFlingInStretch()1612 int consumed = Math.round(-size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch()1622 float deltaDistance = unconsumed * FLING_DESTRETCH_FACTOR / size; in consumeFlingInStretch()1623 int consumed = Math.round(size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch()
260 private static final float FLING_DESTRETCH_FACTOR = 4f; field in AbsListView4427 float deltaDistance = unconsumed * FLING_DESTRETCH_FACTOR / size; in consumeFlingInStretch()4428 int consumed = Math.round(size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch()4437 float deltaDistance = -unconsumed * FLING_DESTRETCH_FACTOR / size; in consumeFlingInStretch()4438 int consumed = Math.round(-size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch()