Searched refs:offsetY (Results 1 - 15 of 15) 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...]
H A DViewGroup.java1813 final float offsetY = mScrollY - child.mTop;
1818 transformedEvent.offsetLocation(offsetX, offsetY);
1823 event.offsetLocation(offsetX, offsetY);
1825 event.offsetLocation(-offsetX, -offsetY);
2213 final float offsetY = mScrollY - child.mTop;
2214 event.offsetLocation(offsetX, offsetY);
2218 event.offsetLocation(-offsetX, -offsetY);
2232 final float offsetY = mScrollY - child.mTop;
2233 transformedEvent.offsetLocation(offsetX, offsetY);
H A DAccessibilityInteractionController.java655 boundsInScreen.offset((int) spec.offsetX, (int) spec.offsetY);
670 visibleWinFrame.top = (int) (attachInfo.mWindowTop * scale + spec.offsetY);
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp239 for (int32_t offsetY = 0; offsetY < height; ++offsetY) {
254 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) {
268 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) {
321 for (int32_t offsetY
[all...]
H A DYUVCanvas.cpp66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) {
69 int32_t srcY = srcStartY + offsetY;
72 int32_t destY = destStartY + offsetY;
/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...]
H A DTouchExplorer.java1012 * @param offsetY The Y offset.
1016 private MotionEvent offsetEvent(MotionEvent event, int offsetX, int offsetY) { argument
1017 if (offsetX == 0 && offsetY == 0) {
1029 coords[i].y += offsetY;
H A DAccessibilityManagerService.java716 outBounds.offset((int) -spec.offsetX, (int) -spec.offsetY);
/frameworks/support/v4/java/android/support/v4/widget/
H A DExploreByTouchHelper.java432 final int offsetY = mTempGlobalRect[1];
434 mTempScreenRect.offset(offsetX, offsetY);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java941 final int offsetY = ((int) mSquareHeight - mBitmapHeight) / 2;
958 mArrowMatrix.setTranslate(leftX + offsetX, topY + offsetY); // transform to cell position
1005 int offsetY = (int) ((squareHeight - height) / 2f);
1011 mCircleMatrix.setTranslate(leftX + offsetX, topY + offsetY);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DSimpleMonthView.java629 final int offsetY = MONTH_HEADER_SIZE;
636 final int y = (offsetY + (row * cellHeight));
/frameworks/base/services/java/com/android/server/wm/
H A DDisplayMagnifier.java282 mMagnificationSpec.initialize(spec.scale, spec.offsetX, spec.offsetY);
450 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
H A DWindowStateAnimator.java930 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY);
1022 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java771 int offsetY = getViewportOffsetY();
774 mViewport.offset(offsetX, offsetY);
779 int childTop = offsetY + getPaddingTop();
/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 277 milliseconds