Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DViewCluster.kt100 fun isViewTouchingEdge(v: View?, whichEdge: Int): Boolean { in <lambda>()
106 if ((dirtyEdges and whichEdge) == whichEdge) { in <lambda>()
107 computeEdge(whichEdge) in <lambda>()
108 dirtyEdges = dirtyEdges and whichEdge.inv() in <lambda>()
110 return when (whichEdge) { in <lambda>()
131 fun shift(whichEdge: Int, delta: Int) { in <lambda>()
135 when (whichEdge) { in <lambda>()
159 var whichEdge = 0 in <lambda>() variable
164 return when (whichEdge) { in <lambda>()
175 comparator.whichEdge = edge in <lambda>()
DReorderAlgorithm.java214 int whichEdge; in pushViewsToTempLocation() local
221 whichEdge = ViewCluster.LEFT; in pushViewsToTempLocation()
224 whichEdge = ViewCluster.RIGHT; in pushViewsToTempLocation()
227 whichEdge = ViewCluster.TOP; in pushViewsToTempLocation()
230 whichEdge = ViewCluster.BOTTOM; in pushViewsToTempLocation()
253 cluster.sortConfigurationForEdgePush(whichEdge); in pushViewsToTempLocation()
261 if (cluster.isViewTouchingEdge(v, whichEdge)) { in pushViewsToTempLocation()
280 cluster.shift(whichEdge, 1); in pushViewsToTempLocation()