Searched refs:dinfo (Results 1 – 1 of 1) sorted by relevance
1506 DisplayInfo dinfo; in createPreviewSurface() local1508 SurfaceComposerClient::getDisplayInfo(display, &dinfo); in createPreviewSurface()1516 if ((int)dinfo.w < width) { in createPreviewSurface()1517 previewWidth = dinfo.w; in createPreviewSurface()1522 if ((int)dinfo.h < height) { in createPreviewSurface()1523 previewHeight = dinfo.h; in createPreviewSurface()1552 ret |= mSurfaceControl->setPosition((float)(dinfo.w - previewWidth), in createPreviewSurface()1553 (float)(dinfo.h - previewHeight)); in createPreviewSurface()