Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java314 private static int fixEdgeToCorner(int moving_edges) { in fixEdgeToCorner() argument
315 if (moving_edges == MOVE_LEFT) { in fixEdgeToCorner()
316 moving_edges |= MOVE_TOP; in fixEdgeToCorner()
318 if (moving_edges == MOVE_TOP) { in fixEdgeToCorner()
319 moving_edges |= MOVE_LEFT; in fixEdgeToCorner()
321 if (moving_edges == MOVE_RIGHT) { in fixEdgeToCorner()
322 moving_edges |= MOVE_BOTTOM; in fixEdgeToCorner()
324 if (moving_edges == MOVE_BOTTOM) { in fixEdgeToCorner()
325 moving_edges |= MOVE_RIGHT; in fixEdgeToCorner()
327 return moving_edges; in fixEdgeToCorner()