Searched refs:mVirtualDisplay (Results 1 – 4 of 4) sorted by relevance
88 if (mVirtualDisplay != null) {89 mVirtualDisplay.setSurface(null);95 private VirtualDisplay mVirtualDisplay; field in VirtualDisplayView129 if (mVirtualDisplay == null) { in onTouchEvent()174 if (mVirtualDisplay != null) { in createVirtualDisplay()175 throw new IllegalStateException("Display already exist: " + mVirtualDisplay); in createVirtualDisplay()223 mVirtualDisplay = displayManager.createVirtualDisplay(mName, in createVirtualDisplay()225 int displayId = mVirtualDisplay.getDisplay().getDisplayId(); in createVirtualDisplay()250 if (mVirtualDisplay == null) { in deleteVirtualDisplay()261 return mVirtualDisplay; in getVirtualDisplay()[all …]
42 private VirtualDisplay mVirtualDisplay; field in DisplayUtils.VirtualDisplaySession98 mVirtualDisplay = displayManager.createVirtualDisplay(DISPLAY_NAME, in createDisplayWithDefaultDisplayMetricsAndWait()103 int theNewDisplayId = mVirtualDisplay.getDisplay().getDisplayId(); in createDisplayWithDefaultDisplayMetricsAndWait()112 return mVirtualDisplay.getDisplay(); in createDisplayWithDefaultDisplayMetricsAndWait()117 if (mVirtualDisplay != null) { in close()118 mVirtualDisplay.release(); in close()
55 private static VirtualDisplay mVirtualDisplay; field in NavigationFragment153 if (mVirtualDisplay == null) { in onCreateView()154 mVirtualDisplay = createVirtualDisplay(holder.getSurface(), width, height); in onCreateView()156 mVirtualDisplay.setSurface(holder.getSurface()); in onCreateView()165 mVirtualDisplay.setSurface(null); in onCreateView()198 return (mVirtualDisplay != null && mVirtualDisplay.getDisplay() != null) in getVirtualDisplayId()199 ? mVirtualDisplay.getDisplay().getDisplayId() : Display.INVALID_DISPLAY; in getVirtualDisplayId()
87 private VirtualDisplay mVirtualDisplay; field in TiasSessionImpl197 if (mVirtualDisplay != null) { in onRelease()198 mVirtualDisplay.release(); in onRelease()199 mVirtualDisplay = null; in onRelease()449 if (mVirtualDisplay != null) { in updateSurface()450 mVirtualDisplay.setSurface(surface); in updateSurface()451 mVirtualDisplay.resize(width, height, DisplayMetrics.DENSITY_DEFAULT); in updateSurface()459 mVirtualDisplay = displayManager.createVirtualDisplay(VIRTUAL_DISPLAY_NAME, in updateSurface()467 new Presentation(mContext, mVirtualDisplay.getDisplay()); in updateSurface()