Lines Matching refs:offsetY
233 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
312 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
969 result.offsetY = fromSpec.offsetY + (toSpec.offsetY - fromSpec.offsetY)
1009 return mCurrentMagnificationSpec.offsetY;
1018 final float oldCenterY = (-spec.offsetY + magnifiedFrame.height() / 2) / oldScale;
1020 final float normPivotY = (-spec.offsetY + pivotY) / oldScale;
1022 final float offsetY = (oldCenterY - normPivotY) * (oldScale / scale);
1024 final float centerY = normPivotY + offsetY;
1033 public void offsetMagnifiedRegionCenter(float offsetX, float offsetY) {
1037 final float nonNormOffsetY = mCurrentMagnificationSpec.offsetY - offsetY;
1038 mCurrentMagnificationSpec.offsetY = Math.min(Math.max(nonNormOffsetY,
1048 && Float.compare(mCurrentMagnificationSpec.offsetY,
1057 + " offsetY: " + centerY);
1080 mCurrentMagnificationSpec.offsetY = Math.min(Math.max(nonNormOffsetY,
1114 mSentMagnificationSpec.offsetY = spec.offsetY;