Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java196 int movingEdges = mMovingEdges; in moveCurrentSelection() local
197 if (movingEdges == MOVE_BLOCK) { in moveCurrentSelection()
204 if ((movingEdges & MOVE_LEFT) != 0) { in moveCurrentSelection()
207 if ((movingEdges & MOVE_TOP) != 0) { in moveCurrentSelection()
210 if ((movingEdges & MOVE_RIGHT) != 0) { in moveCurrentSelection()
214 if ((movingEdges & MOVE_BOTTOM) != 0) { in moveCurrentSelection()
226 if (movingEdges == TOP_LEFT || movingEdges == BOTTOM_RIGHT) { in moveCurrentSelection()
240 RectF newCrop = fixedCornerResize(crop, movingEdges, dx, dy); in moveCurrentSelection()
244 if ((movingEdges & MOVE_LEFT) != 0) { in moveCurrentSelection()
247 if ((movingEdges & MOVE_TOP) != 0) { in moveCurrentSelection()
[all …]
DCropView.java274 private int decode(int movingEdges, float rotation) { in decode() argument
278 return bitCycleLeft(movingEdges, 1, 4); in decode()
280 return bitCycleLeft(movingEdges, 2, 4); in decode()
282 return bitCycleLeft(movingEdges, 3, 4); in decode()
284 return movingEdges; in decode()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java216 private int decode(int movingEdges, float rotation) { in decode() argument
220 return bitCycleLeft(movingEdges, 1, 4); in decode()
222 return bitCycleLeft(movingEdges, 2, 4); in decode()
224 return bitCycleLeft(movingEdges, 3, 4); in decode()
226 return movingEdges; in decode()