Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | D | 03-May-2024 | 779 | 18 | 15 | |
generate-overlayable.py | D | 03-May-2024 | 3.7 KiB | 80 | 58 | |
resource_utils.py | D | 03-May-2024 | 6.1 KiB | 152 | 124 | |
verify-overlayable.py | D | 03-May-2024 | 2.4 KiB | 54 | 33 |
README
1These scripts are used to generate and verify overlayable.xml files. 2 3Sample invocations (Media Center as an example). 4 5To generate: 6PROJECT_TOP=$ANDROID_BUILD_TOP/packages/apps/Car/Media 7python $ANDROID_BUILD_TOP/packages/apps/Car/tests/tools/rro/generate-overlayable.py \ 8 -n CarMediaApp \ 9 -r $PROJECT_TOP/res \ 10 -e $PROJECT_TOP/res/values/overlayable.xml $PROJECT_TOP/res/xml/automotive_app_desc.xml \ 11 -o $PROJECT_TOP/res/values/overlayable.xml 12 13To verify: 14PROJECT_TOP=$ANDROID_BUILD_TOP/packages/apps/Car/Media 15python $ANDROID_BUILD_TOP/packages/apps/Car/tests/tools/rro/verify-overlayable.py \ 16 -r $PROJECT_TOP/res \ 17 -e $PROJECT_TOP/res/values/overlayable.xml $PROJECT_TOP/res/xml/automotive_app_desc.xml \ 18 -o $PROJECT_TOP/res/values/overlayable.xml