Searched refs:halfSideLength (Results 1 – 2 of 2) sorted by relevance
96 int halfSideLength = (int) (0.5f * mSettings3A.getMeteringRegionFraction() * minCropEdge); in regionForNormalizedCoord() local109 Rect meteringRegion = new Rect(xCenterSensor - halfSideLength, in regionForNormalizedCoord()110 yCenterSensor - halfSideLength, in regionForNormalizedCoord()111 xCenterSensor + halfSideLength, in regionForNormalizedCoord()112 yCenterSensor + halfSideLength); in regionForNormalizedCoord()
131 int halfSideLength = (int) (0.5f * fraction * minCropEdge); in regionsForNormalizedCoord() local144 Rect meteringRegion = new Rect(xCenterSensor - halfSideLength, in regionsForNormalizedCoord()145 yCenterSensor - halfSideLength, in regionsForNormalizedCoord()146 xCenterSensor + halfSideLength, in regionsForNormalizedCoord()147 yCenterSensor + halfSideLength); in regionsForNormalizedCoord()