Home
last modified time | relevance | path

Searched refs:AttachStatus (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/window/
DWindowContextController.java53 public int mAttachedToDisplayArea = AttachStatus.STATUS_INITIALIZED;
60 @IntDef({AttachStatus.STATUS_INITIALIZED, AttachStatus.STATUS_ATTACHED,
61 AttachStatus.STATUS_DETACHED, AttachStatus.STATUS_FAILED})
62 public @interface AttachStatus{ annotation in WindowContextController
104 if (mAttachedToDisplayArea == AttachStatus.STATUS_ATTACHED) { in attachToDisplayArea()
110 ? AttachStatus.STATUS_ATTACHED : AttachStatus.STATUS_FAILED; in attachToDisplayArea()
111 if (mAttachedToDisplayArea == AttachStatus.STATUS_FAILED) { in attachToDisplayArea()
141 if (mAttachedToDisplayArea != AttachStatus.STATUS_ATTACHED) { in attachToWindowToken()
152 if (mAttachedToDisplayArea == AttachStatus.STATUS_ATTACHED) { in detachIfNeeded()
154 mAttachedToDisplayArea = AttachStatus.STATUS_DETACHED; in detachIfNeeded()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowContextControllerTest.java96 WindowContextController.AttachStatus.STATUS_ATTACHED); in testAttachAndDetachDisplayArea()
101 WindowContextController.AttachStatus.STATUS_DETACHED); in testAttachAndDetachDisplayArea()