Searched refs:diffX (Results 1 – 8 of 8) 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()
2063 int diffX = ((int) (mScreenshotSize.x * scaleFactor)) - mSurfaceSize.x; in scaleAndCropScreenshot() local2067 + " diffX=" + diffX + " diffY=" + diffY + " mSurfaceSize=" + mSurfaceSize in scaleAndCropScreenshot()2078 /* left= */ diffX / 2, in scaleAndCropScreenshot()2080 /* right= */ diffX / 2 + mScreenshotSize.x, in scaleAndCropScreenshot()2082 .setPosition(mScreenshotSurfaceControl, -diffX / 2, -diffY / 2) in scaleAndCropScreenshot()
1337 float diffX = x - lastX;1339 float dist = (float) Math.sqrt(diffX*diffX + diffY*diffY);
665 final float diffX = tempEnd.left - tempStart.left; in moveSurface() local674 final float distX = tempStart.left + scale * diffX; in moveSurface()