Searched refs:centeringOffsetX (Results 1 – 2 of 2) sorted by relevance
139 float centeringOffsetX = (visibleRect().width() - rect.width()) / 2; in scrollIntoView() local143 rect.x() - centeringOffsetX - visibleRect().x(), in scrollIntoView()
1446 int centeringOffsetX = (targetRect.width() - bounds.width()) / 2; in scrollElementToRect() local1450 bounds.x() - centeringOffsetX - targetRect.x(), in scrollElementToRect()