/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 311 struct ANativeWindow struct 314 ANativeWindow() in ANativeWindow() function 318 common.version = sizeof(ANativeWindow); in ANativeWindow() 355 int (*setSwapInterval)(struct ANativeWindow* window, argument 375 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window, argument 389 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window, argument 411 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window, argument 419 int (*query)(const struct ANativeWindow* window, argument 436 int (*perform)(struct ANativeWindow* window, argument 456 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window, argument [all …]
|
/frameworks/native/libs/nativewindow/include/vndk/ |
D | window.h | 43 int ANativeWindow_OemStorageSet(ANativeWindow* window, uint32_t slot, intptr_t value); 54 int ANativeWindow_OemStorageGet(ANativeWindow* window, uint32_t slot, intptr_t* value); 62 int ANativeWindow_setSwapInterval(ANativeWindow* window, int interval); 176 int ANativeWindow_query(const ANativeWindow* window, ANativeWindowQuery query, int* value); 177 int ANativeWindow_queryf(const ANativeWindow* window, ANativeWindowQuery query, float* value); 199 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd); 221 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 249 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 263 int ANativeWindow_setUsage(ANativeWindow* window, uint64_t usage); 269 int ANativeWindow_setBufferCount(ANativeWindow* window, size_t bufferCount); [all …]
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 30 static int32_t query(ANativeWindow* window, int what) { in query() 40 void ANativeWindow_acquire(ANativeWindow* window) { in ANativeWindow_acquire() 45 void ANativeWindow_release(ANativeWindow* window) { in ANativeWindow_release() 50 int32_t ANativeWindow_getWidth(ANativeWindow* window) { in ANativeWindow_getWidth() 54 int32_t ANativeWindow_getHeight(ANativeWindow* window) { in ANativeWindow_getHeight() 58 int32_t ANativeWindow_getFormat(ANativeWindow* window) { in ANativeWindow_getFormat() 62 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, in ANativeWindow_setBuffersGeometry() 78 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock() 83 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window) { in ANativeWindow_unlockAndPost() 87 int32_t ANativeWindow_setBuffersTransform(ANativeWindow* window, int32_t transform) { in ANativeWindow_setBuffersTransform() [all …]
|
/frameworks/native/libs/nativewindow/include/android/ |
D | native_window.h | 73 struct ANativeWindow; 79 typedef struct ANativeWindow ANativeWindow; typedef 111 void ANativeWindow_acquire(ANativeWindow* window); 116 void ANativeWindow_release(ANativeWindow* window); 123 int32_t ANativeWindow_getWidth(ANativeWindow* window); 130 int32_t ANativeWindow_getHeight(ANativeWindow* window); 137 int32_t ANativeWindow_getFormat(ANativeWindow* window); 156 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, 169 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, 178 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window); [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | SurfaceUtils.h | 23 struct ANativeWindow; 33 ANativeWindow *nativeWindow /* nonnull */, 35 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */); 36 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason); 37 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason);
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 106 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock() 111 static int32_t native_window_unlockAndPost(ANativeWindow* window) { in native_window_unlockAndPost() 119 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow() 127 ANativeWindow* nativeWindow = (ANativeWindow*) in android_view_TextureView_destroyNativeWindow() 131 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() 156 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() 191 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_unlockCanvasAndPost()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 115 err = static_cast<ANativeWindow*>(surface.get())->query(surface.get(), in connectSurface() 148 static status_t produceFrame(const sp<ANativeWindow>& anw, in produceFrame() 353 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() 354 sp<ANativeWindow> anw; in getNativeWindow() 371 static sp<ANativeWindow> getNativeWindowFromTexture(JNIEnv* env, jobject surfaceTexture) { in getNativeWindowFromTexture() 372 sp<ANativeWindow> anw; in getNativeWindowFromTexture() 413 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceType() 430 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceDataspace() 459 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceDimens() 485 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceUsageFlags() [all …]
|
D | android_view_Surface.cpp | 87 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow() 282 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); in nativeIsConsumerRunningBehind() 487 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); in nativeGetWidth() 495 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); in nativeGetHeight() 523 int err = ((ANativeWindow*)surface)->perform(surface, NATIVE_WINDOW_API_CONNECT, in nativeAttachAndQueueBuffer() 532 err = ((ANativeWindow*)surface)->queueBuffer(surface, bp->getNativeBuffer(), -1); in nativeAttachAndQueueBuffer() 543 return ((ANativeWindow*) nativeObject)->perform(surface, in nativeSetSharedBufferModeEnabled() 550 return ((ANativeWindow*) nativeObject)->perform(surface, in nativeSetAutoRefreshEnabled()
|
/frameworks/native/libs/gui/include/gui/ |
D | Surface.h | 50 : public ANativeObjectBase<ANativeWindow, Surface, RefBase> 180 static int hook_cancelBuffer(ANativeWindow* window, 182 static int hook_dequeueBuffer(ANativeWindow* window, 184 static int hook_perform(ANativeWindow* window, int operation, ...); 185 static int hook_query(const ANativeWindow* window, int what, int* value); 186 static int hook_queueBuffer(ANativeWindow* window, 188 static int hook_setSwapInterval(ANativeWindow* window, int interval); 190 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window, 192 static int hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, 194 static int hook_lockBuffer_DEPRECATED(ANativeWindow* window, [all …]
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaCodec.h | 41 struct ANativeWindow; 94 ANativeWindow* surface, 198 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface); 223 AMediaCodec *mData, ANativeWindow **surface); 239 ANativeWindow **surface); 252 AMediaCodec *mData, ANativeWindow *surface);
|
/frameworks/native/include/android/ |
D | native_window_jni.h | 45 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface); 54 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture); 65 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window);
|
D | native_activity.h | 179 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window); 186 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window); 194 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window); 204 void (*onNativeWindowDestroyed)(ANativeActivity* activity, ANativeWindow* window);
|
/frameworks/base/native/android/ |
D | native_window_jni.cpp | 30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { in ANativeWindow_fromSurface() 31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); in ANativeWindow_fromSurface() 38 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window) { in ANativeWindow_toSurface()
|
/frameworks/rs/support/jni/ |
D | android_rscompat_usage_io_driver.cpp | 15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in IoGetBuffer() 33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { in rscAllocationSetSurface() 40 ANativeWindow *old = drv->wndSurface; in rscAllocationSetSurface() 85 ANativeWindow *nw = drv->wndSurface; in rscAllocationDestroy() 98 ANativeWindow *nw = drv->wndSurface; in rscAllocationIoSend()
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer_queue.h | 10 typedef struct ANativeWindow ANativeWindow; typedef 77 ANativeWindow** out_window); 81 ANativeWindow** out_window);
|
/frameworks/av/camera/ndk/impl/ |
D | ACaptureRequest.h | 25 explicit ACameraOutputTarget(ANativeWindow* window) : mWindow(window) {}; in ACameraOutputTarget() 40 ANativeWindow* mWindow;
|
D | ACameraCaptureSession.h | 27 explicit ACaptureSessionOutput(ANativeWindow* window) : mWindow(window) {}; in ACaptureSessionOutput() 42 ANativeWindow* mWindow;
|
/frameworks/native/opengl/include/EGL/ |
D | eglplatform.h | 88 struct ANativeWindow; 91 typedef struct ANativeWindow* EGLNativeWindowType;
|
/frameworks/av/media/libstagefright/include/ |
D | SoftwareRenderer.h | 35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0); 52 sp<ANativeWindow> mNativeWindow;
|
/frameworks/rs/ |
D | rsGrallocConsumer.h | 43 ANativeWindow* getNativeWindow(); 61 ANativeWindow* mNativeWindow;
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 28 ANativeWindow *nativeWindow /* nonnull */, in setNativeWindowSizeFormatAndUsage() 131 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */) { in pushBlankBuffersToNativeWindow() 243 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason) { in nativeWindowConnect() 252 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason) { in nativeWindowDisconnect()
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 61 ANativeWindow::setSwapInterval = hook_setSwapInterval; in Surface() 62 ANativeWindow::dequeueBuffer = hook_dequeueBuffer; in Surface() 63 ANativeWindow::cancelBuffer = hook_cancelBuffer; in Surface() 64 ANativeWindow::queueBuffer = hook_queueBuffer; in Surface() 65 ANativeWindow::query = hook_query; in Surface() 66 ANativeWindow::perform = hook_perform; in Surface() 68 ANativeWindow::dequeueBuffer_DEPRECATED = hook_dequeueBuffer_DEPRECATED; in Surface() 69 ANativeWindow::cancelBuffer_DEPRECATED = hook_cancelBuffer_DEPRECATED; in Surface() 70 ANativeWindow::lockBuffer_DEPRECATED = hook_lockBuffer_DEPRECATED; in Surface() 71 ANativeWindow::queueBuffer_DEPRECATED = hook_queueBuffer_DEPRECATED; in Surface() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 43 ANativeWindow *getNativeWindow_() in getNativeWindow_() 85 ANativeWindow *getNativeWindow() in getNativeWindow()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_environment.cpp | 42 explicit NativeWindowHandle(ANativeWindow* window) : window_(window) { in NativeWindowHandle() 62 ANativeWindow* window_; 143 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_android_filterfw_core_GLEnvironment_nativeAddSurface() 205 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight() 296 sp<ANativeWindow> window = surfaceTC; in Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceFromMediaRecorder()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.h | 137 ANativeWindow* getNativeWindow() { return win; } in getNativeWindow() 138 ANativeWindow* getNativeWindow() const { return win; } in getNativeWindow() 146 ANativeWindow* win;
|