Add new window type TYPE_DRAWN_APPLICATION
This type behaves like a normal TYPE_APPLICATION, except that WM will always wait for it to be drawn before starting a transition. WM always waits for TYPE_BASE_APPLICATION (main window), but for TYPE_APPLICATION, it only waits if the window relayouts to visible and gets a surface before the main window is drawn. If main window itself is ready very fast, transition could start without the other window. bug: 30830849 Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40
This commit is contained in:
@@ -43913,6 +43913,7 @@ package android.view {
|
||||
field public static final int TYPE_APPLICATION_SUB_PANEL = 1002; // 0x3ea
|
||||
field public static final int TYPE_BASE_APPLICATION = 1; // 0x1
|
||||
field public static final int TYPE_CHANGED = 2; // 0x2
|
||||
field public static final int TYPE_DRAWN_APPLICATION = 4; // 0x4
|
||||
field public static final int TYPE_INPUT_METHOD = 2011; // 0x7db
|
||||
field public static final int TYPE_INPUT_METHOD_DIALOG = 2012; // 0x7dc
|
||||
field public static final int TYPE_KEYGUARD_DIALOG = 2009; // 0x7d9
|
||||
|
||||
@@ -47093,6 +47093,7 @@ package android.view {
|
||||
field public static final int TYPE_APPLICATION_SUB_PANEL = 1002; // 0x3ea
|
||||
field public static final int TYPE_BASE_APPLICATION = 1; // 0x1
|
||||
field public static final int TYPE_CHANGED = 2; // 0x2
|
||||
field public static final int TYPE_DRAWN_APPLICATION = 4; // 0x4
|
||||
field public static final int TYPE_INPUT_METHOD = 2011; // 0x7db
|
||||
field public static final int TYPE_INPUT_METHOD_DIALOG = 2012; // 0x7dc
|
||||
field public static final int TYPE_KEYGUARD_DIALOG = 2009; // 0x7d9
|
||||
|
||||
@@ -43994,6 +43994,7 @@ package android.view {
|
||||
field public static final int TYPE_APPLICATION_SUB_PANEL = 1002; // 0x3ea
|
||||
field public static final int TYPE_BASE_APPLICATION = 1; // 0x1
|
||||
field public static final int TYPE_CHANGED = 2; // 0x2
|
||||
field public static final int TYPE_DRAWN_APPLICATION = 4; // 0x4
|
||||
field public static final int TYPE_INPUT_METHOD = 2011; // 0x7db
|
||||
field public static final int TYPE_INPUT_METHOD_DIALOG = 2012; // 0x7dc
|
||||
field public static final int TYPE_KEYGUARD_DIALOG = 2009; // 0x7d9
|
||||
|
||||
Reference in New Issue
Block a user