summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorRyan Lin <ryanlwlin@google.com>2020-08-11 12:57:59 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-08-11 12:57:59 +0000
commitba91c6c33fba572d24c84e1a5d73397b164d0d99 (patch)
tree5bbc983f8d48a32dfdd0d1516216b8bc5f393ec0 /core/java/android
parent4676898b8d17e675b7158d2cc267607677f65f2b (diff)
parentb2671ade8ef903f167c3fef071647423a377ad45 (diff)
Merge "Add WindowMagnificationAnimationController for animation"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/accessibility/IWindowMagnificationConnection.aidl8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/view/accessibility/IWindowMagnificationConnection.aidl b/core/java/android/view/accessibility/IWindowMagnificationConnection.aidl
index e814ec649087..eb67191e5f54 100644
--- a/core/java/android/view/accessibility/IWindowMagnificationConnection.aidl
+++ b/core/java/android/view/accessibility/IWindowMagnificationConnection.aidl
@@ -29,7 +29,7 @@ import android.view.accessibility.IWindowMagnificationConnectionCallback;
oneway interface IWindowMagnificationConnection {
/**
- * Enables window magnification on specifed display with specified center and scale.
+ * Enables window magnification on specified display with given center and scale and animation.
*
* @param displayId The logical display id.
* @param scale magnification scale.
@@ -41,7 +41,7 @@ oneway interface IWindowMagnificationConnection {
void enableWindowMagnification(int displayId, float scale, float centerX, float centerY);
/**
- * Sets the scale of the window magnifier on specifed display.
+ * Sets the scale of the window magnifier on specified display.
*
* @param displayId The logical display id.
* @param scale magnification scale.
@@ -49,14 +49,14 @@ oneway interface IWindowMagnificationConnection {
void setScale(int displayId, float scale);
/**
- * Disables window magnification on specifed display.
+ * Disables window magnification on specified display with animation.
*
* @param displayId The logical display id.
*/
void disableWindowMagnification(int displayId);
/**
- * Moves the window magnifier on the specifed display.
+ * Moves the window magnifier on the specified display. It has no effect while animating.
*
* @param offsetX the amount in pixels to offset the window magnifier in the X direction, in
* current screen pixels.