Searched refs:facing (Results 1 – 10 of 10) sorted by relevance
315 def get_cam_rotations(frames, facing, h): argument356 if facing == FACING_BACK:358 elif facing == FACING_FRONT:361 print "Unknown lens facing", facing445 facing = props["android.lens.facing"]446 if facing != FACING_FRONT and facing != FACING_BACK:447 print "Unknown lens facing", facing482 "facing": facing}
183 facing = props['android.lens.facing']184 if facing != FACING_FRONT and facing != FACING_BACK:185 print('Unknown lens facing %s' % facing)
274 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in startPreview()507 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) {
2231 Integer facing = getValueFromKeyNonNull(key); in getLensFacingChecked() local2233 if (facing == null) { in getLensFacingChecked()2238 facing >= CameraCharacteristics.LENS_FACING_FRONT && in getLensFacingChecked()2239 facing <= CameraCharacteristics.LENS_FACING_EXTERNAL); in getLensFacingChecked()2240 return facing; in getLensFacingChecked()
1924 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {1953 int facing = info.facing;1955 assertTrue(facing == CameraInfo.CAMERA_FACING_BACK ||1956 facing == CameraInfo.CAMERA_FACING_FRONT);
235 if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { in checkFrontCamera()
569 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in calculateOrientations()
2243 Integer facing = ch.get(CameraCharacteristics.LENS_FACING); in matchParametersToCharacteritics() local2244 switch (facing.intValue()) { in matchParametersToCharacteritics()2247 if (info.facing != Camera.CameraInfo.CAMERA_FACING_FRONT) { in matchParametersToCharacteritics()2252 if (info.facing != Camera.CameraInfo.CAMERA_FACING_BACK) { in matchParametersToCharacteritics()
465 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in setUpCamera()
856 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in setUpCamera()