Doc change: fix some table formatting.

Change-Id: I1533be695347697f5afd5c8d2719a0ff0b07abaa
This commit is contained in:
Dirk Dougherty
2012-10-28 12:07:08 -07:00
parent c99a1107c0
commit 7b9a28892b

View File

@ -46,29 +46,25 @@ import android.util.Log;
* The following wake lock levels are defined, with varying effects on system power. * The following wake lock levels are defined, with varying effects on system power.
* <i>These levels are mutually exclusive - you may only specify one of them.</i> * <i>These levels are mutually exclusive - you may only specify one of them.</i>
* *
* <table border="2" width="85%" align="center" frame="hsides" rules="rows"> * <table>
* <thead>
* <tr><th>Flag Value</th> * <tr><th>Flag Value</th>
* <th>CPU</th> <th>Screen</th> <th>Keyboard</th></tr> * <th>CPU</th> <th>Screen</th> <th>Keyboard</th></tr>
* </thead>
* *
* <tbody> * <tr><td>{@link #PARTIAL_WAKE_LOCK}</td>
* <tr><th>{@link #PARTIAL_WAKE_LOCK}</th>
* <td>On*</td> <td>Off</td> <td>Off</td> * <td>On*</td> <td>Off</td> <td>Off</td>
* </tr> * </tr>
* *
* <tr><th>{@link #SCREEN_DIM_WAKE_LOCK}</th> * <tr><td>{@link #SCREEN_DIM_WAKE_LOCK}</td>
* <td>On</td> <td>Dim</td> <td>Off</td> * <td>On</td> <td>Dim</td> <td>Off</td>
* </tr> * </tr>
* *
* <tr><th>{@link #SCREEN_BRIGHT_WAKE_LOCK}</th> * <tr><td>{@link #SCREEN_BRIGHT_WAKE_LOCK}</td>
* <td>On</td> <td>Bright</td> <td>Off</td> * <td>On</td> <td>Bright</td> <td>Off</td>
* </tr> * </tr>
* *
* <tr><th>{@link #FULL_WAKE_LOCK}</th> * <tr><td>{@link #FULL_WAKE_LOCK}</td>
* <td>On</td> <td>Bright</td> <td>Bright</td> * <td>On</td> <td>Bright</td> <td>Bright</td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* </p><p> * </p><p>
* *<i>If you hold a partial wake lock, the CPU will continue to run, regardless of any * *<i>If you hold a partial wake lock, the CPU will continue to run, regardless of any
@ -77,15 +73,12 @@ import android.util.Log;
* using the power button.</i> * using the power button.</i>
* </p><p> * </p><p>
* In addition, you can add two more flags, which affect behavior of the screen only. * In addition, you can add two more flags, which affect behavior of the screen only.
* <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i> * <i>These flags have no effect when combined with a {@link #PARTIAL_WAKE_LOCK}.</i></p>
* *
* <table border="2" width="85%" align="center" frame="hsides" rules="rows"> * <table>
* <thead>
* <tr><th>Flag Value</th> <th>Description</th></tr> * <tr><th>Flag Value</th> <th>Description</th></tr>
* </thead>
* *
* <tbody> * <tr><td>{@link #ACQUIRE_CAUSES_WAKEUP}</td>
* <tr><th>{@link #ACQUIRE_CAUSES_WAKEUP}</th>
* <td>Normal wake locks don't actually turn on the illumination. Instead, they cause * <td>Normal wake locks don't actually turn on the illumination. Instead, they cause
* the illumination to remain on once it turns on (e.g. from user activity). This flag * the illumination to remain on once it turns on (e.g. from user activity). This flag
* will force the screen and/or keyboard to turn on immediately, when the WakeLock is * will force the screen and/or keyboard to turn on immediately, when the WakeLock is
@ -93,14 +86,13 @@ import android.util.Log;
* see immediately.</td> * see immediately.</td>
* </tr> * </tr>
* *
* <tr><th>{@link #ON_AFTER_RELEASE}</th> * <tr><td>{@link #ON_AFTER_RELEASE}</td>
* <td>If this flag is set, the user activity timer will be reset when the WakeLock is * <td>If this flag is set, the user activity timer will be reset when the WakeLock is
* released, causing the illumination to remain on a bit longer. This can be used to * released, causing the illumination to remain on a bit longer. This can be used to
* reduce flicker if you are cycling between wake lock conditions.</td> * reduce flicker if you are cycling between wake lock conditions.</td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* </p><p> * <p>
* Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK} * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK}
* permission in an {@code &lt;uses-permission&gt;} element of the application's manifest. * permission in an {@code &lt;uses-permission&gt;} element of the application's manifest.
* </p> * </p>