mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-03 22:53:55 +00:00
poppy: define VbExDisplayGetDimension()
callback to get rows/cols of display BUG=b:35585623 BRANCH=None TEST=make sure code compiles Change-Id: I276975b2f0eecceb66a30ceaa449ab76a440026d Signed-off-by: Shelley Chen <shchen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/447837 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
@@ -776,6 +776,11 @@ VbError_t VbExDisplayBacklight(uint8_t enable);
|
|||||||
*/
|
*/
|
||||||
VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height);
|
VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the logical dimension to display.
|
||||||
|
*/
|
||||||
|
VbError_t VbExDisplayGetDimension(uint32_t *width, uint32_t *height);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display a predefined screen; see VB_SCREEN_* for valid screens.
|
* Display a predefined screen; see VB_SCREEN_* for valid screens.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -41,6 +41,11 @@ VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height)
|
|||||||
return VBERROR_SUCCESS;
|
return VBERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VbError_t VbExDisplayGetDimension(uint32_t *width, uint32_t *height)
|
||||||
|
{
|
||||||
|
return VBERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
VbError_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale)
|
VbError_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale)
|
||||||
{
|
{
|
||||||
return VBERROR_SUCCESS;
|
return VBERROR_SUCCESS;
|
||||||
|
|||||||
Reference in New Issue
Block a user