you can check if the default orientation is set in
frameworks/base/core/res/res/values/config.xml
some orientation and rotation setting are here.
About your question, I don't think the default setting should be changed.
since you only hope to rotate the animation app, the app should rotate the layout by
itself instead of rotating the whole celadon.
If the animation app use AOSP API to show the content, some settings in application layout
should work.
If the animation app use drm directly, then the app should rotate the animation buffer via
GPU or use a rotated image as source.
BR, Shaofeng
-----Original Message-----
From: gheorghe.comsulea(a)p3-group.com <gheorghe.comsulea(a)p3-group.com>
Sent: Tuesday, April 28, 2020 8:06 PM
To: celadon(a)lists.01.org
Subject: [
01.org Celadon] Change default orentation for the primary display in
celadon_ivvi
Hello everybody,
Is it possible the change the default display orientation from landscape to portrait in
celadon_ivi? The goal is to make the celadon_ivi to display the bootanimation pictures and
the systemui/apps in portrait mode.
I have tried it in several ways, but without success:
1) I have set at build time in system props the ro.sf.hwrotation=90. It had no effect
2) I have set in BoardConfig.mk the SF_PRIMARY_DISPLAY_ORIENTATION := 90. It had no
effect, too.
I was able to change the orientation to portrait mode only via "adb shell settings
put system user_rotation 1" command, but this setting is ignored by the boot
animation.
Best regards,
Gigi
--
Celadon mailing list -- celadon(a)lists.01.org To unsubscribe send an email to
celadon-leave(a)lists.01.org