Lines Matching refs:dinfo
872 DisplayInfo dinfo; in createPreviewSurface() local
873 SurfaceComposerClient::getDisplayInfo(0, &dinfo); in createPreviewSurface()
875 const unsigned MAX_PREVIEW_SURFACE_WIDTH = dinfo.w; in createPreviewSurface()
876 const unsigned MAX_PREVIEW_SURFACE_HEIGHT = dinfo.h; in createPreviewSurface()
1278 DisplayInfo dinfo; in startPreview() local
1282 SurfaceComposerClient::getDisplayInfo(0, &dinfo); in startPreview()
1284 printf ("dinfo.orientation = %d\n", dinfo.orientation); in startPreview()
1285 printf ("dinfo.w = %d\n", dinfo.w); in startPreview()
1286 printf ("dinfo.h = %d\n", dinfo.h); in startPreview()
1291 orientation = (cameraInfo.orientation + dinfo.orientation) % 360; in startPreview()
1294 orientation = (cameraInfo.orientation - dinfo.orientation + 360) % 360; in startPreview()
1319 correctedHeight = (dinfo.w * orientedHeight) / orientedWidth; in startPreview()
1322 if ( createPreviewSurface(dinfo.w, correctedHeight, in startPreview()
1347 orientation = (cameraInfo.orientation + dinfo.orientation) % 360; in startPreview()
1350 orientation = (cameraInfo.orientation - dinfo.orientation + 360) % 360; in startPreview()