Remove View.setTooltip/getTooltip
The last step in renaming setTooltip/getTooltip to setTooltipText/getTooltipText Bug: 34454987 Test: make checkbuild Change-Id: I2472e6b8cc319c856ec1595989368ee35d681068
This commit is contained in:
@@ -43694,7 +43694,6 @@ package android.view {
|
||||
method public java.lang.Object getTag(int);
|
||||
method public int getTextAlignment();
|
||||
method public int getTextDirection();
|
||||
method public final deprecated java.lang.CharSequence getTooltip();
|
||||
method public final java.lang.CharSequence getTooltipText();
|
||||
method public final int getTop();
|
||||
method protected float getTopFadingEdgeStrength();
|
||||
@@ -43996,7 +43995,6 @@ package android.view {
|
||||
method public void setTag(int, java.lang.Object);
|
||||
method public void setTextAlignment(int);
|
||||
method public void setTextDirection(int);
|
||||
method public final deprecated void setTooltip(java.lang.CharSequence);
|
||||
method public final void setTooltipText(java.lang.CharSequence);
|
||||
method public final void setTop(int);
|
||||
method public void setTouchDelegate(android.view.TouchDelegate);
|
||||
|
||||
@@ -46996,7 +46996,6 @@ package android.view {
|
||||
method public java.lang.Object getTag(int);
|
||||
method public int getTextAlignment();
|
||||
method public int getTextDirection();
|
||||
method public final deprecated java.lang.CharSequence getTooltip();
|
||||
method public final java.lang.CharSequence getTooltipText();
|
||||
method public final int getTop();
|
||||
method protected float getTopFadingEdgeStrength();
|
||||
@@ -47298,7 +47297,6 @@ package android.view {
|
||||
method public void setTag(int, java.lang.Object);
|
||||
method public void setTextAlignment(int);
|
||||
method public void setTextDirection(int);
|
||||
method public final deprecated void setTooltip(java.lang.CharSequence);
|
||||
method public final void setTooltipText(java.lang.CharSequence);
|
||||
method public final void setTop(int);
|
||||
method public void setTouchDelegate(android.view.TouchDelegate);
|
||||
|
||||
@@ -43985,7 +43985,6 @@ package android.view {
|
||||
method public java.lang.Object getTag(int);
|
||||
method public int getTextAlignment();
|
||||
method public int getTextDirection();
|
||||
method public final deprecated java.lang.CharSequence getTooltip();
|
||||
method public final java.lang.CharSequence getTooltipText();
|
||||
method public android.view.View getTooltipView();
|
||||
method public final int getTop();
|
||||
@@ -44288,7 +44287,6 @@ package android.view {
|
||||
method public void setTag(int, java.lang.Object);
|
||||
method public void setTextAlignment(int);
|
||||
method public void setTextDirection(int);
|
||||
method public final deprecated void setTooltip(java.lang.CharSequence);
|
||||
method public final void setTooltipText(java.lang.CharSequence);
|
||||
method public final void setTop(int);
|
||||
method public void setTouchDelegate(android.view.TouchDelegate);
|
||||
|
||||
@@ -24663,16 +24663,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* To be removed once the support library has stopped using it.
|
||||
*
|
||||
* @deprecated use {@link #setTooltipText} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public final void setTooltip(@Nullable CharSequence tooltipText) {
|
||||
setTooltipText(tooltipText);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the view's tooltip text.
|
||||
*
|
||||
@@ -24683,17 +24673,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
return mTooltipInfo != null ? mTooltipInfo.mTooltipText : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* To be removed once the support library has stopped using it.
|
||||
*
|
||||
* @deprecated use {@link #getTooltipText} instead
|
||||
*/
|
||||
@Deprecated
|
||||
@Nullable
|
||||
public final CharSequence getTooltip() {
|
||||
return getTooltipText();
|
||||
}
|
||||
|
||||
private boolean showTooltip(int x, int y, boolean fromLongClick) {
|
||||
if (mAttachInfo == null) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user