Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/jni/
H A 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()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp236 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
239 setBufferCount(mNativeSurface->getNativeWindow()); in setupPipelineSurface()
250 native_window_enable_frame_timestamps(mNativeSurface->getNativeWindow(), true); in setupPipelineSurface()
251 native_window_set_scaling_mode(mNativeSurface->getNativeWindow(), in setupPipelineSurface()
284 ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); in allocateBuffers()
626 native_window_set_frame_timeline_info(mNativeSurface->getNativeWindow(), ftl); in draw()
670 ANativeWindow_getLastDequeueStartTime(mNativeSurface->getNativeWindow()); in draw()
680 ANativeWindow_getLastQueueDuration(mNativeSurface->getNativeWindow()); in draw()
879 ANativeWindow* anw = mNativeSurface->getNativeWindow(); in getNextFrameSize()
1001 mFrameNumber = ANativeWindow_getNextFrameId(mNativeSurface->getNativeWindow()); in getFrameNumber()
[all …]
H A DReliableSurface.h44 ANativeWindow* getNativeWindow() { return mWindow; } in getNativeWindow() function