From 37663db137819c4d23936c758d17d96dcc7b806b Mon Sep 17 00:00:00 2001
From: Hemal Patel
Date: Mon, 13 Jun 2016 14:37:36 -0700
Subject: Docs: Added overview of Custom Pointer API
Bug: 28241984
Change-Id: Iffa2a0cc46f71377b79f4ac792d2f469353cc395
---
docs/html/preview/api-overview.jd | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd
index 4abd95634b90..f2bc11136d58 100644
--- a/docs/html/preview/api-overview.jd
+++ b/docs/html/preview/api-overview.jd
@@ -37,6 +37,7 @@ page.image=images/cards/card-n-apis_2x.png
APK Signature Scheme v2
Scoped Directory Access
Keyboard Shortcuts Helper
+ Custom Pointer API
Sustained Performance API
VR Support
Print Service Enhancements
@@ -865,6 +866,26 @@ Directory Access developer documentation.
{@code Activity.requestKeyboardShortcutsHelper()} for the relevant activity.
+
+ Custom Pointer API
+
+
+
+ Android N introduces the Custom Pointer API, which lets you customize the
+ appearance, visibility, and behavior of the pointer. This capability is
+ especially useful when a user is using a mouse or touchpad to interact with
+ UI objects. The default pointer uses a standard icon. This API also includes
+ advanced functionality such as changing the pointer icon's appearance based
+ on specific mouse or touchpad movements.
+
+
+
+ To set a pointer icon, override the onResolvePointerIcon()
+ method of the View class. This method uses a
+ PointerIcon object to draw the icon that corresponds to a
+ specific motion event.
+
+
--
cgit v1.2.3-59-g8ed1b