Example #1
0
 protected void incRightScroll() {
   float p = getAlignX() + (((float) getW() / 3) / ((float) getContent().getW()));
   setPositionX(UFloat.checkFloat(p, 1.0f));
 }
Example #2
0
 protected void incDownScroll() {
   float p = getAlignY() + (((float) getH() / 3) / ((float) getContent().getH()));
   setPositionY(UFloat.checkFloat(p, 1.0f));
 }