Searched defs:offsetY (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/
H A DMagnificationSpec.java35 public float offsetY; field in class:MagnificationSpec
41 public void initialize(float scale, float offsetX, float offsetY) { argument
47 this.offsetY = offsetY;
51 return scale == 1.0f && offsetX == 0 && offsetY == 0;
58 info.offsetY = other.offsetY;
75 offsetY = 0.0f;
87 parcel.writeFloat(offsetY);
98 builder.append(",offsetY
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java240 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale;
319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
980 result.offsetY = fromSpec.offsetY + (toSpec.offsetY - fromSpec.offsetY)
1020 return mCurrentMagnificationSpec.offsetY;
1029 final float oldCenterY = (-spec.offsetY + magnifiedFrame.height() / 2) / oldScale;
1031 final float normPivotY = (-spec.offsetY + pivotY) / oldScale;
1033 final float offsetY
1044 offsetMagnifiedRegionCenter(float offsetX, float offsetY) argument
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp2448 const float offsetY = top + currentTransform().getTranslateY(); local
2454 const float y = (int) floorf(bounds.top + offsetY + 0.5f);

Completed in 94 milliseconds