Searched refs:diffX (Results 1 – 9 of 9) sorted by relevance
99 float diffX = centerX - mPosX; in onScale() local101 diffX = diffX*scale - diffX; in onScale()103 mPosX -= diffX; in onScale()
210 float diffX = in createSkShader() local232 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in createSkShader()
204 float diffX = distanceStretchedX - width; in getShader() local221 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in getShader()
355 final float diffX = distanceStretchedX - distanceNotStretched; in updateShader() local364 mRuntimeShader.setFloatUniform("uDistDiffX", diffX); in updateShader()
585 final float diffX = dragPointX - currentCoordinates[0]; in locateHandlePointsTextIndex() local595 return new float[] {targetCoordinates[0] + diffX, targetCoordinates[1] + diffY}; in locateHandlePointsTextIndex()
2226 int diffX = ((int) (mScreenshotSize.x * scaleFactor)) - mSurfaceSize.x; in scaleAndCropScreenshot() local2230 + " diffX=" + diffX + " diffY=" + diffY + " mSurfaceSize=" + mSurfaceSize in scaleAndCropScreenshot()2241 /* left= */ diffX / 2, in scaleAndCropScreenshot()2243 /* right= */ diffX / 2 + mScreenshotSize.x, in scaleAndCropScreenshot()2245 .setPosition(mScreenshotSurfaceControl, -diffX / 2, -diffY / 2) in scaleAndCropScreenshot()
1477 float diffX = x - lastX;1479 float dist = (float) Math.sqrt(diffX*diffX + diffY*diffY);
734 final float diffX = tempEnd.left - tempStart.left; in moveSurface() local743 final float distX = tempStart.left + scale * diffX; in moveSurface()
1489 private int selectDirectionForMove(float diffX, float diffY) { in selectDirectionForMove() argument1491 float result = diffY / diffX; in selectDirectionForMove()