Searched defs:mSurface (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/base/libs/hwui/renderthread/
H A DFrame.h50 EGLSurface mSurface; member in class:android::uirenderer::renderthread::Frame
/frameworks/base/libs/hwui/tests/common/
H A DTestContext.h48 LOG_ALWAYS_FATAL_IF(mSurface.get(),
67 sp<Surface> mSurface; member in class:android::uirenderer::test::TestContext
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h148 sp<IBinder> mSurface; member in class:android::CameraClient
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java38 private final Surface mSurface = new Surface(); field in class:StrictModeFlash
53 mSurface.copyFrom(ctrl);
71 c = mSurface.lockCanvas(dirty);
92 mSurface.unlockCanvasAndPost(c);
H A DEmulatorDisplayOverlay.java45 private final Surface mSurface = new Surface(); field in class:EmulatorDisplayOverlay
72 mSurface.copyFrom(ctrl);
90 c = mSurface.lockCanvas(dirty);
103 mSurface.unlockCanvasAndPost(c);
H A DWatermark.java51 private final Surface mSurface = new Surface(); field in class:Watermark
123 mSurface.copyFrom(ctrl);
147 c = mSurface.lockCanvas(dirty);
176 mSurface.unlockCanvasAndPost(c);
H A DCircularDisplayMask.java48 private final Surface mSurface = new Surface(); field in class:CircularDisplayMask
82 mSurface.copyFrom(ctrl);
103 c = mSurface.lockCanvas(dirty);
131 mSurface.unlockCanvasAndPost(c);
/frameworks/native/libs/gui/tests/
H A DMultiTextureConsumer_test.cpp42 mSurface = new Surface(producer);
43 mANW = mSurface.get();
64 sp<Surface> mSurface; member in class:android::MultiTextureConsumerTest
108 mSurface->lock(&buffer, NULL);
110 mSurface->unlockAndPost();
/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.h178 sp<Surface> mSurface; member in class:android::CameraHardwareInterfaceFlashControl
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java38 private Surface mSurface; field in class:VirtualDisplay
45 mSurface = surface;
59 return mSurface;
75 if (mSurface != surface) {
77 mSurface = surface;
110 + ", surface=" + mSurface + "}";
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCanvasTextureViewActivity.java72 private final TextureView mSurface; field in class:CanvasTextureViewActivity.RenderingThread
76 mSurface = surface;
90 final Canvas canvas = mSurface.lockCanvas(null);
95 mSurface.unlockCanvasAndPost(canvas);
98 if (x + 20.0f + speedX >= mSurface.getWidth() || x + speedX <= 0.0f) {
101 if (y + 20.0f + speedY >= mSurface.getHeight() || y + speedY <= 0.0f) {
H A DHardwareCanvasSurfaceViewActivity.java106 private final SurfaceHolder mSurface; field in class:HardwareCanvasSurfaceViewActivity.RenderingThread
111 mSurface = surface;
130 final Canvas canvas = mSurface.lockHardwareCanvas();
135 mSurface.unlockCanvasAndPost(canvas);
H A DHardwareCanvasTextureViewActivity.java74 private final Surface mSurface; field in class:HardwareCanvasTextureViewActivity.RenderingThread
79 mSurface = new Surface(mView.getSurfaceTexture());
93 final Canvas canvas = mSurface.lockHardwareCanvas();
98 mSurface.unlockCanvasAndPost(canvas);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h88 sp<Surface> mSurface; member in struct:android::SimplePlayer
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3StreamSplitter.h224 sp<Surface> mSurface; member in class:android::Camera3StreamSplitter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java50 private Surface mSurface; field in class:SurfaceTargetFilter
91 if (mSurface == null) {
237 mSurfaceId = mGlEnv.registerSurface(mSurface);
239 throw new RuntimeException("Could not register Surface: " + mSurface);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskSnapshotSurfaceTest.java56 private TaskSnapshotSurface mSurface; field in class:TaskSnapshotSurfaceTest
64 mSurface = new TaskSnapshotSurface(sWm, new Window(), new Surface(), snapshot, "Test",
80 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 100, 200));
90 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 200, 100));
100 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 100, 100));
111 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 100, 100));
121 mSurface.drawBackgroundAndBars(mockCanvas, new Rect(0, 0, 200, 200));
128 assertEquals(new Rect(0, 0, 100, 90), mSurface.calculateSnapshotCrop());
134 assertEquals(new Rect(0, 10, 100, 90), mSurface.calculateSnapshotCrop());
140 assertEquals(new Rect(10, 0, 100, 100), mSurface
[all...]
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java48 private Surface mSurface; field in class:DisplaySinkService
136 if (mSurface == surface && mSurfaceWidth == width && mSurfaceHeight == height) {
140 mSurface = surface;
151 if (mSurface != null) {
160 mCodec.configure(format, mSurface, null, 0);
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java48 private Surface mSurface; field in class:RsYuv
59 mAllocationOut.setSurface(mSurface);
61 if (mSurface != null) {
129 mSurface = new Surface(surface);
136 mSurface = new Surface(surface);
143 mSurface = null;
/frameworks/av/include/media/stagefright/
H A DCameraSource.h199 sp<IGraphicBufferProducer> mSurface; member in class:android::CameraSource
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.h70 sp<Surface> mSurface; member in struct:android::NuPlayer::Decoder
/frameworks/av/media/libstagefright/foundation/include/
H A DCameraSource.h199 sp<IGraphicBufferProducer> mSurface; member in class:android::CameraSource
/frameworks/av/media/libstagefright/include/
H A DCameraSource.h199 sp<IGraphicBufferProducer> mSurface; member in class:android::CameraSource
/frameworks/av/media/ndk/
H A DNdkImageReaderPriv.h160 sp<Surface> mSurface; member in struct:AImageReader
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java40 public Surface mSurface = new Surface(); field in class:BaseSurfaceHolder
192 c = mSurface.lockHardwareCanvas();
194 c = mSurface.lockCanvas(dirty);
226 mSurface.unlockCanvasAndPost(canvas);
231 return mSurface;

Completed in 1246 milliseconds

123