From a570dee97792289f88613f7ffb4b4866e65bf674 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Fri, 17 Aug 2018 14:56:00 +0100 Subject: Add @UnsupportedAppUsage annotations For packages: android.view.textservice android.view.textclassifier.logging android.view.textclassifier android.view.inputmethod android.view.autofill android.view.accessibility android.view This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I4147b038ed7adf0311ee9918b44766f82a057eaf --- core/java/android/view/GhostView.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/java/android/view/GhostView.java') diff --git a/core/java/android/view/GhostView.java b/core/java/android/view/GhostView.java index d1b96baa6062..fa7b067deb20 100644 --- a/core/java/android/view/GhostView.java +++ b/core/java/android/view/GhostView.java @@ -15,6 +15,7 @@ */ package android.view; +import android.annotation.UnsupportedAppUsage; import android.graphics.Canvas; import android.graphics.Matrix; import android.widget.FrameLayout; @@ -91,6 +92,7 @@ public class GhostView extends View { host.transformMatrixToLocal(matrix); } + @UnsupportedAppUsage public static GhostView addGhost(View view, ViewGroup viewGroup, Matrix matrix) { if (!(view.getParent() instanceof ViewGroup)) { throw new IllegalArgumentException("Ghosted views must be parented by a ViewGroup"); @@ -131,10 +133,12 @@ public class GhostView extends View { return ghostView; } + @UnsupportedAppUsage public static GhostView addGhost(View view, ViewGroup viewGroup) { return addGhost(view, viewGroup, null); } + @UnsupportedAppUsage public static void removeGhost(View view) { GhostView ghostView = view.mGhostView; if (ghostView != null) { -- cgit v1.2.3