Searched refs:xDist (Results 1 – 2 of 2) sorted by relevance
1042 float xDist = min(secondPoint.x(), size.width() - secondPoint.x()); in createGradient() local1045 float smaller = min(xDist, yDist); in createGradient()1046 xDist = smaller; in createGradient()1049 secondRadius = xDist; in createGradient()1050 aspectRatio = xDist / yDist; in createGradient()1054 float xDist = max(secondPoint.x(), size.width() - secondPoint.x()); in createGradient() local1057 float larger = max(xDist, yDist); in createGradient()1058 xDist = larger; in createGradient()1061 secondRadius = xDist; in createGradient()1062 aspectRatio = xDist / yDist; in createGradient()[all …]
52 private float xDist = 20; field in TestDoppler78 float dx = (float) Math.sin(angle) * xDist; in simpleUpdate()