Home
last modified time | relevance | path

Searched refs:deviceOrientation (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp268 ctx->deviceOrientation = 0; in initContext()
589 return !(ctx->deviceOrientation & 0x1); in isOrientationPortrait()
591 return (ctx->deviceOrientation & 0x1); in isOrientationPortrait()
668 int deviceOrientation = ctx->deviceOrientation; in getMirrorModeOrientation() local
670 deviceOrientation = (deviceOrientation + 1) % 4; in getMirrorModeOrientation()
671 if (deviceOrientation == 0) in getMirrorModeOrientation()
673 else if (deviceOrientation == 1)//90 in getMirrorModeOrientation()
675 else if (deviceOrientation == 2)//180 in getMirrorModeOrientation()
677 else if (deviceOrientation == 3)//270 in getMirrorModeOrientation()
841 if(ctx->deviceOrientation & 0x1) { in calculateDisplayViewFrame()
Dhwc_utils.h530 int deviceOrientation; member
Dhwc_fbupdate.cpp156 if((mDpy && ctx->deviceOrientation) && in configure()
Dhwc.cpp405 ctx->deviceOrientation = enable; in hwc_eventControl()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp281 ctx->deviceOrientation = 0; in initContext()
576 return !(ctx->deviceOrientation & 0x1); in isOrientationPortrait()
578 return (ctx->deviceOrientation & 0x1); in isOrientationPortrait()
655 int deviceOrientation = ctx->deviceOrientation; in getMirrorModeOrientation() local
657 deviceOrientation = (deviceOrientation + 1) % 4; in getMirrorModeOrientation()
658 if (deviceOrientation == 0) in getMirrorModeOrientation()
660 else if (deviceOrientation == 1)//90 in getMirrorModeOrientation()
662 else if (deviceOrientation == 2)//180 in getMirrorModeOrientation()
664 else if (deviceOrientation == 3)//270 in getMirrorModeOrientation()
Dhwc_fbupdate.cpp162 if((mDpy && ctx->deviceOrientation) && in configure()
Dhwc_utils.h563 int deviceOrientation; member
Dhwc.cpp405 ctx->deviceOrientation = enable; in hwc_eventControl()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp383 ctx->deviceOrientation = 0; in initContext()
742 return !(ctx->deviceOrientation & 0x1); in isOrientationPortrait()
744 return (ctx->deviceOrientation & 0x1); in isOrientationPortrait()
830 int deviceOrientation = ctx->deviceOrientation; in getMirrorModeOrientation() local
832 deviceOrientation = (deviceOrientation + 1) % 4; in getMirrorModeOrientation()
833 if (deviceOrientation == 0) in getMirrorModeOrientation()
835 else if (deviceOrientation == 1)//90 in getMirrorModeOrientation()
837 else if (deviceOrientation == 2)//180 in getMirrorModeOrientation()
839 else if (deviceOrientation == 3)//270 in getMirrorModeOrientation()
Dhwc_fbupdate.cpp155 if((mDpy && ctx->deviceOrientation) && in configure()
Dhwc_utils.h638 int deviceOrientation; member
Dhwc.cpp443 ctx->deviceOrientation = enable; in hwc_eventControl()