/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputManager.java | 464 * layout of surface. 1533 * @param surface the {@link Surface} to which the snapshot is captured. 1540 public boolean captureFrame(String inputId, Surface surface, TvStreamConfig config) { argument 1542 return mService.captureFrame(inputId, surface, config, mUserId); 1796 * @param surface A {@link android.view.Surface} used to render video. 1798 public void setSurface(Surface surface) { argument 1803 // surface can be null. 1805 mService.setSurface(mToken, surface, mUserId); 1812 * Notifies of any structural changes (format or size) of the surface passed in 1815 * @param format The new PixelFormat of the surface 2577 setSurface(Surface surface, TvStreamConfig config) argument [all...] |
H A D | TvView.java | 212 * Controls whether the TvView's surface is placed on top of another regular surface view in the 221 * @param isMediaOverlay {@code true} to be on top of another regular surface, {@code false} 241 * Controls whether the TvView's surface is placed on top of its window. Normally it is placed 244 * none of the contents of the window this TvView is in will be visible on top of its surface. 746 // Punch a hole so that the underlying overlay view and surface can be shown. 755 // Punch a hole so that the underlying overlay view and surface can be shown. 784 // The surface view's content should be treated as secure all the time. 795 private void setSessionSurface(Surface surface) { argument 799 mSession.setSurface(surface); [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger_hwc1.cpp | 1526 // "surface must be bound to the calling thread's current context, 1661 const sp<IBinder> state_binder = IInterface::asBinder(state.surface); 1662 const sp<IBinder> draw_binder = IInterface::asBinder(draw[i].surface); 1664 // changing the surface is like destroying and 1711 // Virtual displays without a surface are dormant: 1714 if (state.surface != NULL) { 1717 int status = state.surface->query( 1722 status = state.surface->query( 1734 *mHwc, hwcDisplayId, state.surface, 1741 ALOGE_IF(state.surface! [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3StreamSplitter.cpp | 67 SP_LOGE("%s: Fatal: surface is NULL", __FUNCTION__); 72 SP_LOGE("%s: Failed to add output surface: %s(%d)", 181 " for surface", __FUNCTION__); 191 SP_LOGE("%s: Unable to set buffer count for surface %p", 284 for (const auto surface : tracker_ptr->requestedSurfaces()) { 285 sp<IGraphicBufferProducer>& gbp = mOutputs[surface]; 379 "requested surface id exceeding max registered ids");
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CaptureRequest.java | 54 * be part of the surface list given to the last call to 499 public boolean containsTarget(Surface surface) { argument 500 return mSurfaceSet.contains(surface); 552 * <p>Add a surface to the list of targets for this request</p> 567 * <p>Remove a surface from the list of targets for this request.</p> 2025 * measured from frontmost surface of the lens.</p>
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 681 * Call after setting a new display surface. 683 private native void _setVideoSurface(Surface surface); argument 739 * Either a surface holder or surface must be set if a display or video sink 742 * A null surface holder or surface will result in only the audio track being 751 Surface surface; 753 surface = sh.getSurface(); 755 surface = null; 757 _setVideoSurface(surface); 781 setSurface(Surface surface) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DragState.java | 109 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, argument 113 mSurfaceControl = surface; 431 // Move the surface to the given touch
|
H A D | WindowSurfacePlacer.java | 690 // an extra surface with the thumbnail included with the animation. 698 // Create a new surface for the thumbnail 710 // Transfer the thumbnail to the surface 729 // synchronize its thumbnail surface with the surface for the 749 Slog.e(TAG, "Can't allocate thumbnail/Canvas surface w=" 763 * Puts the {@param surface} into a pending list to be destroyed after the current transaction 766 void destroyAfterTransaction(SurfaceControl surface) { argument 767 mPendingDestroyingSurfaces.add(surface);
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | CameraOps.java | 376 public void setSurface(Surface surface) { argument 378 surfaceList.add(surface);
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 341 public void setSurface(Surface surface) { argument 343 surfaceList.add(surface);
|
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.cpp | 741 android::sp<android::Surface> surface( 744 surface->getIGraphicBufferProducer());
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 192 const sp<IGraphicBufferProducer>& surface, 196 clientName, clientUid, clientPid, videoSize, frameRate, surface, 210 const sp<IGraphicBufferProducer>& surface, 216 mSurface(surface), 661 // applications may already set a surface to the camera. 183 CreateFromCamera( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument 201 CameraSource( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument
|
H A D | ACodec.cpp | 621 status_t ACodec::setSurface(const sp<Surface> &surface) { argument 623 msg->setObject("surface", surface); 639 const sp<PersistentSurface> &surface) { 641 msg->setObject("input-surface", surface); 688 status_t ACodec::handleSetSurface(const sp<Surface> &surface) { argument 689 // allow keeping unset surface 690 if (surface == NULL) { 692 ALOGW("cannot unset a surface"); 638 initiateSetInputSurface( const sp<PersistentSurface> &surface) argument 6726 sp<PersistentSurface> surface = static_cast<PersistentSurface *>(obj.get()); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 106 sp<SurfaceControl> surface = client->createSurface( local 108 if (surface == NULL) { 113 surface->incStrong((void *)nativeCreate); 114 return reinterpret_cast<jlong>(surface.get());
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | MyGLSurfaceView.java | 190 * surface is created. 226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 40 * An implementation of SurfaceView that uses the dedicated surface for 46 * <li>Manages a surface, which is a special piece of memory that can be 48 * <li>Manages an EGL display, which enables OpenGL to render into a surface. 85 * By default GLSurfaceView will create a PixelFormat.RGB_888 format surface. If a translucent 86 * surface is required, call getHolder().setFormat(PixelFormat.TRANSLUCENT). 87 * The exact format of a TRANSLUCENT surface is device dependent, but it will be 88 * a 32-bit-per-pixel surface with 8 bits per component. 173 * when the surface is created, or when {@link #requestRender} is called. 240 // underlying surface is created and destroyed 255 * whenever a surface i 824 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument 846 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 341 status_t StagefrightRecorder::setPreviewSurface(const sp<IGraphicBufferProducer> &surface) { argument 342 ALOGV("setPreviewSurface: %p", surface.get()); 343 mPreviewSurface = surface; 349 const sp<PersistentSurface>& surface) { 350 mPersistentSurface = surface; 1672 // set up time lapse/slow motion for surface source 1744 // require dataspace setup even if not using surface input 1866 // surface source doesn't need large initial delay 348 setInputSurface( const sp<PersistentSurface>& surface) argument
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 353 static SkColor getColor(const sk_sp<SkSurface>& surface, int x, int y);
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
H A D | GL2CameraEye.java | 285 * surface is created. 331 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument 341 * Move the camera surface around based on some simple spring physics with drag
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | OverlayDisplayWindow.java | 99 void onWindowCreated(Surface surface); argument
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | OverlayDisplayWindow.java | 99 void onWindowCreated(Surface surface); argument
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | hardware_composer.cpp | 238 // TODO(steventhomas): When we change the backlight setting, will surface 240 // control of the display back to surface flinger? 455 ALOGI("HardwareComposer::SetDisplaySurfaces: surface count=%zd", 851 // Checks for changes in the surface stack and updates the layer config to 957 void Layer::Setup(const std::shared_ptr<DirectDisplaySurface>& surface, 966 source_ = SourceSurface{surface}; 1026 // TODO(eieio): Use surface attributes or some other mechanism to control
|
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 506 sp<Surface> surface(static_cast<Surface*>(anw)); 507 return surface;
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 1255 public void setSurface(IBinder sessionToken, Surface surface, int userId) { argument 1266 getSessionLocked(sessionState).setSurface(surface); 1269 Process.SYSTEM_UID, resolvedUserId).setSurface(surface); 1276 if (surface != null) { 1277 // surface is not used in TvInputManagerService. 1278 surface.release(); 1891 public boolean captureFrame(String inputId, Surface surface, TvStreamConfig config, argument 1923 surface, config, callingUid, resolvedUserId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 4818 public void setSurface(Surface surface, int width, int height, int density) { argument 4874 public void setSurface(Surface surface, int width, int height, int density) { argument 4875 super.setSurface(surface, width, height, density); 4880 setSurfaceLocked(surface, width, height, density); 4887 private void setSurfaceLocked(Surface surface, int width, int height, int density) { argument 4905 mSurface = surface; 4906 if (surface != null) { 5058 VIRTUAL_DISPLAY_BASE_NAME, width, height, density, null /* surface */, 5068 void setSurface(Surface surface) { argument 5070 mVirtualDisplay.setSurface(surface); [all...] |