Searched refs:diffY (Results 1 – 9 of 9) sorted by relevance
100 float diffY = centerY - mPosY; in onScale() local102 diffY = diffY*scale - diffY; in onScale()104 mPosY -= diffY; in onScale()
212 float diffY = in createSkShader() local233 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in createSkShader()
205 float diffY = distanceStretchedY - height; in getShader() local222 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in getShader()
589 float diffY = dragPointY - currentCoordinates[1]; in locateHandlePointsTextIndex() local591 diffY -= mTextView.getLineHeight() * LINE_SLOP_MULTIPLIER; in locateHandlePointsTextIndex()593 diffY += mTextView.getLineHeight() * LINE_SLOP_MULTIPLIER; in locateHandlePointsTextIndex()595 return new float[] {targetCoordinates[0] + diffX, targetCoordinates[1] + diffY}; in locateHandlePointsTextIndex()
356 final float diffY = distanceStretchedY - distanceNotStretched; in updateShader() local365 mRuntimeShader.setFloatUniform("uDistDiffY", diffY); in updateShader()
2227 int diffY = ((int) (mScreenshotSize.y * scaleFactor)) - mSurfaceSize.y; in scaleAndCropScreenshot() local2230 + " diffX=" + diffX + " diffY=" + diffY + " mSurfaceSize=" + mSurfaceSize in scaleAndCropScreenshot()2242 /* top= */ diffY / 2, in scaleAndCropScreenshot()2244 /* bottom= */ diffY / 2 + mScreenshotSize.y)) in scaleAndCropScreenshot()2245 .setPosition(mScreenshotSurfaceControl, -diffX / 2, -diffY / 2) in scaleAndCropScreenshot()
1478 float diffY = y - lastY;1479 float dist = (float) Math.sqrt(diffX*diffX + diffY*diffY);
735 final float diffY = tempEnd.top - tempStart.top; in moveSurface() local744 final float distY = tempStart.top + scale * diffY; in moveSurface()
1489 private int selectDirectionForMove(float diffX, float diffY) { in selectDirectionForMove() argument1491 float result = diffY / diffX; in selectDirectionForMove()