Adam Powell 5eb3ffc24c Remove View methods that can't be used safely from the SDK
View methods that previously accepted a TypedArray to initialize
parameters parsed from xml cannot be used correctly by apps. The
TypedArray passed must always be obtained from a context using the
filter array com.android.internal.R.styleable.View, which is not
visible to the SDK.

A previous change already made this safe for existing apps already
using it so that they don't crash, this change removes these methods
from the SDK entirely.

Change-Id: I62099087ad6fd5bf8363e863b04fd0434b8cdfca
2014-09-11 15:38:55 -07:00

73 lines
2.9 KiB
Plaintext

package android.media {
public class AudioFormat {
ctor public AudioFormat();
}
}
package android.os {
public final class PowerManager {
method public void goToSleep(long);
method public deprecated void userActivity(long, boolean);
method public void wakeUp(long);
}
public class UserManager {
method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int);
method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle);
method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle);
}
}
package android.view {
public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback {
method protected void initializeFadingEdge(android.content.res.TypedArray);
method protected void initializeScrollbars(android.content.res.TypedArray);
}
public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable {
field public static final int TYPE_KEYGUARD = 2004; // 0x7d4
}
}
package android.view.inputmethod {
public class BaseInputConnection implements android.view.inputmethod.InputConnection {
method public final boolean requestUpdateCursorAnchorInfo(int);
}
public final class CursorAnchorInfo implements android.os.Parcelable {
method public android.graphics.RectF getCharacterRect(int);
method public int getCharacterRectFlags(int);
method public boolean isInsertionMarkerClipped();
field public static final int CHARACTER_RECT_TYPE_FULLY_VISIBLE = 1; // 0x1
field public static final int CHARACTER_RECT_TYPE_INVISIBLE = 3; // 0x3
field public static final int CHARACTER_RECT_TYPE_MASK = 15; // 0xf
field public static final int CHARACTER_RECT_TYPE_NOT_FEASIBLE = 4; // 0x4
field public static final int CHARACTER_RECT_TYPE_PARTIALLY_VISIBLE = 2; // 0x2
field public static final int CHARACTER_RECT_TYPE_UNSPECIFIED = 0; // 0x0
}
public static final class CursorAnchorInfo.Builder {
method public android.view.inputmethod.CursorAnchorInfo.Builder addCharacterRect(int, float, float, float, float, int);
method public android.view.inputmethod.CursorAnchorInfo.Builder setInsertionMarkerLocation(float, float, float, float, boolean);
}
public abstract interface InputConnection {
method public abstract boolean requestUpdateCursorAnchorInfo(int);
field public static final int REQUEST_UPDATE_CURSOR_ANCHOR_INFO_MONITOR = 2; // 0x2
field public static final int REQUEST_UPDATE_CURSOR_UPDATE_IMMEDIATE = 1; // 0x1
}
public class InputConnectionWrapper implements android.view.inputmethod.InputConnection {
method public final boolean requestUpdateCursorAnchorInfo(int);
}
}