Home
last modified time | relevance | path

Searched refs:displayToken (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/
DSurfaceControl.java46 private static native Bitmap nativeScreenshot(IBinder displayToken, in nativeScreenshot() argument
49 private static native GraphicBuffer nativeScreenshotToBuffer(IBinder displayToken, in nativeScreenshotToBuffer() argument
52 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot() argument
82 private static native void nativeDestroyDisplay(IBinder displayToken); in nativeDestroyDisplay() argument
84 IBinder displayToken, long nativeSurfaceObject); in nativeSetDisplaySurface() argument
86 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() argument
88 IBinder displayToken, int orientation, in nativeSetDisplayProjection() argument
91 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); in nativeSetDisplaySize() argument
93 IBinder displayToken); in nativeGetDisplayConfigs() argument
94 private static native int nativeGetActiveConfig(IBinder displayToken); in nativeGetActiveConfig() argument
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java87 IBinder displayToken = SurfaceControl.getBuiltInDisplay(builtInDisplayId); in tryConnectDisplayLocked() local
88 if (displayToken != null) { in tryConnectDisplayLocked()
90 SurfaceControl.getDisplayConfigs(displayToken); in tryConnectDisplayLocked()
97 int activeConfig = SurfaceControl.getActiveConfig(displayToken); in tryConnectDisplayLocked()
105 int activeColorMode = SurfaceControl.getActiveColorMode(displayToken); in tryConnectDisplayLocked()
114 int[] colorModes = SurfaceControl.getDisplayColorModes(displayToken); in tryConnectDisplayLocked()
118 device = new LocalDisplayDevice(displayToken, builtInDisplayId, in tryConnectDisplayLocked()
176 public LocalDisplayDevice(IBinder displayToken, int builtInDisplayId, in LocalDisplayDevice() argument
179 super(LocalDisplayAdapter.this, displayToken, UNIQUE_ID_PREFIX + builtInDisplayId); in LocalDisplayDevice()
190 mHdrCapabilities = SurfaceControl.getHdrCapabilities(displayToken); in LocalDisplayDevice()
DDisplayDevice.java55 public DisplayDevice(DisplayAdapter displayAdapter, IBinder displayToken, String uniqueId) { in DisplayDevice() argument
57 mDisplayToken = displayToken; in DisplayDevice()
DVirtualDisplayAdapter.java91 IBinder displayToken = mSurfaceControlDisplayFactory.createDisplay(name, secure); in createVirtualDisplayLocked() local
100 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, in createVirtualDisplayLocked()
210 public VirtualDisplayDevice(IBinder displayToken, IBinder appToken, in VirtualDisplayDevice() argument
214 super(VirtualDisplayAdapter.this, displayToken, uniqueId); in VirtualDisplayDevice()
DOverlayDisplayAdapter.java237 public OverlayDisplayDevice(IBinder displayToken, String name, in OverlayDisplayDevice() argument
242 super(OverlayDisplayAdapter.this, displayToken, UNIQUE_ID_PREFIX + number); in OverlayDisplayDevice()
406 IBinder displayToken = SurfaceControl.createDisplay(mName, mSecure); in onWindowCreated() local
407 mDevice = new OverlayDisplayDevice(displayToken, mName, mModes, mActiveMode, in onWindowCreated()
DWifiDisplayAdapter.java383 IBinder displayToken = SurfaceControl.createDisplay(name, secure); in addDisplayDeviceLocked() local
384 mDisplayDevice = new WifiDisplayDevice(displayToken, name, width, height, in addDisplayDeviceLocked()
591 public WifiDisplayDevice(IBinder displayToken, String name, in WifiDisplayDevice() argument
594 super(WifiDisplayAdapter.this, displayToken, DISPLAY_NAME_PREFIX + address); in WifiDisplayDevice()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp148 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshotToBuffer() local
149 if (displayToken == NULL) { in nativeScreenshotToBuffer()
158 status_t res = ScreenshotClient::captureToBuffer(displayToken, in nativeScreenshotToBuffer()
178 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshotBitmap() local
179 if (displayToken == NULL) { in nativeScreenshotBitmap()
192 res = screenshot->update(displayToken, sourceCrop, width, height, in nativeScreenshotBitmap()
259 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshot() local
260 if (displayToken != NULL) { in nativeScreenshot()
273 ScreenshotClient::capture(displayToken, in nativeScreenshot()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h95 const wp<IBinder>& displayToken,
DDisplayDevice.cpp92 const wp<IBinder>& displayToken, in DisplayDevice() argument
101 mDisplayToken(displayToken), in DisplayDevice()