Home
last modified time | relevance | path

Searched refs:mVirtualDisplay (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DVirtualDisplayView.java88 if (mVirtualDisplay != null) {
89 mVirtualDisplay.setSurface(null);
95 private VirtualDisplay mVirtualDisplay; field in VirtualDisplayView
129 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 …]
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DDisplayUtils.java42 private VirtualDisplay mVirtualDisplay; field in DisplayUtils.VirtualDisplaySession
98 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()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavigationFragment.java55 private static VirtualDisplay mVirtualDisplay; field in NavigationFragment
153 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()
/packages/apps/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/
DTiasSessionImpl.java87 private VirtualDisplay mVirtualDisplay; field in TiasSessionImpl
197 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()