Back to project page synchroller.
The source code is released under:
MIT License
If you think the Android project synchroller listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ru.egslava.synchroller; //ww w .ja v a 2s . c o m /** * Just manual declaration of virtual component width and height */ public class StaticSizeRange implements RangeComputer{ private final int width; private final int height; StaticSizeRange(int width, int height){ this.width = width; this.height = height; } @Override public void computeScroll() {} @Override public int computeHorizontalScrollExtent() { return 0; } @Override public int computeHorizontalScrollRange() { return width; } @Override public int computeVerticalScrollExtent() { return 0; } @Override public int computeVerticalScrollRange() { return height; } }