HomeSort by relevance Sort by last modified time
    Searched refs:Surface (Results 126 - 150 of 340) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/media/mca/filterfw/jni/
jni_gl_environment.cpp 27 #include <gui/Surface.h>
37 using android::Surface;
135 jobject surface) {
137 if (!surface) {
138 ALOGE("GLEnvironment: Null Surface passed!");
142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface);
151 // Configure surface
168 ALOGE("GLEnvironment: No suitable EGL configuration found for surface!");
172 // Create the EGL surface
179 ALOGE("GLEnvironment: Error creating window surface!");
    [all...]
  /frameworks/base/media/mca/filterfw/native/core/
gl_env.h 31 #include <gui/Surface.h>
59 // includes the display, context, and surface. It is possible to either create
63 // surface.
74 // Inits a new GL environment, including a new surface and context. You
79 // there is already a display, surface and context available (possibly
95 // When rendering to a visible surface, call this to swap between the
102 // Add a surface to the environment. This surface will now be managed (and
103 // owned) by the GLEnv instance. Returns the id of the surface.
104 int AddSurface(const EGLSurface& surface);
132 const EGLSurface& surface() const { function in class:android::filterfw::GLEnv
    [all...]
  /frameworks/base/native/android/
native_window.cpp 17 #define LOG_TAG "Surface"
21 #include <gui/Surface.h>
27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) {
28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface);
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SceneGraphView.java 36 import android.view.Surface;
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
RsBenchView.java 37 import android.view.Surface;
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
RSTestView.java 36 import android.view.Surface;
  /frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
RSTestView.java 36 import android.view.Surface;
  /frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
RSTestView.java 36 import android.view.Surface;
  /hardware/libhardware/tests/camera2/
CameraFrameTests.cpp 29 #include <gui/Surface.h>
  /hardware/qcom/camera/QCamera2/HAL/test/
qcamera_test.h 115 sp<Surface> mPreviewSurface;
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/
RenderScriptWallpaper.java 28 import android.view.Surface;
  /cts/tests/tests/media/src/android/media/cts/
EncodeVirtualDisplayWithCompositionTest.java 42 import android.view.Surface;
65 private Surface mSurface;
171 private Surface mSurface;
175 Surface startEncoding(CodecInfo codecInfo, EncoderEventListener eventListener) {
224 // our desired properties. Request a Surface to use for input.
263 * Handles composition of multiple SurfaceTexture into a single Surface
266 private Surface mSurface;
306 void startComposition(Surface surface, int w, int h, int numWindows) {
307 mSurface = surface;
    [all...]
  /development/samples/RenderScript/Levels/src/com/android/rs/levels/
LevelsRSActivity.java 25 import android.view.Surface;
214 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
215 if (surface != null) {
216 mOutPixelsAllocation.setSurface(new Surface(surface));
222 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
223 if (surface != null) {
224 mOutPixelsAllocation.setSurface(new Surface(surface));
229 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
    [all...]
  /frameworks/base/media/java/android/media/
MediaRecorder.java 25 import android.view.Surface;
87 private Surface mSurface;
127 * Sets a Surface to show a preview of recorded media (video). Calls this
129 * set. If {@link #setCamera(Camera)} is used and the surface has been
131 * this is called with non-null surface, the preview surface of the camera
132 * will be replaced by the new surface. If this method is called with null
133 * surface or not called at all, media recorder will not change the preview
134 * surface of the camera.
136 * @param sv the Surface to use for the previe
    [all...]
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DisplaySinkService.java 29 import android.view.Surface;
43 // This is to ensure that the surface lifecycle is respected. Although decoding
44 // happens on the transport thread, we are not allowed to access the surface after
47 private Surface mSurface;
107 // Ignore. Wait for surface changed event that follows.
121 Surface surface = null; local
124 surface = holder.getSurface();
125 if (surface.isValid()) {
130 surface = null
    [all...]
  /frameworks/native/libs/gui/
SurfaceControl.cpp 38 #include <gui/Surface.h>
77 // the surface's resource. Soon after this call, it will also release
180 sp<Surface> SurfaceControl::getSurface() const
184 // This surface is always consumed by SurfaceFlinger, so the
186 mSurfaceData = new Surface(mGraphicBufferProducer, false);
  /frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 34 import android.view.Surface;
52 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
56 if (surface != null) {
57 mOutPixelsAllocation.setSurface(new Surface(surface));
61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
62 if (surface != null) {
63 mOutPixelsAllocation.setSurface(new Surface(surface));
    [all...]
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
CameraRecordingStream.java 27 import android.view.Surface;
56 private Surface mRecordingSurface;
123 * Add the stream output surface to the target output surface list.
125 * @param outputSurfaces The output surface list where the stream can
126 * add/remove its output surface.
127 * @param detach Detach the recording surface from the outputSurfaces.
129 public synchronized void onConfiguringOutputs(List<Surface> outputSurfaces,
132 // Can detach the surface in CONFIGURED and RECORDING state
136 Log.w(TAG, "Can not detach surface when recording stream is in IDLE state")
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceRandom.java 27 import android.view.Surface;
69 Surface.ROTATION_0,
70 Surface.ROTATION_90,
71 Surface.ROTATION_180,
72 Surface.ROTATION_270,
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
VideoChatTestActivity.java 13 import android.view.Surface;
120 case Surface.ROTATION_0:
123 case Surface.ROTATION_90:
126 case Surface.ROTATION_180:
129 case Surface.ROTATION_270:
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 32 #include <gui/Surface.h>
34 #include <gui/Surface.h>
95 String8("Test Surface"),
114 sp<Surface> stc = new Surface(sms);
366 mSTC = new Surface(static_cast<sp<IGraphicBufferProducer> >( mSMS->getBufferQueue()));
380 sp<Surface> mSTC;
401 mSTC = new Surface(static_cast<sp<IGraphicBufferProducer> >( mSMS->getBufferQueue()));
421 sp<Surface> mSTC;
485 // query the mediarecorder for a surfacemeidasource and create an egl surface with tha
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NavigationBarView.java 38 import android.view.Surface;
396 mRotatedViews[Surface.ROTATION_0] =
397 mRotatedViews[Surface.ROTATION_180] = findViewById(R.id.rot0);
399 mRotatedViews[Surface.ROTATION_90] = findViewById(R.id.rot90);
401 mRotatedViews[Surface.ROTATION_270] = NAVBAR_ALWAYS_AT_RIGHT
405 mCurrentView = mRotatedViews[Surface.ROTATION_0];
  /cts/tests/tests/display/src/android/display/cts/
VirtualDisplayTest.java 37 import android.view.Surface;
73 private Surface mSurface;
167 Surface.ROTATION_0, display.getRotation());
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MediaRecorderTest.java 6 import android.view.Surface;
130 Surface surface = Robolectric.newInstanceOf(Surface.class); local
131 mediaRecorder.setPreviewDisplay(surface);
133 assertThat(shadowMediaRecorder.getPreviewDisplay(), sameInstance(surface));
  /frameworks/av/camera/
ProCamera.cpp 183 const sp<Surface>& surface,
192 if (surface == 0) {
197 surface->getIGraphicBufferProducer(),
256 sp<Surface> stc = new Surface(bq);

Completed in 991 milliseconds

1 2 3 4 56 7 8 91011>>