Searched defs:offsetY (Results 1 - 5 of 5) 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/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java256 private static RectF awtRectToAndroidRect(Rectangle2D awtRec, float offsetX, float offsetY) { argument
262 androidRect.offset(offsetX, offsetY);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DTouchExplorer.java1024 * @param offsetY The Y offset.
1028 private MotionEvent offsetEvent(MotionEvent event, int offsetX, int offsetY) { argument
1029 if (offsetX == 0 && offsetY == 0) {
1041 coords[i].y += offsetY;
H A DScreenMagnifier.java233 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
1033 offsetMagnifiedRegionCenter(float offsetX, float offsetY) argument
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp2270 const float offsetY = top + currentTransform()->getTranslateY(); local
2276 const float y = (int) floorf(bounds.top + offsetY + 0.5f);

Completed in 2957 milliseconds