Is it possible to mirror the the rendered display/screen at OS level horizontally or vertically?
To be clear: I do not intend to rotate or transmit/cast a display content. I rather like to have a mirror image replacing the original one, being like a reflection of physical planar mirror.
The resulting screen should be application agnostic and allow any animations etc.
youtube.com/watch?v=JWpIYM5EIJk [exactly like this but in android]
Potential use cases: Projection of an image over a reflecting surface. Imagine a Head-up display on a car pane/windshield or a Head-mounted display with mirrors.
I already checked
/system/build.prop: allows density settings and rotation modifications.
View.setScaleX(-1f): scaling views