Searched refs:ANativeWindow (Results 1 - 25 of 128) sorted by relevance

123456

/frameworks/av/include/media/stagefright/
H A DSurfaceUtils.h23 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);
H A DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
52 sp<ANativeWindow> mNativeWindow;
/frameworks/av/media/libstagefright/foundation/include/
H A DSurfaceUtils.h23 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);
H A DSoftwareRenderer.h35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0);
52 sp<ANativeWindow> mNativeWindow;
/frameworks/av/media/libstagefright/include/
H A DSurfaceUtils.h23 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/wilhelm/tests/sandbox/
H A Dnativewindow.h7 extern ANativeWindow *getNativeWindow();
/frameworks/native/include/android/
H A Dnative_window_jni.h40 * Return the ANativeWindow associated with a Java Surface object,
42 * on the ANativeWindow that is returned; be sure to use ANativeWindow_release()
45 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
49 * Return the ANativeWindow associated with a Java SurfaceTexture object,
51 * on the ANativeWindow that is returned; be sure to use ANativeWindow_release()
54 ANativeWindow* ANativeWindow_fromSurfaceTexture(JNIEnv* env, jobject surfaceTexture);
59 * Return a Java Surface object derived from the ANativeWindow, for interacting
61 * the ANativeWindow; maintains it through general Java object's life cycle;
65 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window);
H A Dnative_activity.h179 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/native/libs/nativewindow/include/android/
H A Dnative_window.h73 struct ANativeWindow;
79 typedef struct ANativeWindow ANativeWindow; typedef in typeref:struct:ANativeWindow
108 * Acquire a reference on the given {@link ANativeWindow} object. This prevents the object
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* windo
[all...]
/frameworks/native/libs/nativewindow/include/system/
H A Dwindow.h91 /* Check whether queueBuffer operations on the ANativeWindow send the buffer
93 * to 1 if the ANativeWindow DOES send queued buffers directly to the window
98 * sent to the ANativeWindow. Note, however, that a result of 1 does NOT
106 /* Get the concrete type of a ANativeWindow. See below for the list of
116 * Default width and height of ANativeWindow buffers, these are the
178 * Returns the number of image layers that the ANativeWindow buffer
209 * HAL implementation code with access to an ANativeWindow should not use these,
211 * ANativeWindow.
328 struct ANativeWindow struct
331 ANativeWindow() function in struct:ANativeWindow
552 typedef struct ANativeWindow ANativeWindow; typedef in typeref:struct:ANativeWindow
[all...]
/frameworks/native/libs/nativewindow/include/vndk/
H A Dwindow.h117 int ANativeWindow_OemStorageSet(ANativeWindow* window, uint32_t slot, intptr_t value);
128 int ANativeWindow_OemStorageGet(ANativeWindow* window, uint32_t slot, intptr_t* value);
136 int ANativeWindow_setSwapInterval(ANativeWindow* window, int interval);
146 * Users of the set_buffer_count ANativeWindow method should query this
164 * Default width of ANativeWindow buffers, these are the
250 int ANativeWindow_query(const ANativeWindow* window, ANativeWindowQuery query, int* value);
251 int ANativeWindow_queryf(const ANativeWindow* window, ANativeWindowQuery query, float* value);
273 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
290 * queueBuffer, and the ANativeWindow implementation is responsible for
295 int ANativeWindow_queueBuffer(ANativeWindow* windo
[all...]
/frameworks/base/native/android/
H A Dnative_window_jni.cpp30 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) {
31 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface);
38 jobject ANativeWindow_toSurface(JNIEnv* env, ANativeWindow* window) {
/frameworks/native/libs/nativewindow/
H A DANativeWindow.cpp17 #define LOG_TAG "ANativeWindow"
32 static int32_t query(ANativeWindow* window, int what) {
42 void ANativeWindow_acquire(ANativeWindow* window) {
47 void ANativeWindow_release(ANativeWindow* window) {
52 int32_t ANativeWindow_getWidth(ANativeWindow* window) {
56 int32_t ANativeWindow_getHeight(ANativeWindow* window) {
60 int32_t ANativeWindow_getFormat(ANativeWindow* window) {
64 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window,
80 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
85 int32_t ANativeWindow_unlockAndPost(ANativeWindow* windo
[all...]
/frameworks/native/libs/vr/libdvr/include/dvr/
H A Ddvr_buffer_queue.h10 typedef struct ANativeWindow ANativeWindow; typedef in typeref:struct:ANativeWindow
20 // Returns ANativeWindow. Can be casted to a Java Surface using
22 // additional reference to the ANativeWindow returned, don't call
25 ANativeWindow** out_window);
/frameworks/av/camera/ndk/impl/
H A DACaptureRequest.h25 explicit ACameraOutputTarget(ANativeWindow* window) : mWindow(window) {};
40 ANativeWindow* mWindow;
H A DACameraCaptureSession.h27 explicit ACaptureSessionOutput(ANativeWindow* window) : mWindow(window) {};
42 ANativeWindow* mWindow;
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h40 struct ANativeWindow;
93 ANativeWindow* surface,
169 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface);
194 AMediaCodec *mData, ANativeWindow **surface);
210 ANativeWindow **surface);
223 AMediaCodec *mData, ANativeWindow *surface);
/frameworks/native/opengl/include/EGL/
H A Deglplatform.h88 struct ANativeWindow;
91 typedef struct ANativeWindow* EGLNativeWindowType;
/frameworks/rs/
H A DrsGrallocConsumer.h43 ANativeWindow* getNativeWindow();
61 ANativeWindow* mNativeWindow;
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_graphics_SurfaceTexture.h29 extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz);
/frameworks/native/libs/gui/tests/
H A DFillBuffer.h35 // using the CPU. This assumes that the ANativeWindow is already configured to
39 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw);
/frameworks/rs/support/jni/
H A Dandroid_rscompat_usage_io_driver.cpp15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) {
40 ANativeWindow *old = drv->wndSurface;
85 ANativeWindow *nw = drv->wndSurface;
98 ANativeWindow *nw = drv->wndSurface;
H A Dandroid_rscompat_usage_io.cpp14 ANativeWindow* s = NULL;
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp106 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer,
111 static int32_t native_window_unlockAndPost(ANativeWindow* window) {
119 sp<ANativeWindow> window = new Surface(producer, true);
127 ANativeWindow* nativeWindow = (ANativeWindow*)
131 sp<ANativeWindow> window(nativeWindow);
156 sp<ANativeWindow> window((ANativeWindow*) nativeWindow);
191 sp<ANativeWindow> window((ANativeWindow*) nativeWindo
[all...]
/frameworks/native/include/gui/
H A DSurface.h37 * An implementation of ANativeWindow that feeds graphics buffers into a
44 * eglSwapBuffers(), which invokes ANativeWindow callbacks defined by
50 : public ANativeObjectBase<ANativeWindow, Surface, RefBase>
178 // ANativeWindow hooks
179 static int hook_cancelBuffer(ANativeWindow* window,
181 static int hook_dequeueBuffer(ANativeWindow* window,
183 static int hook_perform(ANativeWindow* window, int operation, ...);
184 static int hook_query(const ANativeWindow* window, int what, int* value);
185 static int hook_queueBuffer(ANativeWindow* window,
187 static int hook_setSwapInterval(ANativeWindow* windo
[all...]

Completed in 485 milliseconds

123456