Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowInsets.java225 Insets[] typeInsetMap = new Insets[SIZE]; in createCompatTypeMap() local
226 assignCompatInsets(typeInsetMap, insets); in createCompatTypeMap()
227 return typeInsetMap; in createCompatTypeMap()
233 static void assignCompatInsets(Insets[] typeInsetMap, Rect insets) { in assignCompatInsets() argument
234 typeInsetMap[indexOf(TOP_BAR)] = Insets.of(0, insets.top, 0, 0); in assignCompatInsets()
235 typeInsetMap[indexOf(SIDE_BARS)] = Insets.of(insets.left, 0, insets.right, insets.bottom); in assignCompatInsets()
238 private static boolean[] createCompatVisibilityMap(@Nullable Insets[] typeInsetMap) { in createCompatVisibilityMap() argument
240 if (typeInsetMap == null) { in createCompatVisibilityMap()
245 if (!Insets.NONE.equals(typeInsetMap[index])) { in createCompatVisibilityMap()