From 1231768eed43c0ecd5d2e1a80a0fae5edea6f609 Mon Sep 17 00:00:00 2001
From: Eric Schmidt
Date: Tue, 10 May 2016 08:40:53 -0700
Subject: [PATCH] docs: Added emoji section to api overview.
Bug: 27920740
Change-Id: Ib3c31c83ffd45d564ea0a6164f2d91df11c3f213
---
docs/html/preview/api-overview.jd | 41 ++++++++++++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd
index 4a7b879dcc523..9590ff61e7dec 100644
--- a/docs/html/preview/api-overview.jd
+++ b/docs/html/preview/api-overview.jd
@@ -38,6 +38,7 @@ page.image=images/cards/card-n-apis_2x.png
Launcher shortcuts
Print service enhancements
Virtual Files
+ New Emojis
@@ -936,4 +937,42 @@ $ adb shell dumpsys shortcut
For more information about accessing user files, see the
Storage
Access Frameworks guide.
-
\ No newline at end of file
+
+
+New Emojis
+
+
+ Android N introduces new emojis, including skin tone emojis, support
+ for variation
+ selectors, and other improvements. For a good user experience, observe the
+ following guidelines for using the new emojis and emoji features in your apps.
+
+
+
+ -
+ New emojis: To check which emojis are present in the
+ system font, use the {@link android.graphics.Paint#hasGlyph(String)} method
+ and the dynamic layout in the emoji picker to place the glyphs.
+
+ -
+ Variation selectors: Variation selectors allow certain
+ emojis to be represented in color or in text presentation, which is used in
+ documents. For mobile devices, emojis should use their color representation.
+ To determine whether an emoji has a variation, use the variation selector.
+ You can view the complete list of characters with variations in the
+ emoji variation sequences section of the
+
+ Unicode documentation on variations.
+
+ -
+ Skin tone modifiers: In Android N, users can modify the
+ rendered skin tone of emojis. This allows users to customize the presentation
+ of emojis to their preference. Keyboard apps should provide visual
+ indications for emojis that have multiple skin tones and should allow users to
+ select the skin tone that they prefer. To determine which system emojis have
+ skin tone modifiers, use the {@link android.graphics.Paint#hasGlyph(String)}
+ method. You can determine which emojis use skin tones by reading the
+
+ Unicode documentation.
+
+
\ No newline at end of file