Home
last modified time | relevance | path

Searched refs:offX (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DevCamera/src/com/android/devcamera/
DNormalizedFace.java34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) { in NormalizedFace() argument
37 leftEye.x = (float) (face.getLeftEyePosition().x - offX) / dX; in NormalizedFace()
42 rightEye.x = (float) (face.getRightEyePosition().x - offX) / dX; in NormalizedFace()
47 mouth.x = (float) (face.getMouthPosition().x - offX) / dX; in NormalizedFace()
52 bounds.left = (float) (face.getBounds().left - offX) / dX; in NormalizedFace()
54 bounds.right = (float) (face.getBounds().right - offX) / dX; in NormalizedFace()
DApi2Camera.java775 int offX = mCameraInfoCache.faceOffsetX(); in publishFrameData() local
777 int dX = mCameraInfoCache.activeAreaWidth() - 2 * offX; in publishFrameData()
784 offX += cropOffset; in publishFrameData()
788 newFaces[i] = new NormalizedFace(faces[i], dX, dY, offX, offY); in publishFrameData()