Home | History | Annotate | Download | only in browser

Lines Matching refs:gap

284         int gap = mHorizontal ? v.getWidth() : v.getHeight();
288 if (centerView < centerScreen - gap / 2) {
290 scroll = - (centerScreen - centerView - gap);
291 translate = (position > 0) ? gap : 0;
293 } else if (centerView > centerScreen + gap / 2) {
295 scroll = - (centerScreen + gap - centerView);
297 translate = -gap;
303 translate = -gap;
305 scroll -= gap;
328 trans2 = ObjectAnimator.ofInt(this, "gap", 0, translate);
361 public void setGap(int gap) {
363 mGap = gap;