Merge "WindowManager.LayoutParams: Expose privateFlags for CTS" into oc-dev

This commit is contained in:
Rob Carr
2017-04-06 18:00:50 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 1 deletions

View File

@@ -47312,6 +47312,7 @@ package android.view {
field public static final deprecated int MEMORY_TYPE_HARDWARE = 1; // 0x1
field public static final deprecated int MEMORY_TYPE_NORMAL = 0; // 0x0
field public static final deprecated int MEMORY_TYPE_PUSH_BUFFERS = 3; // 0x3
field public static final int PRIVATE_FLAG_NO_MOVE_ANIMATION = 64; // 0x40
field public static final int ROTATION_ANIMATION_CHANGED = 4096; // 0x1000
field public static final int ROTATION_ANIMATION_CROSSFADE = 1; // 0x1
field public static final int ROTATION_ANIMATION_JUMPCUT = 2; // 0x2
@@ -47372,6 +47373,7 @@ package android.view {
field public java.lang.String packageName;
field public int preferredDisplayModeId;
field public deprecated float preferredRefreshRate;
field public int privateFlags;
field public int rotationAnimation;
field public float screenBrightness;
field public int screenOrientation;

View File

@@ -19,6 +19,7 @@ package android.view;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.annotation.TestApi;
import android.app.KeyguardManager;
import android.app.Presentation;
import android.content.Context;
@@ -1278,7 +1279,9 @@ public interface WindowManager extends ViewManager {
/**
* Never animate position changes of the window.
*
* {@hide} */
* {@hide}
*/
@TestApi
public static final int PRIVATE_FLAG_NO_MOVE_ANIMATION = 0x00000040;
/** Window flag: special flag to limit the size of the window to be
@@ -1387,6 +1390,7 @@ public interface WindowManager extends ViewManager {
* Control flags that are private to the platform.
* @hide
*/
@TestApi
public int privateFlags;
/**