/frameworks/base/core/java/android/view/ |
D | MagnificationSpec.java | 34 public float offsetX; field in MagnificationSpec 41 public void initialize(float scale, float offsetX, float offsetY) { in initialize() argument 46 this.offsetX = offsetX; in initialize() 51 return scale == 1.0f && offsetX == 0 && offsetY == 0; in isNop() 57 info.offsetX = other.offsetX; in obtain() 74 offsetX = 0.0f; in clear() 86 parcel.writeFloat(offsetX); in writeToParcel() 97 builder.append(offsetX); in toString() 106 offsetX = parcel.readFloat(); in initFromParcel()
|
D | ViewGroup.java | 1812 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedGenericPointerEvent() local 1818 transformedEvent.offsetLocation(offsetX, offsetY); in dispatchTransformedGenericPointerEvent() 1823 event.offsetLocation(offsetX, offsetY); in dispatchTransformedGenericPointerEvent() 1825 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedGenericPointerEvent() 2212 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent() local 2214 event.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent() 2218 event.offsetLocation(-offsetX, -offsetY); in dispatchTransformedTouchEvent() 2231 final float offsetX = mScrollX - child.mLeft; in dispatchTransformedTouchEvent() local 2233 transformedEvent.offsetLocation(offsetX, offsetY); in dispatchTransformedTouchEvent()
|
D | AccessibilityInteractionController.java | 655 boundsInScreen.offset((int) spec.offsetX, (int) spec.offsetY); in applyAppScaleAndMagnificationSpecIfNeeded() 669 visibleWinFrame.left = (int) (attachInfo.mWindowLeft * scale + spec.offsetX); in applyAppScaleAndMagnificationSpecIfNeeded()
|
/frameworks/av/media/libstagefright/yuv/ |
D | YUVCanvas.cpp | 67 for (int32_t offsetX = 0; offsetX < srcRect.width(); ++offsetX) { in CopyImageRect() local 68 int32_t srcX = srcStartX + offsetX; in CopyImageRect() 71 int32_t destX = destStartX + offsetX; in CopyImageRect()
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | ScreenMagnifier.java | 239 final float centerX = (-spec.offsetX + magnifiedFrame.width() / 2) / scale; in handleOnMagnifiedBoundsChanged() 319 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); in getMagnifiedFrameInContentCoords() 978 result.offsetX = fromSpec.offsetX + (toSpec.offsetX - fromSpec.offsetX) in MagnificationController() 1016 return mCurrentMagnificationSpec.offsetX; in getOffsetX() 1028 final float oldCenterX = (-spec.offsetX + magnifiedFrame.width() / 2) / oldScale; in setScale() 1030 final float normPivotX = (-spec.offsetX + pivotX) / oldScale; in setScale() 1032 final float offsetX = (oldCenterX - normPivotX) * (oldScale / scale); in setScale() local 1034 final float centerX = normPivotX + offsetX; in setScale() 1044 public void offsetMagnifiedRegionCenter(float offsetX, float offsetY) { in offsetMagnifiedRegionCenter() argument 1045 final float nonNormOffsetX = mCurrentMagnificationSpec.offsetX - offsetX; in offsetMagnifiedRegionCenter() [all …]
|
D | TouchExplorer.java | 1016 private MotionEvent offsetEvent(MotionEvent event, int offsetX, int offsetY) { in offsetEvent() argument 1017 if (offsetX == 0 && offsetY == 0) { in offsetEvent() 1028 coords[i].x += offsetX; in offsetEvent()
|
D | AccessibilityManagerService.java | 716 outBounds.offset((int) -spec.offsetX, (int) -spec.offsetY); in getAccessibilityFocusBoundsInActiveWindow()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 198 private static RectF awtRectToAndroidRect(Rectangle2D awtRec, float offsetX, float offsetY) { in awtRectToAndroidRect() argument 204 androidRect.offset(offsetX, offsetY); in awtRectToAndroidRect()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 431 final int offsetX = mTempGlobalRect[0]; in createNodeForChild() local 434 mTempScreenRect.offset(offsetX, offsetY); in createNodeForChild()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 940 final int offsetX = ((int) mSquareWidth - mBitmapWidth) / 2; 958 mArrowMatrix.setTranslate(leftX + offsetX, topY + offsetY); // transform to cell position 1004 int offsetX = (int) ((squareWidth - width) / 2f); 1011 mCircleMatrix.setTranslate(leftX + offsetX, topY + offsetY);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | SimpleMonthView.java | 628 final int offsetX = mPadding; in getItemBounds() local 635 final int x = (offsetX + (column * cellWidth)); in getItemBounds()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | DisplayMagnifier.java | 282 mMagnificationSpec.initialize(spec.scale, spec.offsetX, spec.offsetY); in updateMagnificationSpecLocked() 450 rect.offset((int) -spec.offsetX, (int) -spec.offsetY); in getMagnifiedFrameInContentCoordsLocked()
|
D | WindowStateAnimator.java | 930 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY); in computeShownFrameLocked() 1022 tmpMatrix.postTranslate(spec.offsetX, spec.offsetY); in computeShownFrameLocked()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | PagedView.java | 770 int offsetX = getViewportOffsetX(); in onLayout() local 774 mViewport.offset(offsetX, offsetY); in onLayout() 776 int childLeft = offsetX + getRelativeChildOffset(0); in onLayout()
|
/frameworks/base/libs/hwui/ |
D | OpenGLRenderer.cpp | 2447 const float offsetX = left + currentTransform().getTranslateX(); in drawPatch() local 2453 const float x = (int) floorf(bounds.left + offsetX + 0.5f); in drawPatch()
|