Home
last modified time | relevance | path

Searched refs:typeOf (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaTest.java28 import static com.android.server.wm.DisplayArea.Type.typeOf;
60 assertEquals(ABOVE_TASKS, typeOf(new DisplayArea<>(wms, ABOVE_TASKS, "test"))); in testType_typeOf()
61 assertEquals(ANY, typeOf(new DisplayArea<>(wms, ANY, "test"))); in testType_typeOf()
62 assertEquals(BELOW_TASKS, typeOf(new DisplayArea<>(wms, BELOW_TASKS, "test"))); in testType_typeOf()
64 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_APPLICATION_OVERLAY))); in testType_typeOf()
65 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_PRESENTATION))); in testType_typeOf()
66 assertEquals(BELOW_TASKS, typeOf(createWindowToken(TYPE_WALLPAPER))); in testType_typeOf()
68 assertThrows(IllegalArgumentException.class, () -> typeOf(mock(ActivityRecord.class))); in testType_typeOf()
69 assertThrows(IllegalArgumentException.class, () -> typeOf(mock(WindowContainer.class))); in testType_typeOf()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java92 Type.checkChild(mType, Type.typeOf(child)); in onChildPositionChanged()
104 Type.checkSiblings(Type.typeOf(top), Type.typeOf(bottom)); in onChildPositionChanged()
326 static Type typeOf(WindowContainer c) { in typeOf() method in DisplayArea.Type
330 return typeOf((WindowToken) c); in typeOf()
338 private static Type typeOf(WindowToken c) { in typeOf() method in DisplayArea.Type
/frameworks/base/services/
Dart-profile36169 HSPLcom/android/server/wm/DisplayArea$Type;->typeOf(Lcom/android/server/wm/WindowContainer;)Lcom/an…
36170 HPLcom/android/server/wm/DisplayArea$Type;->typeOf(Lcom/android/server/wm/WindowToken;)Lcom/android…