Home
last modified time | relevance | path

Searched refs:offsetY (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/view/
DMagnificationSpec.java35 public float offsetY; field in MagnificationSpec
41 public void initialize(float scale, float offsetX, float offsetY) { in initialize() argument
47 this.offsetY = offsetY; in initialize()
51 return scale == 1.0f && offsetX == 0 && offsetY == 0; in isNop()
58 info.offsetY = other.offsetY; in obtain()
75 offsetY = 0.0f; in clear()
87 parcel.writeFloat(offsetY); in writeToParcel()
99 builder.append(offsetY); in toString()
107 offsetY = parcel.readFloat(); in initFromParcel()
DViewGroup.java1806 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() local
1811 transformedEvent.offsetLocation(offsetX, offsetY); in dispatchTransformedGenericPointerEvent()
1816 event.offsetLocation(offsetX, offsetY); in dispatchTransformedGenericPointerEvent()
1818 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedGenericPointerEvent()
2206 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() local
2207 event.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent()
2211 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedTouchEvent()
2225 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() local
2226 transformedEvent.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent()
DAccessibilityInteractionController.java645 boundsInScreen.offset((int) spec.offsetX, (int) spec.offsetY); in applyAppScaleAndMagnificationSpecIfNeeded()
660 visibleWinFrame.top = (int) (attachInfo.mWindowTop * scale + spec.offsetY); in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/av/media/libstagefright/yuv/
DYUVImage.cpp239 for (int32_t offsetY = 0; offsetY < height; ++offsetY) { in fastCopyRectangle420Planar() local
254 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) { in fastCopyRectangle420Planar() local
268 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) { in fastCopyRectangle420Planar() local
321 for (int32_t offsetY = 0; offsetY < height; ++offsetY) { in fastCopyRectangle420SemiPlanar() local
336 for (int32_t offsetY = 0; offsetY < (height >> 1); ++offsetY) { in fastCopyRectangle420SemiPlanar() local
DYUVCanvas.cpp66 for (int32_t offsetY = 0; offsetY < srcRect.height(); ++offsetY) { in CopyImageRect() local
69 int32_t srcY = srcStartY + offsetY; in CopyImageRect()
72 int32_t destY = destStartY + offsetY; in CopyImageRect()
/frameworks/base/services/java/com/android/server/accessibility/
DScreenMagnifier.java240 final float centerY = (-spec.offsetY + magnifiedFrame.height() / 2) / scale; in handleOnMagnifiedBoundsChanged()
319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); in getMagnifiedFrameInContentCoords()
979 result.offsetY = fromSpec.offsetY + (toSpec.offsetY - fromSpec.offsetY) in MagnificationController()
1019 return mCurrentMagnificationSpec.offsetY; in getOffsetY()
1028 final float oldCenterY = (-spec.offsetY + magnifiedFrame.height() / 2) / oldScale; in setScale()
1030 final float normPivotY = (-spec.offsetY + pivotY) / oldScale; in setScale()
1032 final float offsetY = (oldCenterY - normPivotY) * (oldScale / scale); in setScale() local
1034 final float centerY = normPivotY + offsetY; in setScale()
1043 public void offsetMagnifiedRegionCenter(float offsetX, float offsetY) { in offsetMagnifiedRegionCenter() argument
1047 final float nonNormOffsetY = mCurrentMagnificationSpec.offsetY - offsetY; in offsetMagnifiedRegionCenter()
[all …]
DAccessibilityManagerService.java716 outBounds.offset((int) -spec.offsetX, (int) -spec.offsetY); in getAccessibilityFocusBoundsInActiveWindow()
/frameworks/opt/datetimepicker/src/com/googlecode/eyesfree/utils/
DTouchExplorationHelper.java308 final int offsetY = mTempGlobalRect[1]; in populateNodeForItemInternal() local
310 mTempScreenRect.offset(offsetX, offsetY); in populateNodeForItemInternal()
/frameworks/base/core/java/com/android/internal/widget/
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/
DSimpleMonthView.java646 final int offsetY = MONTH_HEADER_SIZE; in getItemBounds() local
653 final int y = (offsetY + (row * cellHeight)); in getItemBounds()
/frameworks/base/services/java/com/android/server/wm/
DDisplayMagnifier.java282 mMagnificationSpec.initialize(spec.scale, spec.offsetX, spec.offsetY); in updateMagnificationSpecLocked()
450 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); in getMagnifiedFrameInContentCoordsLocked()
DWindowStateAnimator.java932 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY); in computeShownFrameLocked()
1024 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY); in computeShownFrameLocked()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DPagedView.java716 int offsetY = getViewportOffsetY(); in onLayout() local
719 mViewport.offset(offsetX, offsetY); in onLayout()
724 int childTop = offsetY + getPaddingTop(); in onLayout()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp2333 const float offsetY = top + currentTransform().getTranslateY(); in drawPatch() local
2339 const float y = (int) floorf(bounds.top + offsetY + 0.5f); in drawPatch()
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java5238 int offsetY = location[1] - getScrollY(); in showPasteWindow() local
5239 cursorPoint.offset(offsetX, offsetY); in showPasteWindow()
5240 cursorTop.offset(offsetX, offsetY); in showPasteWindow()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt171 /sdcard/android/layout_tests/fast/events/offsetX-offsetY.html