Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayArea.java105 Type.checkChild(mType, Type.typeOf(child)); in onChildPositionChanged()
117 Type.checkSiblings(Type.typeOf(top), Type.typeOf(bottom)); in onChildPositionChanged()
233 final Type childType = Type.typeOf(child); in findMaxPositionForChildDisplayArea()
235 if (Type.typeOf(getChildAt(i)) == childType) { in findMaxPositionForChildDisplayArea()
243 final Type childType = Type.typeOf(child); in findMinPositionForChildDisplayArea()
245 if (Type.typeOf(getChildAt(i)) == childType) { in findMinPositionForChildDisplayArea()
685 static Type typeOf(WindowContainer c) { in typeOf() method in DisplayArea.Type
689 return typeOf((WindowToken) c); in typeOf()
697 private static Type typeOf(WindowToken c) { in typeOf() method in DisplayArea.Type
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaTest.java39 import static com.android.server.wm.DisplayArea.Type.typeOf;
99 assertEquals(ABOVE_TASKS, typeOf(new DisplayArea<>(mWm, ABOVE_TASKS, "test"))); in testType_typeOf()
100 assertEquals(ANY, typeOf(new DisplayArea<>(mWm, ANY, "test"))); in testType_typeOf()
101 assertEquals(BELOW_TASKS, typeOf(new DisplayArea<>(mWm, BELOW_TASKS, "test"))); in testType_typeOf()
103 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_APPLICATION_OVERLAY))); in testType_typeOf()
104 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_PRESENTATION))); in testType_typeOf()
105 assertEquals(BELOW_TASKS, typeOf(createWindowToken(TYPE_WALLPAPER))); in testType_typeOf()
107 assertThrows(IllegalArgumentException.class, () -> typeOf(mock(ActivityRecord.class))); in testType_typeOf()
108 assertThrows(IllegalArgumentException.class, () -> typeOf(mock(WindowContainer.class))); in testType_typeOf()
/frameworks/base/services/
Dart-profile45346 HSPLcom/android/server/wm/DisplayArea$Type;->typeOf(Lcom/android/server/wm/WindowContainer;)Lcom/an…
45347 HSPLcom/android/server/wm/DisplayArea$Type;->typeOf(Lcom/android/server/wm/WindowToken;)Lcom/androi…