/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 324 struct ANativeWindow struct 327 ANativeWindow() in ANativeWindow() argument 331 common.version = sizeof(ANativeWindow); in ANativeWindow() 368 int (*setSwapInterval)(struct ANativeWindow* window, argument 388 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window, argument 402 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window, argument 424 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window, argument 432 int (*query)(const struct ANativeWindow* window, argument 449 int (*perform)(struct ANativeWindow* window, argument 469 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window, argument [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/ |
D | MockNativeWindow.cpp | 23 int dispatch_setSwapInterval(struct ANativeWindow* window, int interval) { in dispatch_setSwapInterval() 27 int dispatch_dequeueBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_dequeueBuffer_DEPRECATED() 32 int dispatch_lockBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_lockBuffer_DEPRECATED() 37 int dispatch_queueBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_queueBuffer_DEPRECATED() 42 int dispatch_query(const struct ANativeWindow* window, int what, int* value) { in dispatch_query() 46 int dispatch_perform(struct ANativeWindow* window, int operation, ...) { in dispatch_perform() 51 int dispatch_cancelBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_cancelBuffer_DEPRECATED() 56 int dispatch_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in dispatch_dequeueBuffer() 61 int dispatch_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_queueBuffer() 66 int dispatch_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_cancelBuffer() [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/services/surfaceflinger/CompositionEngine/mock/ |
D | NativeWindow.cpp | 23 static int forwardSetSwapInterval(ANativeWindow* window, int interval) { in forwardSetSwapInterval() 27 static int forwardDequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in forwardDequeueBuffer() 31 static int forwardCancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardCancelBuffer() 35 static int forwardQueueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardQueueBuffer() 39 static int forwardQuery(const ANativeWindow* window, int what, int* value) { in forwardQuery() 43 static int forwardPerform(ANativeWindow* window, int operation, ...) { in forwardPerform() 89 static int forwardDequeueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer** buffer) { in forwardDequeueBufferDeprecated() 94 static int forwardCancelBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardCancelBufferDeprecated() 98 static int forwardLockBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardLockBufferDeprecated() 102 static int forwardQueueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardQueueBufferDeprecated() [all …]
|
/frameworks/native/libs/nativewindow/ |
D | ANativeWindow.cpp | 30 static int32_t query(ANativeWindow* window, int what) { in query() 36 static bool isDataSpaceValid(ANativeWindow* window, int32_t dataSpace) { in isDataSpaceValid() 61 void ANativeWindow_acquire(ANativeWindow* window) { in ANativeWindow_acquire() 66 void ANativeWindow_release(ANativeWindow* window) { in ANativeWindow_release() 71 int32_t ANativeWindow_getWidth(ANativeWindow* window) { in ANativeWindow_getWidth() 75 int32_t ANativeWindow_getHeight(ANativeWindow* window) { in ANativeWindow_getHeight() 79 int32_t ANativeWindow_getFormat(ANativeWindow* window) { in ANativeWindow_getFormat() 83 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, in ANativeWindow_setBuffersGeometry() 99 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock() 104 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window) { in ANativeWindow_unlockAndPost() [all …]
|
/frameworks/native/libs/nativewindow/include/android/ |
D | native_window.h | 80 struct ANativeWindow; 86 typedef struct ANativeWindow ANativeWindow; typedef 118 void ANativeWindow_acquire(ANativeWindow* window); 123 void ANativeWindow_release(ANativeWindow* window); 130 int32_t ANativeWindow_getWidth(ANativeWindow* window); 137 int32_t ANativeWindow_getHeight(ANativeWindow* window); 144 int32_t ANativeWindow_getFormat(ANativeWindow* window); 163 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, 176 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, 185 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window); [all …]
|
/frameworks/base/libs/hwui/renderthread/ |
D | ReliableSurface.h | 27 class ReliableSurface : public ANativeObjectBase<ANativeWindow, ReliableSurface, RefBase> { 69 static Surface* getWrapped(const ANativeWindow*); 72 static int hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 73 static int hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, 75 static int hook_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 77 static int hook_perform(ANativeWindow* window, int operation, ...); 78 static int hook_query(const ANativeWindow* window, int what, int* value); 79 static int hook_setSwapInterval(ANativeWindow* window, int interval); 81 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer); 82 static int hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer); [all …]
|
D | ReliableSurface.cpp | 51 ANativeWindow::setSwapInterval = hook_setSwapInterval; in ReliableSurface() 52 ANativeWindow::dequeueBuffer = hook_dequeueBuffer; in ReliableSurface() 53 ANativeWindow::cancelBuffer = hook_cancelBuffer; in ReliableSurface() 54 ANativeWindow::queueBuffer = hook_queueBuffer; in ReliableSurface() 55 ANativeWindow::query = hook_query; in ReliableSurface() 56 ANativeWindow::perform = hook_perform; in ReliableSurface() 58 ANativeWindow::dequeueBuffer_DEPRECATED = hook_dequeueBuffer_DEPRECATED; in ReliableSurface() 59 ANativeWindow::cancelBuffer_DEPRECATED = hook_cancelBuffer_DEPRECATED; in ReliableSurface() 60 ANativeWindow::lockBuffer_DEPRECATED = hook_lockBuffer_DEPRECATED; in ReliableSurface() 61 ANativeWindow::queueBuffer_DEPRECATED = hook_queueBuffer_DEPRECATED; in ReliableSurface() [all …]
|
D | VulkanSurface.h | 37 static VulkanSurface* Create(ANativeWindow* window, ColorMode colorMode, SkColorType colorType, 104 VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, SkISize minWindowSize, 106 static bool UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo); 114 sp<ANativeWindow> mNativeWindow;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | SurfaceUtils.h | 24 struct ANativeWindow; 37 ANativeWindow *nativeWindow /* nonnull */, 40 ANativeWindow *nativeWindow /* nonnull */, HDRStaticInfo *info /* nonnull */); 41 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */); 42 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason); 43 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason);
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 105 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock() 110 static int32_t native_window_unlockAndPost(ANativeWindow* window) { in native_window_unlockAndPost() 118 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow() 126 ANativeWindow* nativeWindow = (ANativeWindow*) in android_view_TextureView_destroyNativeWindow() 130 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() 155 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() 190 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_unlockCanvasAndPost()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 132 err = static_cast<ANativeWindow*>(surface.get())->query(surface.get(), in connectSurface() 167 static status_t produceFrame(const sp<ANativeWindow>& anw, in produceFrame() 379 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { in getNativeWindow() 380 sp<ANativeWindow> anw; in getNativeWindow() 397 static sp<ANativeWindow> getNativeWindowFromTexture(JNIEnv* env, jobject surfaceTexture) { in getNativeWindowFromTexture() 398 sp<ANativeWindow> anw; in getNativeWindowFromTexture() 439 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceType() 457 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceDataspace() 487 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceDimens() 515 sp<ANativeWindow> anw; in LegacyCameraDevice_nativeDetectSurfaceUsageFlags() [all …]
|
D | android_view_Surface.cpp | 105 sp<ANativeWindow> android_view_Surface_getNativeWindow(JNIEnv* env, jobject surfaceObj) { in android_view_Surface_getNativeWindow() 204 ANativeWindow* anw = static_cast<ANativeWindow*>(sur.get()); in nativeIsConsumerRunningBehind() 417 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); in nativeGetWidth() 425 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); in nativeGetHeight() 458 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); in nativeSetSharedBufferModeEnabled() 465 ANativeWindow* anw = static_cast<ANativeWindow*>(surface); in nativeSetAutoRefreshEnabled()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaCodec.h | 48 struct ANativeWindow; 49 typedef struct ANativeWindow ANativeWindow; typedef 165 ANativeWindow* surface, 299 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface) __INTRODUCED_IN(2… 330 AMediaCodec *mData, ANativeWindow **surface) __INTRODUCED_IN(26); 348 ANativeWindow **surface) __INTRODUCED_IN(26); 363 AMediaCodec *mData, ANativeWindow *surface) __INTRODUCED_IN(26);
|
/frameworks/native/libs/gui/include/gui/ |
D | Surface.h | 68 : public ANativeObjectBase<ANativeWindow, Surface, RefBase> 198 static int hook_cancelBuffer(ANativeWindow* window, 200 static int hook_dequeueBuffer(ANativeWindow* window, 202 static int hook_perform(ANativeWindow* window, int operation, ...); 203 static int hook_query(const ANativeWindow* window, int what, int* value); 204 static int hook_queueBuffer(ANativeWindow* window, 206 static int hook_setSwapInterval(ANativeWindow* window, int interval); 208 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window, 210 static int hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, 212 static int hook_lockBuffer_DEPRECATED(ANativeWindow* window, [all …]
|
/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/native/include/android/ |
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);
|
D | native_window_jni.h | 45 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface); 57 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window) __INTRODUCED_IN(26);
|
/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/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | RenderSurfaceCreationArgs.h | 25 struct ANativeWindow; 44 sp<ANativeWindow> nativeWindow; 75 RenderSurfaceCreationArgsBuilder& setNativeWindow(sp<ANativeWindow> nativeWindow) { in setNativeWindow()
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
D | dvr_buffer_queue.h | 10 typedef struct ANativeWindow ANativeWindow; typedef 77 ANativeWindow** out_window);
|
/frameworks/native/services/surfaceflinger/ |
D | NativeWindowSurface.h | 23 struct ANativeWindow; 38 virtual sp<ANativeWindow> getNativeWindow() const = 0;
|
/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 31 ANativeWindow *nativeWindow /* nonnull */, in setNativeWindowSizeFormatAndUsage() 134 void setNativeWindowHdrMetadata(ANativeWindow *nativeWindow, HDRStaticInfo *info) { in setNativeWindowHdrMetadata() 168 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */) { in pushBlankBuffersToNativeWindow() 280 status_t nativeWindowConnect(ANativeWindow *surface, const char *reason) { in nativeWindowConnect() 289 status_t nativeWindowDisconnect(ANativeWindow *surface, const char *reason) { in nativeWindowDisconnect()
|
/frameworks/rs/ |
D | rsGrallocConsumer.h | 43 ANativeWindow* getNativeWindow(); 61 ANativeWindow* mNativeWindow;
|
/frameworks/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 43 ANativeWindow *getNativeWindow_() in getNativeWindow_() 85 ANativeWindow *getNativeWindow() in getNativeWindow()
|