Searched refs:dinfo (Results 1 – 2 of 2) sorted by relevance
872 DisplayInfo dinfo; in createPreviewSurface() local873 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() local1282 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()[all …]
1517 DisplayInfo dinfo; in createPreviewSurface() local1520 SurfaceComposerClient::getDisplayInfo(display, &dinfo); in createPreviewSurface()1528 if ((int)dinfo.w < width) { in createPreviewSurface()1529 previewWidth = dinfo.w; in createPreviewSurface()1534 if ((int)dinfo.h < height) { in createPreviewSurface()1535 previewHeight = dinfo.h; in createPreviewSurface()1564 ret |= mSurfaceControl->setPosition((float)(dinfo.w - previewWidth), in createPreviewSurface()1565 (float)(dinfo.h - previewHeight)); in createPreviewSurface()