Home | History | Annotate | Download | only in accessibility

Lines Matching refs:offsetY

240             final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
979 result.offsetY = fromSpec.offsetY + (toSpec.offsetY - fromSpec.offsetY)
1019 return mCurrentMagnificationSpec.offsetY;
1028 final float oldCenterY = (-spec.offsetY + magnifiedFrame.height() / 2) / oldScale;
1030 final float normPivotY = (-spec.offsetY + pivotY) / oldScale;
1032 final float offsetY = (oldCenterY - normPivotY) * (oldScale / scale);
1034 final float centerY = normPivotY + offsetY;
1043 public void offsetMagnifiedRegionCenter(float offsetX, float offsetY) {
1047 final float nonNormOffsetY = mCurrentMagnificationSpec.offsetY - offsetY;
1048 mCurrentMagnificationSpec.offsetY = Math.min(Math.max(nonNormOffsetY,
1058 && Float.compare(mCurrentMagnificationSpec.offsetY,
1067 + " offsetY: " + centerY);
1090 mCurrentMagnificationSpec.offsetY = Math.min(Math.max(nonNormOffsetY,
1125 mSentMagnificationSpec.offsetY = spec.offsetY;