Home
last modified time | relevance | path

Searched defs:surface (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java57 public static boolean isSurfaceForPreview(Surface surface) { in isSurfaceForPreview()
78 public static boolean isSurfaceForHwVideoEncoder(Surface surface) { in isSurfaceForHwVideoEncoder()
98 public static long getSurfaceId(Surface surface) { in getSurfaceId()
113 public static long getSurfaceUsage(Surface surface) { in getSurfaceUsage()
130 public static Size getSurfaceSize(Surface surface) { in getSurfaceSize()
148 public static int getSurfaceFormat(Surface surface) { in getSurfaceFormat()
171 public static int detectSurfaceFormat(Surface surface) { in detectSurfaceFormat()
187 public static int getSurfaceDataspace(Surface surface) { in getSurfaceDataspace()
220 private static void checkHighSpeedSurfaceFormat(Surface surface) { in checkHighSpeedSurfaceFormat()
296 private static native int nativeDetectSurfaceType(Surface surface); in nativeDetectSurfaceType()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_utils_SurfaceUtils.cpp53 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow()
71 static sp<Surface> getSurface(JNIEnv* env, jobject surface) { in getSurface()
92 static jint SurfaceUtils_nativeDetectSurfaceType(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeDetectSurfaceType()
110 static jint SurfaceUtils_nativeDetectSurfaceDataspace(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeDetectSurfaceDataspace()
128 static jint SurfaceUtils_nativeDetectSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, in SurfaceUtils_nativeDetectSurfaceDimens()
166 jobject surface) { in SurfaceUtils_nativeDetectSurfaceUsageFlags()
186 static jlong SurfaceUtils_nativeGetSurfaceId(JNIEnv* env, jobject thiz, jobject surface) { in SurfaceUtils_nativeGetSurfaceId()
Dandroid_view_Surface.cpp114 jobject android_view_Surface_createFromSurface(JNIEnv* env, const sp<Surface>& surface) { in android_view_Surface_createFromSurface()
135 sp<Surface> surface(new Surface(bufferProducer, true)); in android_view_Surface_createFromIGraphicBufferProducer() local
156 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture() local
190 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeLockCanvas() local
245 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeUnlockCanvasAndPost() local
263 sp<Surface> surface(reinterpret_cast<Surface *>(nativeObject)); in nativeAllocateBuffers() local
276 sp<Surface> surface(ctrl->createSurface()); in nativeCreateFromSurfaceControl() local
296 sp<Surface> surface(ctrl->getSurface()); in nativeGetFromSurfaceControl() local
316 sp<Surface> surface = queue->getSurface(true /* includeSurfaceControlHandle */); in nativeGetFromBlastBufferQueue() local
385 Surface* surface = reinterpret_cast<Surface*>(nativeObject); in nativeGetWidth() local
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
99 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
106 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
DCanvasTextureViewActivity.java50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
61 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
67 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
75 public RenderingThread(TextureView surface) { in RenderingThread()
DSingleFrameTextureViewTestActivity.java78 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
201 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
206 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
213 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
DTextureViewActivity.java101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
159 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
DHardwareCanvasTextureViewActivity.java51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
62 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
68 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
DGLTextureViewActivity.java91 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
111 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
115 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
126 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
147 RenderThread(Resources resources, SurfaceTexture surface) { in RenderThread()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DGlTextureViewActivity.java49 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
71 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
75 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
86 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
/frameworks/base/rs/java/android/renderscript/
DRSTextureView.java69 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
82 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
95 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
110 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java127 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
134 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
141 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
149 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
/frameworks/base/tests/SurfaceViewBufferTests/cpp/
DSurfaceProxy.cpp41 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_setSurface() local
53 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed() local
117 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode() local
207 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetAsyncMode() local
214 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetDequeueTimeout() local
221 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetMaxDequeuedBufferCount() local
228 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetBufferCount() local
236 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetSharedBufferMode() local
244 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_NativeWindowSetAutoRefresh() local
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp394 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
409 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
436 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
537 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
619 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
627 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
639 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
650 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
672 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
694 std::unique_ptr<InputSurface> surface = makeSurface(100, 100); in TEST_F() local
[all …]
/frameworks/base/native/android/
Dnative_window_jni.cpp30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { in ANativeWindow_fromSurface()
42 sp<Surface> surface = static_cast<Surface*>(window); in ANativeWindow_toSurface() local
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp66 for (const auto& surface : surfaces) { in DumpState() local
91 for (const auto& surface : surfaces) { in DumpState() local
119 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { in OnChannelClose() local
271 auto surface = surface_status.take(); in OnCreateSurface() local
338 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel()); in HandleSurfaceMessage() local
364 [&](const std::shared_ptr<DisplaySurface>& surface) mutable { in GetVisibleDisplaySurfaces()
428 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning()
/frameworks/native/libs/vr/libdvr/
Ddvr_surface.cpp87 std::unique_ptr<Surface> surface; member
117 void dvrSurfaceDestroy(DvrSurface* surface) { delete surface; } in dvrSurfaceDestroy()
119 int dvrSurfaceGetId(DvrSurface* surface) { in dvrSurfaceGetId()
123 int dvrSurfaceSetAttributes(DvrSurface* surface, in dvrSurfaceSetAttributes()
153 int dvrSurfaceCreateWriteBufferQueue(DvrSurface* surface, uint32_t width, in dvrSurfaceCreateWriteBufferQueue()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java66 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, in onSurfaceTextureAvailable()
73 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, in onSurfaceTextureSizeChanged()
79 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
87 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
192 public boolean createSurface(SurfaceTexture surface) { in createSurface()
343 public void setSurface(SurfaceTexture surface) { in setSurface()
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
DSampleRSActivity.java52 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
68 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java170 public OutputConfiguration(@NonNull Surface surface) { in OutputConfiguration()
229 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface) { in OutputConfiguration()
279 public OutputConfiguration(@NonNull Surface surface, int rotation) { in OutputConfiguration()
305 public OutputConfiguration(int surfaceGroupId, @NonNull Surface surface, int rotation) { in OutputConfiguration()
636 public void addSurface(@NonNull Surface surface) { in addSurface()
685 public void removeSurface(@NonNull Surface surface) { in removeSurface()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DSurfaceAndTextureViews.java173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { in onSurfaceTextureAvailable()
178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { in onSurfaceTextureSizeChanged()
186 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { in onSurfaceTextureDestroyed()
191 public void onSurfaceTextureUpdated(SurfaceTexture surface) { in onSurfaceTextureUpdated()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLEnvironment.java106 public int registerSurface(Surface surface) { in registerSurface()
115 Surface surface = new Surface(surfaceTexture); in registerSurfaceTexture() local
179 private native int nativeAddSurface(Surface surface); in nativeAddSurface()
181 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); in nativeAddSurfaceWidthHeight()
/frameworks/native/cmds/flatland/
DGLHelper.cpp133 bool GLHelper::makeCurrent(EGLSurface surface) { in makeCurrent()
151 sp<GLConsumer>* glConsumer, EGLSurface* surface, in createSurfaceTexture()
167 void GLHelper::destroySurface(EGLSurface* surface) { in destroySurface()
177 bool GLHelper::swapBuffers(EGLSurface surface) { in swapBuffers()
201 sp<GLConsumer>* glConsumer, EGLSurface* surface) { in createNamedSurfaceTexture()
245 sp<SurfaceControl>* surfaceControl, EGLSurface* surface) { in createWindowSurface()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java87 SurfaceControl surface = surfaceParams.surface; in applyParams() local
164 final SurfaceControl surface; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder
178 public Builder(SurfaceControl surface) { in Builder()
272 private SurfaceParams(SurfaceControl surface, int params, float alpha, Matrix matrix, in SurfaceParams()
290 public final SurfaceControl surface; field in SyncRtSurfaceTransactionApplier.SurfaceParams
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp56 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
78 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
102 auto surface = SkSurface::MakeRasterN32Premul(2, 2); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
171 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
293 sk_sp<DeferLayer<DeferTestCanvas>> surface(new DeferLayer<DeferTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
325 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
362 sk_sp<DeferLayer<ClippedTestCanvas>> surface(new DeferLayer<ClippedTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
392 sk_sp<DeferLayer<ClipReplaceTestCanvas>> surface(new DeferLayer<ClipReplaceTestCanvas>()); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
400 auto surface = context.surface(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local
428 auto surface = SkSurface::MakeRasterN32Premul(1, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() local

12345678910>>...13