Lines Matching refs:window

167      * to the window compositor.  The query sets the returned 'value' argument
168 * to 1 if the ANativeWindow DOES send queued buffers directly to the window
169 * compositor and 0 if the buffers do not go directly to the window
192 * dimensions of the window buffers irrespective of the
193 * NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS call and match the native window
288 * example, if the window is double-buffered, the age of any given buffer in
372 /* the window content is not updated (frozen) until a buffer of
373 * the window size is received (enqueued)
376 /* the buffer is scaled in both dimensions to match the window size */
379 * of the buffer matches the window size (cropping in the process)
382 /* the window is clipped to the size of the buffer's crop rectangle; pixels
398 * by the native window when queueBuffer is called. This is equal to INT64_MIN,
447 int (*setSwapInterval)(struct ANativeWindow* window,
455 * The window holds a reference to the buffer between dequeueBuffer and
467 int (*dequeueBuffer_DEPRECATED)(struct ANativeWindow* window,
481 int (*lockBuffer_DEPRECATED)(struct ANativeWindow* window,
488 * The window holds a reference to the buffer between dequeueBuffer and
503 int (*queueBuffer_DEPRECATED)(struct ANativeWindow* window,
507 * hook used to retrieve information about the native window.
511 int (*query)(const struct ANativeWindow* window,
528 int (*perform)(struct ANativeWindow* window,
537 * The window holds a reference to the buffer between dequeueBuffer and
548 int (*cancelBuffer_DEPRECATED)(struct ANativeWindow* window,
555 * The window holds a reference to the buffer between dequeueBuffer and
570 int (*dequeueBuffer)(struct ANativeWindow* window,
577 * The window holds a reference to the buffer between dequeueBuffer and
592 int (*queueBuffer)(struct ANativeWindow* window,
601 * The window holds a reference to the buffer between dequeueBuffer and
620 int (*cancelBuffer)(struct ANativeWindow* window,
642 struct ANativeWindow* window, int usage)
644 return window->perform(window, NATIVE_WINDOW_SET_USAGE, 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) {
677 * buffer's bound or if the window is invalid.
680 struct ANativeWindow* window,
683 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop);
698 * buffer's bound or if the window is invalid.
701 struct ANativeWindow* window,
704 return window->perform(window, NATIVE_WINDOW_SET_POST_TRANSFORM_CROP, crop);
715 struct ANativeWindow* window,
719 struct ANativeWindow* window,
722 return native_window_set_post_transform_crop(window, active_rect);
727 * Sets the number of buffers associated with this native window.
730 struct ANativeWindow* window,
733 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount);
746 struct ANativeWindow* window,
750 struct ANativeWindow* window,
753 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY,
761 * native-window size. They will be scaled according to the scaling mode
762 * (see native_window_set_scaling_mode) upon window composition.
765 * following this call will be sized to match the window's size.
767 * Calling this function will reset the window crop to a NULL value, which
771 struct ANativeWindow* window,
774 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS,
781 * Sets the user buffer size for the window, which overrides the
782 * window's size. All buffers dequeued after this call will have the
785 * fixed-size, independent from the native-window size. They will be
787 * native_window_set_scaling_mode) upon window composition.
792 * Calling this function will reset the window crop to a NULL value, which
796 struct ANativeWindow* window,
799 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS,
810 struct ANativeWindow* window,
813 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format);
829 struct ANativeWindow* window,
832 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_DATASPACE,
842 struct ANativeWindow* window,
845 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_TRANSFORM,
859 struct ANativeWindow* window,
862 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_STICKY_TRANSFORM,
877 struct ANativeWindow* window,
880 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_TIMESTAMP,
890 struct ANativeWindow* window,
893 return window->perform(window, NATIVE_WINDOW_SET_SCALING_MODE,
899 * connects an API to this window. only one API can be connected at a time.
900 * Returns -EINVAL if for some reason the window cannot be connected, which
904 struct ANativeWindow* window, int api)
906 return window->perform(window, NATIVE_WINDOW_API_CONNECT, api);
911 * disconnect the API from this window.
912 * An error is returned if for instance the window wasn't connected in the
916 struct ANativeWindow* window, int api)
918 return window->perform(window, NATIVE_WINDOW_API_DISCONNECT, api);
934 * Attach a sideband buffer stream to a native window.
937 struct ANativeWindow* window,
940 return window->perform(window, NATIVE_WINDOW_SET_SIDEBAND_STREAM,
961 struct ANativeWindow* window,
964 return window->perform(window, NATIVE_WINDOW_SET_SURFACE_DAMAGE,
973 struct ANativeWindow* window,
976 return window->perform(window, NATIVE_WINDOW_SET_SHARED_BUFFER_MODE,
985 struct ANativeWindow* window,
988 return window->perform(window, NATIVE_WINDOW_SET_AUTO_REFRESH, autoRefresh);