Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DMagnificationSpec.java46 public float offsetY; field in MagnificationSpec
52 public void initialize(float scale, float offsetX, float offsetY) { in initialize() argument
58 this.offsetY = offsetY; in initialize()
62 return scale == 1.0f && offsetX == 0 && offsetY == 0; in isNop()
69 info.offsetY = other.offsetY; in obtain()
86 offsetY = 0.0f; in clear()
92 offsetY = other.offsetY; in setTo()
104 parcel.writeFloat(offsetY); in writeToParcel()
119 return scale == s.scale && offsetX == s.offsetX && offsetY == s.offsetY; in equals()
126 result = 31 * result + (offsetY != +0.0f ? Float.floatToIntBits(offsetY) : 0); in hashCode()
[all …]
DWindowCallbacks.java70 boolean onContentDrawn(int offsetX, int offsetY, int sizeX, int sizeY); in onContentDrawn() argument
DViewGroup.java1759 final float offsetY = mScrollY - child.mTop; in dispatchResolvePointerIcon() local
1760 event.offsetLocation(offsetX, offsetY); in dispatchResolvePointerIcon()
1762 event.offsetLocation(-offsetX, -offsetY); in dispatchResolvePointerIcon()
2152 final float offsetY = mScrollY - child.mTop; in dispatchTransformedGenericPointerEvent() local
2153 event.offsetLocation(offsetX, offsetY); in dispatchTransformedGenericPointerEvent()
2155 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedGenericPointerEvent()
2171 final float offsetY = mScrollY - child.mTop; in getTransformedMotionEvent() local
2173 transformedEvent.offsetLocation(offsetX, offsetY); in getTransformedMotionEvent()
2666 final float offsetY = mScrollY - child.mTop; in dispatchTransformedTouchEvent() local
2667 event.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent()
[all …]
DAccessibilityInteractionController.java748 point.y += (int) spec.offsetY; in applyAppScaleAndMagnificationSpecIfNeeded()
776 boundsInScreen.offset((int) spec.offsetX, (int) spec.offsetY); in applyAppScaleAndMagnificationSpecIfNeeded()
791 visibleWinFrame.top = (int) (attachInfo.mWindowTop * scale + spec.offsetY); in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java207 final float offsetY = sentSpec.offsetY; in onMagnificationRegionChanged() local
213 + mMagnificationBounds.top - offsetY) / scale; in onMagnificationRegionChanged()
308 return mCurrentMagnificationSpec.offsetY; in getOffsetY()
354 return mSpecAnimationBridge.mSentMagnificationSpec.offsetY; in getSentOffsetY()
414 final float oldCenterY = (viewport.height() / 2.0f - spec.offsetY) / oldScale; in setScale()
416 final float normPivotY = (pivotY - spec.offsetY) / oldScale; in setScale()
418 final float offsetY = (oldCenterY - normPivotY) * (oldScale / scale); in setScale() local
420 final float centerY = normPivotY + offsetY; in setScale()
492 public void offsetMagnifiedRegionCenter(float offsetX, float offsetY, int id) { in offsetMagnifiedRegionCenter() argument
501 final float nonNormOffsetY = currSpec.offsetY - offsetY; in offsetMagnifiedRegionCenter()
[all …]
DTouchExplorer.java983 private MotionEvent offsetEvent(MotionEvent event, int offsetX, int offsetY) { in offsetEvent() argument
984 if (offsetX == 0 && offsetY == 0) { in offsetEvent()
996 coords[i].y += offsetY; in offsetEvent()
DAccessibilityManagerService.java3656 boundsInScreen.offset((int) -spec.offsetX, (int) -spec.offsetY); in getAccessibilityFocusClickPointInScreenNotLocked()
/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/libs/hwui/
DGlopBuilder.h92 GlopBuilder& setModelViewOffsetRect(float offsetX, float offsetY, const Rect source);
93 GlopBuilder& setModelViewOffsetRectSnap(float offsetX, float offsetY, const Rect source);
95 float offsetX, float offsetY, const Rect& source) { in setModelViewOffsetRectOptionalSnap() argument
97 return setModelViewOffsetRectSnap(offsetX, offsetY, source); in setModelViewOffsetRectOptionalSnap()
99 return setModelViewOffsetRect(offsetX, offsetY, source); in setModelViewOffsetRectOptionalSnap()
DGlopBuilder.cpp549 GlopBuilder& GlopBuilder::setModelViewOffsetRect(float offsetX, float offsetY, const Rect source) { in setModelViewOffsetRect() argument
552 mOutGlop->transform.modelView.loadTranslate(offsetX, offsetY, 0.0f); in setModelViewOffsetRect()
555 mOutGlop->bounds.translate(offsetX, offsetY); in setModelViewOffsetRect()
560 GlopBuilder& GlopBuilder::setModelViewOffsetRectSnap(float offsetX, float offsetY, const Rect sourc… in setModelViewOffsetRectSnap() argument
571 offsetY = (int) floorf(offsetY + translateY + source.top + 0.5f) - translateY - source.top; in setModelViewOffsetRectSnap()
575 mOutGlop->transform.modelView.loadTranslate(offsetX, offsetY, 0.0f); in setModelViewOffsetRectSnap()
578 mOutGlop->bounds.translate(offsetX, offsetY); in setModelViewOffsetRectSnap()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtils.java67 int offsetY = 0; in getCombinedBackgroundBitmap() local
72 ancestorOffsets.add(Pair.create(offsetX, offsetY)); in getCombinedBackgroundBitmap()
83 offsetY += view.getTop(); in getCombinedBackgroundBitmap()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java255 private static RectF awtRectToAndroidRect(Rectangle2D awtRec, float offsetX, float offsetY) { in awtRectToAndroidRect() argument
261 androidRect.offset(offsetX, offsetY); in awtRectToAndroidRect()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java490 final int offsetY = tempGlobalRect[1]; in createNodeForChild() local
492 tempScreenRect.offset(offsetX, offsetY); in createNodeForChild()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java635 final int offsetY = mPaddingTop;
636 background.setHotspotBounds(left + offsetX, top + offsetY,
637 right + offsetX, bottom + offsetY);
DTimePickerClockDelegate.java857 final float offsetY = view.getScrollY() - child.getTop(); in onTouch() local
858 motionEvent.offsetLocation(offsetX, offsetY); in onTouch()
860 motionEvent.offsetLocation(-offsetX, -offsetY); in onTouch()
DActionMenuPresenter.java919 final int offsetY = getPaddingTop() - getPaddingBottom(); in setFrame() local
921 final int centerY = (height + offsetY) / 2; in setFrame()
DPopupWindow.java1893 final int offsetY = bounds.top; in getTransitionEpicenter() local
1895 bounds.offset(offsetX, offsetY); in getTransitionEpicenter()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthView.java776 final int offsetY = getMonthHeaderSize(); in getItemBounds() local
783 final int y = (offsetY + (row * cellHeight)); in getItemBounds()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java346 int offsetY = adjustedBounds.bottom - mTmpRect2.bottom; in alignToAdjustedBounds() local
347 mTmpRect2.offset(0, offsetY); in alignToAdjustedBounds()
DAccessibilityController.java470 mMagnificationSpec.initialize(spec.scale, spec.offsetX, spec.offsetY); in updateMagnificationSpecLocked()
617 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); in getMagnifiedFrameInContentCoordsLocked()
DWindowStateAnimator.java1018 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY); in computeShownFrameLocked()
1120 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY); in computeShownFrameLocked()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java714 final int offsetY = getPaddingTop() - getPaddingBottom(); in setFrame() local
716 final int centerY = (height + offsetY) / 2; in setFrame()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2028 public boolean onContentDrawn(int offsetX, int offsetY, int sizeX, int sizeY) {
2032 return mBackdropFrameRenderer.onContentDrawn(offsetX, offsetY, sizeX, sizeY);