Searched refs:typeOf (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayArea.java | 111 Type.checkChild(mType, Type.typeOf(child)); in onChildPositionChanged() 123 Type.checkSiblings(Type.typeOf(top), Type.typeOf(bottom)); in onChildPositionChanged() 309 final Type childType = Type.typeOf(child); in findMaxPositionForChildDisplayArea() 311 if (Type.typeOf(getChildAt(i)) == childType) { in findMaxPositionForChildDisplayArea() 319 final Type childType = Type.typeOf(child); in findMinPositionForChildDisplayArea() 321 if (Type.typeOf(getChildAt(i)) == childType) { in findMinPositionForChildDisplayArea() 776 static Type typeOf(WindowContainer c) { in typeOf() method in DisplayArea.Type 780 return typeOf((WindowToken) c); in typeOf() 788 private static Type typeOf(WindowToken c) { in typeOf() method in DisplayArea.Type
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaTest.java | 41 import static com.android.server.wm.DisplayArea.Type.typeOf; 103 assertEquals(ABOVE_TASKS, typeOf(new DisplayArea<>(mWm, ABOVE_TASKS, "test"))); in testType_typeOf() 104 assertEquals(ANY, typeOf(new DisplayArea<>(mWm, ANY, "test"))); in testType_typeOf() 105 assertEquals(BELOW_TASKS, typeOf(new DisplayArea<>(mWm, BELOW_TASKS, "test"))); in testType_typeOf() 107 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_APPLICATION_OVERLAY))); in testType_typeOf() 108 assertEquals(ABOVE_TASKS, typeOf(createWindowToken(TYPE_PRESENTATION))); in testType_typeOf() 109 assertEquals(BELOW_TASKS, typeOf(createWindowToken(TYPE_WALLPAPER))); in testType_typeOf() 111 assertThrows(IllegalArgumentException.class, () -> typeOf(mock(ActivityRecord.class))); in testType_typeOf() 112 assertThrows(IllegalArgumentException.class, () -> typeOf(mock(WindowContainer.class))); in testType_typeOf()
|
/frameworks/base/services/ |
D | art-profile | 52408 HSPLcom/android/server/wm/DisplayArea$Type;->typeOf(Lcom/android/server/wm/WindowContainer;)Lcom/an… 52409 HSPLcom/android/server/wm/DisplayArea$Type;->typeOf(Lcom/android/server/wm/WindowToken;)Lcom/androi…
|