Lines Matching refs:ANativeWindow
65 // support either the prior ANativeWindow interface, which did not pass libsync
67 // when the ANativeWindow interface does include libsync support.
149 * Users of the set_buffer_count ANativeWindow method should query this
166 /* Check whether queueBuffer operations on the ANativeWindow send the buffer
168 * to 1 if the ANativeWindow DOES send queued buffers directly to the window
173 * sent to the ANativeWindow. Note, however, that a result of 1 does NOT
181 /* Get the concrete type of a ANativeWindow. See below for the list of
191 * Default width and height of ANativeWindow buffers, these are the
301 * HAL implementation code with access to an ANativeWindow should not use these,
303 * ANativeWindow.
403 struct ANativeWindow
406 ANativeWindow()
410 common.version = sizeof(ANativeWindow);
414 /* Implement the methods that sp<ANativeWindow> expects so that it
415 can be used to automatically refcount ANativeWindow's. */
447 int (*setSwapInterval)(struct ANativeWindow* window,
467 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window,
481 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window,
503 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window,
511 int (*query)(const struct ANativeWindow* window,
517 * ANativeWindow while keeping backward binary compatibility.
528 int (*perform)(struct ANativeWindow* window,
548 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window,
570 int (*dequeueBuffer)(struct ANativeWindow* window,
587 * queueBuffer, and the ANativeWindow implementation is responsible for
592 int (*queueBuffer)(struct ANativeWindow* window,
615 * to cancelBuffer, and the ANativeWindow implementation is responsible for
620 int (*cancelBuffer)(struct ANativeWindow* window,
624 /* Backwards compatibility: use ANativeWindow (struct ANativeWindow in C).
627 typedef struct ANativeWindow ANativeWindow;
628 typedef struct ANativeWindow android_native_window_t __deprecated;
642 struct ANativeWindow* window, int usage)
649 struct ANativeWindow* window __UNUSED, int api __UNUSED) __deprecated;
652 struct ANativeWindow* window __UNUSED, int api __UNUSED) {
658 struct ANativeWindow* window __UNUSED, int api __UNUSED) __deprecated;
661 struct ANativeWindow* window __UNUSED, int api __UNUSED) {
680 struct ANativeWindow* window,
701 struct ANativeWindow* window,
715 struct ANativeWindow* window,
719 struct ANativeWindow* window,
730 struct ANativeWindow* window,
746 struct ANativeWindow* window,
750 struct ANativeWindow* window,
771 struct ANativeWindow* window,
796 struct ANativeWindow* window,
810 struct ANativeWindow* window,
829 struct ANativeWindow* window,
842 struct ANativeWindow* window,
859 struct ANativeWindow* window,
877 struct ANativeWindow* window,
890 struct ANativeWindow* window,
904 struct ANativeWindow* window, int api)
916 struct ANativeWindow* window, int api)
927 static inline int native_window_dequeue_buffer_and_wait(ANativeWindow *anw,
937 struct ANativeWindow* window,
961 struct ANativeWindow* window,
973 struct ANativeWindow* window,
985 struct ANativeWindow* window,