Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -49810,6 +49810,7 @@ package android.view { field public static final int EDGE_RIGHT = 8; // 0x8 field public static final int EDGE_TOP = 1; // 0x1 field public static final int FLAG_WINDOW_IS_OBSCURED = 1; // 0x1 field public static final int FLAG_WINDOW_IS_PARTIALLY_OBSCURED = 2; // 0x2 field public static final int INVALID_POINTER_ID = -1; // 0xffffffff field public static final int TOOL_TYPE_ERASER = 4; // 0x4 field public static final int TOOL_TYPE_FINGER = 1; // 0x1 core/java/android/view/MotionEvent.java +7 −5 Original line number Diff line number Diff line Loading @@ -432,7 +432,8 @@ public final class MotionEvent extends InputEvent implements Parcelable { /** * This flag indicates that the window that received this motion event is partly * or wholly obscured by another visible window above it. This flag is set to true * even if the event did not directly pass through the obscured area. * if the event directly passed through the obscured area. * * A security sensitive application can check this flag to identify situations in which * a malicious application may have covered up part of its content for the purpose * of misleading the user or hijacking touches. An appropriate response might be Loading @@ -445,14 +446,15 @@ public final class MotionEvent extends InputEvent implements Parcelable { * This flag indicates that the window that received this motion event is partly * or wholly obscured by another visible window above it. This flag is set to true * even if the event did not directly pass through the obscured area. * * A security sensitive application can check this flag to identify situations in which * a malicious application may have covered up part of its content for the purpose * of misleading the user or hijacking touches. An appropriate response might be * to drop the suspect touches or to take additional precautions to confirm the user's * actual intent. * * Unlike FLAG_WINDOW_IS_OBSCURED, this is actually true. * @hide * Unlike FLAG_WINDOW_IS_OBSCURED, this is true even if the window that received this event is * obstructed in areas other than the touched location. */ public static final int FLAG_WINDOW_IS_PARTIALLY_OBSCURED = 0x2; Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -49810,6 +49810,7 @@ package android.view { field public static final int EDGE_RIGHT = 8; // 0x8 field public static final int EDGE_TOP = 1; // 0x1 field public static final int FLAG_WINDOW_IS_OBSCURED = 1; // 0x1 field public static final int FLAG_WINDOW_IS_PARTIALLY_OBSCURED = 2; // 0x2 field public static final int INVALID_POINTER_ID = -1; // 0xffffffff field public static final int TOOL_TYPE_ERASER = 4; // 0x4 field public static final int TOOL_TYPE_FINGER = 1; // 0x1
core/java/android/view/MotionEvent.java +7 −5 Original line number Diff line number Diff line Loading @@ -432,7 +432,8 @@ public final class MotionEvent extends InputEvent implements Parcelable { /** * This flag indicates that the window that received this motion event is partly * or wholly obscured by another visible window above it. This flag is set to true * even if the event did not directly pass through the obscured area. * if the event directly passed through the obscured area. * * A security sensitive application can check this flag to identify situations in which * a malicious application may have covered up part of its content for the purpose * of misleading the user or hijacking touches. An appropriate response might be Loading @@ -445,14 +446,15 @@ public final class MotionEvent extends InputEvent implements Parcelable { * This flag indicates that the window that received this motion event is partly * or wholly obscured by another visible window above it. This flag is set to true * even if the event did not directly pass through the obscured area. * * A security sensitive application can check this flag to identify situations in which * a malicious application may have covered up part of its content for the purpose * of misleading the user or hijacking touches. An appropriate response might be * to drop the suspect touches or to take additional precautions to confirm the user's * actual intent. * * Unlike FLAG_WINDOW_IS_OBSCURED, this is actually true. * @hide * Unlike FLAG_WINDOW_IS_OBSCURED, this is true even if the window that received this event is * obstructed in areas other than the touched location. */ public static final int FLAG_WINDOW_IS_PARTIALLY_OBSCURED = 0x2; Loading