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

/packages/apps/DevCamera/src/com/android/devcamera/
H A DCameraInterface.java151 void setCaptureFlow(Boolean yuv1, Boolean yuv2, Boolean raw10, Boolean nr, Boolean edge, Boolean face); argument
153 void setReprocessingFlow(Boolean nr, Boolean edge); argument
H A DApi2Camera.java57 * where individual streams and capture options (e.g. edge enhancement,
225 // Clamp to edge is only option.
470 public void setCaptureFlow(Boolean yuv1, Boolean yuv2, Boolean raw10, Boolean nr, Boolean edge, Boolean face) { argument
477 if (edge) {
491 public void setReprocessingFlow(Boolean nr, Boolean edge) { argument
495 if (edge) {
/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.mk30 filters/edge.c \
/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/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java86 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
103 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
802 // Simulate a bounce that started from edge
826 final int edge = positive ? max : min;
827 final int overDistance = start - edge;
831 startBounceAfterEdge(start, edge, velocity);
837 startSpringback(start, edge, velocity);
848 // edge is increasing. This ensures that startAfterEdge will not start a new fling.
854 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
875 // 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/services/Car/car-ui-provider/src/android/car/ui/provider/
H A DCarDrawerLayout.java56 * interactive "drawer" views to be pulled out from the edge of the window.
372 * @param shadowDrawable Shadow drawable to use at the edge of a drawer
1005 final int edge;
1007 edge = ViewDragHelper.EDGE_LEFT;
1009 edge = ViewDragHelper.EDGE_RIGHT;
1014 return mDragger.isEdgeTouched(edge) ||
1022 // If we have an edge touch we want to skip this and track it for later instead.
/packages/apps/Launcher3/src/com/android/launcher3/
H A DCellLayout.java1577 public void sortConfigurationForEdgePush(int edge) { argument
1578 comparator.whichEdge = edge;
1592 // Determine the edge of the cluster that will be leading the push and how far
1626 // left edge, we consider sort the views by their right edge, from right to left.
1631 // For each view that isn't in the cluster, we see if the leading edge of the
1632 // cluster is contacting the edge of that view. If so, we add that view to the

Completed in 643 milliseconds