Open GoogleCodeExporter opened 8 years ago
why subsctracting200 in this one?
private final void pageDown() {
if (webview_eink != null) {
int cury = webview_eink.getScrollY();
int hmax = webview_eink.getContentHeight() - 200;
if (hmax < 0) {
hmax = 0;
}
int newy = cury + WEB_SCROLL_PX;
if (newy > hmax) {
newy = hmax;
}
if (cury != newy) {
webview_eink.scrollTo(0, newy);
}
}
}
Original comment by freegat...@gmail.com
on 20 May 2011 at 7:58
Original issue reported on code.google.com by
freegat...@gmail.com
on 20 May 2011 at 7:47