Home
last modified time | relevance | path

Searched refs:getNativeWindow (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_camera2_utils_SurfaceUtils.cpp53 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() function
95 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceType()
113 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceDataspace()
143 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceDimens()
170 if ((anw = getNativeWindow(env, surface)) == NULL) { in SurfaceUtils_nativeDetectSurfaceUsageFlags()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp214 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
217 setBufferCount(mNativeSurface->getNativeWindow()); in setupPipelineSurface()
229 native_window_enable_frame_timestamps(mNativeSurface->getNativeWindow(), true); in setupPipelineSurface()
260 ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); in allocateBuffers()
524 native_window_set_frame_timeline_info(mNativeSurface->getNativeWindow(), vsyncId, in draw()
564 ANativeWindow_getLastDequeueStartTime(mNativeSurface->getNativeWindow()); in draw()
571 ANativeWindow_getLastDequeueDuration(mNativeSurface->getNativeWindow()); in draw()
574 ANativeWindow_getLastQueueDuration(mNativeSurface->getNativeWindow()); in draw()
672 mNativeSurface->getNativeWindow(), frameNumber, nullptr /*outRequestedPresentTime*/, in reportMetricsWithPresentTime()
730 ANativeWindow* anw = mNativeSurface->getNativeWindow(); in getNextFrameSize()
[all …]
DReliableSurface.h44 ANativeWindow* getNativeWindow() { return mWindow; } in getNativeWindow() function
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.h7 extern ANativeWindow *getNativeWindow();
Dnativewindow.cpp85 ANativeWindow *getNativeWindow() in getNativeWindow() function
Dxaplay.c426 nativeWindow = getNativeWindow(); in main()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp399 const native_handle_t* getNativeWindow() { return mImgReaderAnw; } in getNativeWindow() function in __anon511359ea0111::ImageReaderTestCase
587 cameraHelper.initCamera(testCase.getNativeWindow(), {}/*physicalImageReaders*/, in takePictures()
755 physicalImgReaderInfo.push_back({physicalCameraIds[0], testCases[1]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
756 physicalImgReaderInfo.push_back({physicalCameraIds[1], testCases[2]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
759 cameraHelper.initCamera(testCases[0]->getNativeWindow(), physicalImgReaderInfo, in testLogicalCameraPhysicalStream()
789 auto it = configuredWindowsp->find(testCase->getNativeWindow()); in testLogicalCameraPhysicalStream()
793 ALOGI("Testing window %p", testCase->getNativeWindow()); in testLogicalCameraPhysicalStream()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockNativeWindowSurface.h32 MOCK_CONST_METHOD0(getNativeWindow, sp<ANativeWindow>());
/frameworks/native/services/surfaceflinger/
DNativeWindowSurface.h38 virtual sp<ANativeWindow> getNativeWindow() const = 0;
DNativeWindowSurface.cpp37 sp<ANativeWindow> getNativeWindow() const override { return mSurface; } in createNativeWindowSurface() function in android::surfaceflinger::impl::createNativeWindowSurface::NativeWindowSurface
DSurfaceFlinger.cpp2688 auto nativeWindow = nativeWindowSurface->getNativeWindow(); in setupNewDisplayDeviceInternal()
/frameworks/native/libs/bufferqueueconverter/include/bufferqueueconverter/
DBufferQueueConverter.h54 ANativeWindow* getNativeWindow(SurfaceHolder* surfaceHolder);
/frameworks/rs/
DrsGrallocConsumer.h43 ANativeWindow* getNativeWindow();
DrsGrallocConsumer.cpp86 ANativeWindow* GrallocConsumer::getNativeWindow() { in getNativeWindow() function in android::renderscript::GrallocConsumer
DrsAllocation.cpp601 return mGrallocConsumer->getNativeWindow(); in getSurface()
/frameworks/native/libs/bufferqueueconverter/
DBufferQueueConverter.cpp65 ANativeWindow* getNativeWindow(SurfaceHolder* handle) { in getNativeWindow() function
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp632 native_window_set_buffers_smpte2086_metadata(s->getNativeWindow(), &smpteMetadata); in sendSurfaceMetadata()
642 native_window_set_buffers_cta861_3_metadata(s->getNativeWindow(), &cta8613Metadata); in sendSurfaceMetadata()
1339 native_window_api_disconnect(s->getNativeWindow(), NATIVE_WINDOW_API_EGL); in eglSwapBuffersWithDamageKHRImpl()
1363 native_window_set_surface_damage(s->getNativeWindow(), androidRects.data(), in eglSwapBuffersWithDamageKHRImpl()
1447 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1450 int err = native_window_set_auto_refresh(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
1455 if (!s->getNativeWindow()) { in eglSurfaceAttribImpl()
1460 int err = native_window_enable_frame_timestamps(s->getNativeWindow(), value != 0); in eglSurfaceAttribImpl()
2107 native_window_set_buffers_timestamp(s->getNativeWindow(), time); in eglPresentationTimeANDROIDImpl()
2180 if (!s->getNativeWindow()) { in eglGetNextFrameIdANDROIDImpl()
[all …]
Degl_object.h132 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() function
133 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() function
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTestHelpers.h309 EXPECT_CALL(*test->mNativeWindowSurface, getNativeWindow())