diff options
author | Dirk Dougherty <ddougherty@google.com> | 2012-10-28 12:07:08 -0700 |
---|---|---|
committer | Dirk Dougherty <ddougherty@google.com> | 2012-10-28 13:40:26 -0700 |
commit | 7b9a28892b1821a657bc9de5245528557d15a154 (patch) | |
tree | cbbd9a29b28b6503174765a90bd376a119cacab3 /core/java/android/os/PowerManager.java | |
parent | c99a1107c0d4fdf47595e5072192d647a01e13b3 (diff) | |
download | frameworks_base-7b9a28892b1821a657bc9de5245528557d15a154.zip frameworks_base-7b9a28892b1821a657bc9de5245528557d15a154.tar.gz frameworks_base-7b9a28892b1821a657bc9de5245528557d15a154.tar.bz2 |
Doc change: fix some table formatting.
Change-Id: I1533be695347697f5afd5c8d2719a0ff0b07abaa
Diffstat (limited to 'core/java/android/os/PowerManager.java')
-rw-r--r-- | core/java/android/os/PowerManager.java | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/core/java/android/os/PowerManager.java b/core/java/android/os/PowerManager.java index 7e11c22..4a01113 100644 --- a/core/java/android/os/PowerManager.java +++ b/core/java/android/os/PowerManager.java @@ -46,29 +46,25 @@ import android.util.Log; * 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> * - * <table border="2" width="85%" align="center" frame="hsides" rules="rows"> - * <thead> + * <table> * <tr><th>Flag Value</th> * <th>CPU</th> <th>Screen</th> <th>Keyboard</th></tr> - * </thead> * - * <tbody> - * <tr><th>{@link #PARTIAL_WAKE_LOCK}</th> + * <tr><td>{@link #PARTIAL_WAKE_LOCK}</td> * <td>On*</td> <td>Off</td> <td>Off</td> * </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> * </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> * </tr> * - * <tr><th>{@link #FULL_WAKE_LOCK}</th> + * <tr><td>{@link #FULL_WAKE_LOCK}</td> * <td>On</td> <td>Bright</td> <td>Bright</td> * </tr> - * </tbody> * </table> * </p><p> * *<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> * </p><p> * 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"> - * <thead> + * <table> * <tr><th>Flag Value</th> <th>Description</th></tr> - * </thead> * - * <tbody> - * <tr><th>{@link #ACQUIRE_CAUSES_WAKEUP}</th> + * <tr><td>{@link #ACQUIRE_CAUSES_WAKEUP}</td> * <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 * 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> * </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 * 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> * </tr> - * </tbody> * </table> - * </p><p> + * <p> * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK} * permission in an {@code <uses-permission>} element of the application's manifest. * </p> |