Lines Matching refs:is

11  * distributed under the License is distributed on an "AS IS" BASIS,
37 * precision. If the DPI for a configuration is unavailable or is
56 * is not a virtual display, this request has no effect.
73 /** The display is fully off (blanked). */
82 * The display is turned on and configured in a low power state that
83 * is suitable for presenting ambient information to the user,
89 * The display is configured as in DOZE but may stop applying display
90 * updates from the client. This is effectively a hint to the device
97 * doze functionality. In this case, the device is free to take over
103 /** The display is fully on. */
156 * setLayerColor. If this functionality is not supported on a layer
158 * the composition type of that layer is changed to CLIENT upon the
168 * asynchronously through setCursorPosition. If this functionality is
170 * must request that the composition type of that layer is changed to
186 * type to either DEVICE or CLIENT, but it is unlikely that content
241 * @param callback is the IComposerCallback object.
253 * @return count is the maximum number of virtual displays supported.
260 * format passed into this function is the default format requested by the
263 * The display must be assumed to be on from the time the first frame is
264 * presented until the display is destroyed.
266 * @param width is the width in pixels.
267 * @param height is the height in pixels.
268 * @param formatHint is the default output buffer format selected by
270 * @param outputBufferSlotCount is the number of output buffer slots to be
272 * @return error is NONE upon success. Otherwise,
273 * UNSUPPORTED when the width or height is too large for the
275 * NO_RESOURCES when the device is unable to create a new virtual
277 * @return display is the newly-created virtual display.
278 * @return format is the format of the buffer the device will produce.
294 * @param display is the virtual display to destroy.
295 * @return error is NONE upon success. Otherwise,
306 * @param display is the display on which to create the layer.
307 * @param bufferSlotCount is the number of buffer slot to be reserved.
308 * @return error is NONE upon success. Otherwise,
312 * @return layer is the handle of the new layer.
323 * @param display is the display on which the layer was created.
324 * @param layer is the layer to destroy.
325 * @return error is NONE upon success. Otherwise,
333 * Retrieves which display configuration is currently active.
335 * If no display configuration is currently active, this function must
336 * return BAD_CONFIG. It is the responsibility of the client to call
340 * @param display is the display to which the active config is queried.
341 * @return error is NONE upon success. Otherwise,
343 * BAD_CONFIG when no configuration is currently active.
344 * @return config is the currently active display configuration.
355 * PixelFormat::RGBA_8888, and Dataspace::UNKNOWN. It is not required to
358 * @param display is the display to query.
359 * @param width is the client target width in pixels.
360 * @param height is the client target height in pixels.
361 * @param format is the client target format.
362 * @param dataspace is the client target dataspace, as described in
364 * @return error is NONE upon success. Otherwise,
366 * UNSUPPORTED when the given configuration is not supported.
381 * @param display is the display to query.
382 * @return error is NONE upon success. Otherwise,
384 * @return modes is an array of color modes.
395 * @param display is the display to query.
396 * @param config is the display configuration for which to return
398 * @return error is NONE upon success. Otherwise,
402 * BAD_PARAMETER when attribute is unrecognized.
404 * @return value is the value of the attribute.
417 * @param display is the display to query.
418 * @return error is NONE upon success. Otherwise,
420 * @return configs is an array of configuration handles.
430 * @return error is NONE upon success. Otherwise,
432 * @return name is the name of the display.
438 * Returns whether the given display is a physical or virtual display.
440 * @param display is the display to query.
441 * @return error is NONE upon success. Otherwise,
443 * @return type is the type of the display.
455 * @param display is the display to query.
456 * @return error is NONE upon success. Otherwise,
458 * @return support is true only when the display supports doze modes.
469 * @param display is the display to query.
470 * @return error is NONE upon success. Otherwise,
472 * @return types is an array of HDR types, may have 0 elements if the
473 * display is not HDR-capable.
474 * @return maxLuminance is the desired content maximum luminance for this
478 * @return minLuminance is the desired content minimum luminance for this
492 * @param display is the display to which the slots are reserved.
493 * @param clientTargetSlotCount is the slot count for client targets.
494 * @return error is NONE upon success. Otherwise,
506 * this function is called again or the display is disconnected.
508 * @param display is the display to which the active config is set.
509 * @param config is the new display configuration.
510 * @return error is NONE upon success. Otherwise,
512 * BAD_CONFIG when the configuration handle passed in is not valid
527 * @param display is the display to which the color mode is set.
528 * @param mode is the mode to set to.
529 * @return error is NONE upon success. Otherwise,
531 * BAD_PARAMETER when mode is not a valid color mode.
532 * UNSUPPORTED when mode is not supported on this display.
539 * complete when this function returns. It is valid to call this function
546 * @param display is the display to which the power mode is set.
547 * @param mode is the new power mode.
548 * @return error is NONE upon success. Otherwise,
551 * UNSUPPORTED when mode is not supported on this display.
562 * @param display is the display to which the vsync mode is set.
564 * @return error is NONE upon success. Otherwise,
574 * @param descriptor is the descriptor of the input command message queue.
575 * @return error is NONE upon success. Otherwise,
587 * @return error is NONE upon success. Otherwise,
589 * @return descriptor is the descriptor of the output command queue.
601 * @param inLength is the length of input commands.
602 * @param inHandles is an array of handles referenced by the input
604 * @return error is NONE upon success. Otherwise,
605 * BAD_PARAMETER when inLength is not equal to the length of
611 * @param outLength is the length of output commands.
612 * @param outHandles is an array of handles referenced by the output
630 * @param display is the newly selected display.
639 * @param layer is the newly selected layer.
648 * @param location is the offset of the command in the input command
650 * @param error is the error generated by the command.
664 * @param layers is an array of layer handles.
665 * @param types is an array of composition types, each corresponding to
682 * @param displayRequestMask is the display requests for the current
684 * @param layers is an array of layers which all have at least one
686 * @param layerRequestMasks is the requests corresponding to each element
699 * buffer have completed and it is safe to read from it.
701 * @param presentFenceIndex is an index into outHandles array.
712 * A release fence is a file descriptor referring to a sync fence object
714 * buffer presented in the prior frame. This indicates that it is safe to
715 * start writing to the buffer again. If a given layer's fence is not
717 * presented on the previous frame is ready to be written.
722 * @param layers is an array of layer handles.
734 * If hint is not ColorTransform::ARBITRARY, then the device may use the
738 * If the device is not capable of either using the hint or the matrix to
742 * If IComposer::Capability::SKIP_CLIENT_COLOR_TRANSFORM is present, then
746 * The matrix provided is an affine color transformation of the following
765 * @param matrix is a 4x4 transform matrix (16 floats) as described above.
766 * @param hint is a hint value which may be used instead of the given
767 * matrix unless it is ColorTransform::ARBITRARY.
786 * invalid display handle is also provided).
789 * object, which must be signaled when it is safe to read from the client
790 * target buffer. If it is already safe to read from this buffer, an
799 * as Composition::CLIENT. If no layers are so marked, then it is not
800 * necessary to call this function. It is not necessary to call
803 * @param targetSlot is the client target buffer slot to use.
804 * @param targetIndex is an index into inHandles for the new target
806 * @param acquireFenceIndex is an index into inHandles for a sync fence
808 * @param dataspace is the dataspace of the buffer, as described in
810 * @param damage is the surface damage region.
819 * Sets the output buffer for a virtual display. That is, the buffer to
823 * object, which must be signaled when it is safe to write to the output
824 * buffer. If it is already safe to write to the output buffer, an empty
830 * @param bufferSlot is the new output buffer.
831 * @param bufferIndex is the new output buffer.
832 * @param releaseFenceIndex is a sync fence file descriptor as described
853 * is equivalent to requesting the changed types from
873 * properties as described in setLayerBuffer), then it is safe to call
890 * Once validateDisplay is called, this function must not be called again
891 * until the validate/present sequence is completed.
893 * May be called from any thread so long as it is not interleaved with the
896 * @param layer is the layer to which the position is set.
897 * @param x is the new x coordinate (in pixels from the left of the
899 * @param y is the new y coordinate (in pixels from the top of the
911 * have not changed since the previous frame, it is not necessary to call
916 * object, which must be signaled when it is safe to read from the given
917 * buffer. If it is already safe to read from the buffer, an empty handle
926 * @param layer is the layer to which the buffer is set.
927 * @param bufferSlot is the buffer slot to use.
928 * @param bufferIndex is the buffer handle to set.
929 * @param acquireFenceIndex is a sync fence file descriptor as described above.
943 * If damage is non-empty, then it may be assumed that any portion of the
945 * this frame. If damage is empty, then the whole source buffer must be
952 * origin is the top-left corner. They must not exceed the dimensions of
955 * @param layer is the layer to which the damage region is set.
956 * @param damage is the new surface damage region.
965 * @param mode is the new blend mode.
973 * is not Composition::SOLID_COLOR, this call must succeed and have no
976 * @param color is the new color.
988 * @param type is the new composition type.
1002 * @param dataspace is the new dataspace.
1012 * @param frame is the new display frame.
1026 * If the device does not support this operation on a layer which is
1030 * @param alpha is the plane alpha value to apply.
1038 * given layer is not Composition::SIDEBAND, this call must succeed and
1041 * @param streamIndex is the new sideband stream.
1052 * If the device is not capable of supporting a true float source crop
1054 * this layer to Composition::CLIENT when crop is non-integral for the
1065 * @param crop is the new source crop.
1074 * @param transform is the new transform.
1081 * Specifies the portion of the layer that is visible, including portions
1082 * under translucent areas of other layers. The region is in screen space,
1085 * @param visible is the new visible region, in screen space.
1095 * @param z is the new Z order.