Home
last modified time | relevance | path

Searched refs:offY (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
38 leftEye.y = (float) (face.getLeftEyePosition().y - offY) / dY; in NormalizedFace()
43 rightEye.y = (float) (face.getRightEyePosition().y - offY) / dY; in NormalizedFace()
48 mouth.y = (float) (face.getMouthPosition().y - offY) / dY; in NormalizedFace()
53 bounds.top = (float) (face.getBounds().top - offY) / dY; in NormalizedFace()
55 bounds.bottom = (float) (face.getBounds().bottom - offY) / dY; in NormalizedFace()
DApi2Camera.java776 int offY = mCameraInfoCache.faceOffsetY(); in publishFrameData() local
778 int dY = mCameraInfoCache.activeAreaHeight() - 2 * offY; in publishFrameData()
788 newFaces[i] = new NormalizedFace(faces[i], dX, dY, offX, offY); in publishFrameData()