Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java206 @Nullable @InsetSide SparseIntArray typeSideMap) { in calculateInsets() argument
210 return getInsetsFromState(state, frame, typeSideMap); in calculateInsets()
214 @Nullable @InsetSide SparseIntArray typeSideMap) { in getInsetsFromState() argument
218 LayoutParams.SOFT_INPUT_ADJUST_RESIZE /* legacySoftInputMode*/, typeSideMap) in getInsetsFromState()
266 private static void buildTypeSourcesMap(SparseIntArray typeSideMap, in buildTypeSourcesMap() argument
269 for (int i = typeSideMap.size() - 1; i >= 0; i--) { in buildTypeSourcesMap()
270 int type = typeSideMap.keyAt(i); in buildTypeSourcesMap()
271 int side = typeSideMap.valueAt(i); in buildTypeSourcesMap()
DInsetsState.java147 int legacySoftInputMode, @Nullable @InsetSide SparseIntArray typeSideMap) { in calculateInsets() argument
176 typeSideMap, typeVisibilityMap); in calculateInsets()
190 Insets[] typeInsetsMap, @Nullable @InsetSide SparseIntArray typeSideMap, in processSource() argument
195 processSourceAsPublicType(source, typeInsetsMap, typeSideMap, typeVisibilityMap, in processSource()
204 processSourceAsPublicType(source, typeInsetsMap, typeSideMap, typeVisibilityMap, in processSource()
210 @InsetSide @Nullable SparseIntArray typeSideMap, in processSourceAsPublicType() argument
224 if (typeSideMap != null && !Insets.NONE.equals(insets)) { in processSourceAsPublicType()
227 typeSideMap.put(source.getType(), getInsetSide(insets)); in processSourceAsPublicType()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java72 SparseIntArray typeSideMap = new SparseIntArray(); in testCalculateInsets() local
74 DisplayCutout.NO_CUTOUT, null, null, SOFT_INPUT_ADJUST_RESIZE, typeSideMap); in testCalculateInsets()
77 assertEquals(INSET_SIDE_TOP, typeSideMap.get(TYPE_TOP_BAR)); in testCalculateInsets()
78 assertEquals(INSET_SIDE_BOTTOM, typeSideMap.get(TYPE_IME)); in testCalculateInsets()