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