Searched refs:mSnapGravities (Results 1 – 1 of 1) sorted by relevance
57 private final ArrayList<Integer> mSnapGravities = new ArrayList<>(); field in PipSnapAlgorithm214 final Point[] snapTargets = new Point[mSnapGravities.size()]; in findClosestSnapBounds()215 for (int i = 0; i < mSnapGravities.size(); i++) { in findClosestSnapBounds()216 Gravity.apply(mSnapGravities.get(i), stackBounds.width(), stackBounds.height(), in findClosestSnapBounds()235 final Point[] snapTargets = new Point[mSnapGravities.size()]; in findClosestSnapBounds()236 for (int i = 0; i < mSnapGravities.size(); i++) { in findClosestSnapBounds()237 Gravity.apply(mSnapGravities.get(i), stackBounds.width(), stackBounds.height(), in findClosestSnapBounds()440 mSnapGravities.clear(); in calculateSnapTargets()444 mSnapGravities.add(Gravity.TOP | Gravity.CENTER_HORIZONTAL); in calculateSnapTargets()445 mSnapGravities.add(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in calculateSnapTargets()[all …]