Searched refs:edge (Results 1 - 22 of 22) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterEdge.java34 representation.setTextId(R.string.edge);
/packages/apps/Gallery2/jni/
H A DAndroid.mk31 filters/edge.c \
/packages/apps/Camera2/src/com/android/camera/crop/
H A DCropObject.java160 public boolean selectEdge(int edge) { argument
161 if (!checkValid(edge)) {
163 throw new IllegalArgumentException("bad edge selected");
166 if ((mFixAspectRatio && !checkCorner(edge)) && !checkBlock(edge) && edge != MOVE_NONE) {
171 mMovingEdges = edge;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropObject.java162 public boolean selectEdge(int edge) { argument
163 if (!checkValid(edge)) {
165 throw new IllegalArgumentException("bad edge selected");
168 if ((mFixAspectRatio && !checkCorner(edge)) && !checkBlock(edge) && edge != MOVE_NONE) {
173 mMovingEdges = edge;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DDelaunay.h33 // Reference for Quad-edge data structure:
108 int triangulate(SEdgeVector **edge, int nsite, int width, int height);
109 void linkNeighbors(SEdgeVector *edge, int nedge, int nsite);
H A DDelaunay.cpp129 // Quad-edge manipulation primitives
189 // Quad-edge storage allocation
622 void CDelaunay::linkNeighbors(SEdgeVector *edge, int nedge, int nsite) argument
627 sa[i].setNeighbor(edge);
629 for (; edge->first == i && nedge; edge++, nedge--) {
H A DBlend.cpp264 SEdgeVector *edge; local
265 int n = m_Triangulator.triangulate(&edge, numCenters, width, height);
266 m_Triangulator.linkNeighbors(edge, n, numCenters);
/packages/apps/Camera2/jni/feature_mos/src/mosaic/
H A DDelaunay.h33 // Reference for Quad-edge data structure:
108 int triangulate(SEdgeVector **edge, int nsite, int width, int height);
109 void linkNeighbors(SEdgeVector *edge, int nedge, int nsite);
H A DDelaunay.cpp129 // Quad-edge manipulation primitives
189 // Quad-edge storage allocation
622 void CDelaunay::linkNeighbors(SEdgeVector *edge, int nedge, int nsite) argument
627 sa[i].setNeighbor(edge);
629 for (; edge->first == i && nedge; edge++, nedge--) {
H A DBlend.cpp264 SEdgeVector *edge; local
265 int n = m_Triangulator.triangulate(&edge, numCenters, width, height);
266 m_Triangulator.linkNeighbors(edge, n, numCenters);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DDelaunay.h33 // Reference for Quad-edge data structure:
108 int triangulate(SEdgeVector **edge, int nsite, int width, int height);
109 void linkNeighbors(SEdgeVector *edge, int nedge, int nsite);
H A DDelaunay.cpp129 // Quad-edge manipulation primitives
189 // Quad-edge storage allocation
622 void CDelaunay::linkNeighbors(SEdgeVector *edge, int nedge, int nsite) argument
627 sa[i].setNeighbor(edge);
629 for (; edge->first == i && nedge; edge++, nedge--) {
H A DBlend.cpp264 SEdgeVector *edge; local
265 int n = m_Triangulator.triangulate(&edge, numCenters, width, height);
266 m_Triangulator.linkNeighbors(edge, n, numCenters);
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java212 // the bottom edge (with some tolerance). Similar for horizCheck.
218 // Check whether the position is near some edge(s).
232 // Not near any edge but inside the rectangle: move.
241 // The "edge" parameter specifies which edges the user is dragging.
242 void handleMotion(int edge, float dx, float dy) { argument
244 if (edge == GROW_NONE) {
246 } else if (edge == MOVE) {
251 if (((GROW_LEFT_EDGE | GROW_RIGHT_EDGE) & edge) == 0) {
255 if (((GROW_TOP_EDGE | GROW_BOTTOM_EDGE) & edge) == 0) {
262 growBy((((edge
[all...]
H A DCropImage.java631 int edge = hv.getHit(event.getX(), event.getY());
632 if (edge != HighlightView.GROW_NONE) {
657 int edge = hv.getHit(event.getX(), event.getY());
658 if (edge != HighlightView.GROW_NONE) {
659 mMotionEdge = edge;
664 (edge == HighlightView.MOVE)
709 // the edge of the screen causes scrolling but it means
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java232 * @param x Left or right edge of the view to add
233 * @param forward If true, align left edge to x and increase position.
234 * If false, align right edge to x and decrease position.
354 // Break fling velocity if we impacted an edge.
422 EdgeEffectCompat edge = deltaX > 0 ? mLeftEdge : mRightEdge;
423 edge.onPull((float) Math.abs(deltaX) / getWidth());
546 final EdgeEffectCompat edge;
548 edge = mLeftEdge;
550 edge = mRightEdge;
552 edge
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DOverScrollerSGV.java89 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
106 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
804 // Simulate a bounce that started from edge
828 final int edge = positive ? max : min;
829 final int overDistance = start - edge;
833 startBounceAfterEdge(start, edge, velocity);
840 startSpringback(start, edge, velocity);
851 // edge is increasing. This ensures that startAfterEdge will not start a new fling.
857 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
878 // If the animation was clamped, we reached the edge
[all...]
H A DStaggeredGridView.java469 * (meaning that the top edge of the children views in the first row of the grid can be
979 // Break fling velocity if we impacted an edge.
1174 final EdgeEffectCompat edge = deltaY > 0 ? mTopEdge : mBottomEdge;
1175 edge.onPull((float) Math.abs(deltaY) / getHeight());
1382 final EdgeEffectCompat edge;
1384 edge = mTopEdge;
1387 edge = mBottomEdge;
1390 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity()));
1826 // is laid out in, slide towards the nearest side edge.
1995 // is laid out in, slide towards the nearest side edge
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java87 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
104 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
805 // Simulate a bounce that started from edge
829 final int edge = positive ? max : min;
830 final int overDistance = start - edge;
834 startBounceAfterEdge(start, edge, velocity);
840 startSpringback(start, edge, velocity);
851 // edge is increasing. This ensures that startAfterEdge will not start a new fling.
857 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
878 // If the animation was clamped, we reached the edge
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageDraw.java82 float edge = res.getDimensionPixelSize(R.dimen.draw_rect_border_edge);
87 mBorderPaint.setStrokeWidth(edge);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java1633 void computeEdge(int which, int[] edge) { argument
1641 if (left < edge[j] || edge[j] < 0) {
1642 edge[j] = left;
1649 if (right > edge[j]) {
1650 edge[j] = right;
1657 if (top < edge[j] || edge[j] < 0) {
1658 edge[j] = top;
1665 if (bottom > edge[
1817 sortConfigurationForEdgePush(int edge) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DCellLayout.java1608 void computeEdge(int which, int[] edge) { argument
1616 if (left < edge[j] || edge[j] < 0) {
1617 edge[j] = left;
1624 if (right > edge[j]) {
1625 edge[j] = right;
1632 if (top < edge[j] || edge[j] < 0) {
1633 edge[j] = top;
1640 if (bottom > edge[
1792 sortConfigurationForEdgePush(int edge) argument
[all...]

Completed in 2798 milliseconds