Loading core/java/android/view/View.java +15 −0 Original line number Diff line number Diff line Loading @@ -24767,6 +24767,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } } /** * @hide Binary compatibility stub. To be removed when we finalize O APIs. */ public void setTooltip(@Nullable CharSequence tooltipText) { setTooltipText(tooltipText); } /** * Returns the view's tooltip text. * Loading @@ -24777,6 +24784,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback, return mTooltipInfo != null ? mTooltipInfo.mTooltipText : null; } /** * @hide Binary compatibility stub. To be removed when we finalize O APIs. */ @Nullable public CharSequence getTooltip() { return getTooltipText(); } private boolean showTooltip(int x, int y, boolean fromLongClick) { if (mAttachInfo == null) { return false; Loading
core/java/android/view/View.java +15 −0 Original line number Diff line number Diff line Loading @@ -24767,6 +24767,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } } /** * @hide Binary compatibility stub. To be removed when we finalize O APIs. */ public void setTooltip(@Nullable CharSequence tooltipText) { setTooltipText(tooltipText); } /** * Returns the view's tooltip text. * Loading @@ -24777,6 +24784,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback, return mTooltipInfo != null ? mTooltipInfo.mTooltipText : null; } /** * @hide Binary compatibility stub. To be removed when we finalize O APIs. */ @Nullable public CharSequence getTooltip() { return getTooltipText(); } private boolean showTooltip(int x, int y, boolean fromLongClick) { if (mAttachInfo == null) { return false;