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
81 private static native void nativeDestroyDisplay(IBinder displayToken); in nativeDestroyDisplay() argument
83 IBinder displayToken, long nativeSurfaceObject); in nativeSetDisplaySurface() argument
85 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() argument
87 IBinder displayToken, int orientation, in nativeSetDisplayProjection() argument
90 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); in nativeSetDisplaySize() argument
92 IBinder displayToken); in nativeGetDisplayConfigs() argument
93 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.java88 IBinder displayToken = mSurfaceControlDisplayFactory.createDisplay(name, secure); in createVirtualDisplayLocked() local
97 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, in createVirtualDisplayLocked()
207 public VirtualDisplayDevice(IBinder displayToken, IBinder appToken, in VirtualDisplayDevice() argument
211 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.cpp147 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshotToBuffer() local
148 if (displayToken == NULL) { in nativeScreenshotToBuffer()
157 status_t res = ScreenshotClient::captureToBuffer(displayToken, in nativeScreenshotToBuffer()
177 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshotBitmap() local
178 if (displayToken == NULL) { in nativeScreenshotBitmap()
191 res = screenshot->update(displayToken, sourceCrop, width, height, in nativeScreenshotBitmap()
249 sp<IBinder> displayToken = ibinderForJavaObject(env, displayTokenObj); in nativeScreenshot() local
250 if (displayToken != NULL) { in nativeScreenshot()
263 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()