2020/manual/caption.html (29 lines of code) (raw):

<!DOCTYPE html> <!-- Copyright 2018 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <html> <head> <title>Caption Test</title> <link rel="stylesheet" href="manual-page-style.css" type="text/css"> </head> <body> <div class="outer"> <div class="h1">Caption Test</div> <div class="padding"></div> <div class="h3">* Tip: 'Back' key press will redirect to the previous page.</div> <div class="h3" style="white-space:pre-line;line-height: 1.4em;"> This page logs Cobalt caption settings variables. If your device does not support toggling captions or high contrast text settings at a platform level, these tests may be ignored. When system caption settings changed, Cobalt variables should changed accordingly and certain events should be fired. When "High Contrast Text" option in system settings is toggled, you should be able to monitor the variable change in the regular log and event monitor with "[High Contrast Text] has changed". When "Caption Display" option in system settings is toggled, you should be able to monitor the variable change in the regular log and event monitor with "[System Caption Settings] has changed". </div> <div class="padding"></div> <div class="h1">Logs:</div> <div class="padding"></div> <div id="output" style="white-space: pre-wrap; word-wrap: break-word;"></div> </body> <script src="../harness/key.js"></script> <script src="../harness/keyEvent.js"></script> <script src="../lib/manual/caption.js"></script> </html>