public void logDone() {
   log(
       "pageID", pageId,
       "pageHeight", (int) (pageHeight / app.getScreenDensity()),
       "scrollFluxDown", (int) (scrollFluxDown / app.getScreenDensity()),
       "scrollFluxUp", (int) (scrollFluxUp / app.getScreenDensity()),
       "maxPercentViewed", getMaxPercentViewed());
 }
 public void setPageHeight(int height) {
   this.pageHeight = (int) (height * app.getScreenDensity());
 }