Searched refs:ELASTIC_SLOWNESS_FACTOR (Results 1 – 1 of 1) sorted by relevance
15 #define ELASTIC_SLOWNESS_FACTOR 4 /*Scrolling on elastic parts are slower by this factor*/ macro662 if(diff < 0) diff -= ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff()663 if(diff > 0) diff += ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff()664 return diff / ELASTIC_SLOWNESS_FACTOR; in elastic_diff()670 if(diff < 0) diff -= ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff()671 if(diff > 0) diff += ELASTIC_SLOWNESS_FACTOR / 2; in elastic_diff()672 return diff / ELASTIC_SLOWNESS_FACTOR; in elastic_diff()