Searched refs:edges (Results 1 - 5 of 5) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DCropView.java120 final RectF edges = mTempEdges;
121 getEdgesHelper(edges);
124 float cropLeft = -edges.left / scale;
125 float cropTop = -edges.top / scale;
213 final RectF edges = mTempEdges;
214 getEdgesHelper(edges);
216 mCenterX += Math.ceil(edges.left / scale);
296 final RectF edges = mTempEdges;
297 getEdgesHelper(edges);
307 if (edges
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPositionController.java671 int edges = getImageAtEdges();
672 if ((velocityX > 0 && (edges & IMAGE_AT_LEFT_EDGE) != 0) ||
673 (velocityX < 0 && (edges & IMAGE_AT_RIGHT_EDGE) != 0)) {
676 if ((velocityY > 0 && (edges & IMAGE_AT_TOP_EDGE) != 0) ||
677 (velocityY < 0 && (edges & IMAGE_AT_BOTTOM_EDGE) != 0)) {
1217 int edges = 0;
1219 edges |= IMAGE_AT_RIGHT_EDGE;
1222 edges |= IMAGE_AT_LEFT_EDGE;
1225 edges |= IMAGE_AT_BOTTOM_EDGE;
1228 edges |
[all...]
H A DPhotoView.java1558 int edges = controller.getImageAtEdges();
1560 if ((edges & PositionController.IMAGE_AT_TOP_EDGE) == 0
1561 || (edges & PositionController.IMAGE_AT_BOTTOM_EDGE) == 0)
1567 || (edges & PositionController.IMAGE_AT_RIGHT_EDGE) != 0)) {
1570 || (edges & PositionController.IMAGE_AT_LEFT_EDGE) != 0)) {
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.cpp40 int CDelaunay::triangulate(SEdgeVector **edges, int n_sites, int width, int height) argument
47 *edges = ev;
608 // Throw out any edges that are too far apart
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
H A DCarDrawerLayout.java1302 int edges = EDGE_DRAG_ENABLED ? ViewDragHelper.EDGE_ALL : 0;
1305 (lp.knownOpen || mDragger.isEdgeTouched(edges));

Completed in 215 milliseconds