From e42aa1caf042103dfd1ef687eb65e7d339ff1412 Mon Sep 17 00:00:00 2001
From: Luan Nguyen
Date: Wed, 11 Mar 2015 09:36:08 -0700
Subject: [PATCH] docs: Update ambient mode to mention disabling bitmap
filtering
bug: 19429396
Change-Id: I51c1c58211cbdcb8c293b693627c659fd55537cf
---
docs/html/training/wearables/watch-faces/drawing.jd | 7 +++++--
docs/html/training/wearables/watch-faces/performance.jd | 4 +++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/docs/html/training/wearables/watch-faces/drawing.jd b/docs/html/training/wearables/watch-faces/drawing.jd
index 3c5da34f17a39..60da5d50bc693 100644
--- a/docs/html/training/wearables/watch-faces/drawing.jd
+++ b/docs/html/training/wearables/watch-faces/drawing.jd
@@ -377,7 +377,8 @@ public void onPropertiesChanged(Bundle properties) {
- For devices that use low-bit ambient mode, the screen supports fewer bits for each color
-in ambient mode, so you should disable anti-aliasing.
+in ambient mode, so you should disable anti-aliasing and bitmap filtering when the device switches
+to ambient mode.
- For devices that require burn-in protection, avoid using large blocks of white pixels in
ambient mode and do not place content within 10 pixels of the edge of the screen, since the
system shifts the content periodically to avoid pixel burn-in.
@@ -385,7 +386,9 @@ system shifts the content periodically to avoid pixel burn-in.
For more information about low-bit ambient mode and burn-in protection, see
Optimize for Special
-Screens.
+Screens. For more information on how to disable bitmap filtering, see
+Bitmap
+Filtering.
Respond to Changes Between Modes
diff --git a/docs/html/training/wearables/watch-faces/performance.jd b/docs/html/training/wearables/watch-faces/performance.jd
index 68438fee5702c..118bc6a090eb7 100644
--- a/docs/html/training/wearables/watch-faces/performance.jd
+++ b/docs/html/training/wearables/watch-faces/performance.jd
@@ -99,7 +99,9 @@ enabled (right).
setFilterBitmap()} method. Figure 2 shows a magnified view of a clock hand with
and without bitmap filtering.
-
+Note: In low-bit ambient mode, the system does not reliably
+render the colors in the image for bitmap filtering to process successfully. When ambient mode is
+active, disable bitmap filtering.
Move Expensive Operations Outside the Drawing Method