Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java62 private int mSnapMode = mDefaultSnapMode; field in PipSnapAlgorithm
93 mSnapMode = res.getInteger(com.android.internal.R.integer.config_pictureInPictureSnapMode); in onConfigurationChanged()
135 if (mSnapMode == SNAP_MODE_LONG_EDGE_MAGNET_CORNERS in findClosestSnapBounds()
136 || mSnapMode == SNAP_MODE_EDGE_MAGNET_CORNERS) { in findClosestSnapBounds()
153 } else if (mSnapMode == SNAP_MODE_EDGE) { in findClosestSnapBounds()
334 if (mSnapMode == SNAP_MODE_LONG_EDGE_MAGNET_CORNERS) { in snapRectToClosestEdge()
365 switch (mSnapMode) { in calculateSnapTargets()
392 pw.println(innerPrefix + "mSnapMode=" + mSnapMode); in dump()
DDividerSnapAlgorithm.java68 private final int mSnapMode; field in DividerSnapAlgorithm
116 mSnapMode = isMinimizedMode ? SNAP_MODE_MINIMIZED : in DividerSnapAlgorithm()
265 switch (mSnapMode) { in calculateTargets()