Home
last modified time | relevance | path

Searched refs:edge (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Dialer/src/com/android/dialer/widget/
DViewDragHelper.java1291 private boolean checkNewEdgeDrag(float delta, float odelta, int pointerId, int edge) {
1295 if ((mInitialEdgesTouched[pointerId] & edge) != edge || (mTrackingEdges & edge) == 0 ||
1296 (mEdgeDragsLocked[pointerId] & edge) == edge ||
1297 (mEdgeDragsInProgress[pointerId] & edge) == edge ||
1301 if (absDelta < absODelta * 0.5f && mCallback.onEdgeLock(edge)) {
1302 mEdgeDragsLocked[pointerId] |= edge;
1305 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop;
/packages/apps/Gallery/src/com/android/camera/
DHighlightView.java242 void handleMotion(int edge, float dx, float dy) { in handleMotion() argument
244 if (edge == GROW_NONE) { in handleMotion()
246 } else if (edge == MOVE) { in handleMotion()
251 if (((GROW_LEFT_EDGE | GROW_RIGHT_EDGE) & edge) == 0) { in handleMotion()
255 if (((GROW_TOP_EDGE | GROW_BOTTOM_EDGE) & edge) == 0) { in handleMotion()
262 growBy((((edge & GROW_LEFT_EDGE) != 0) ? -1 : 1) * xDelta, in handleMotion()
263 (((edge & GROW_TOP_EDGE) != 0) ? -1 : 1) * yDelta); in handleMotion()
DCropImage.java631 int edge = hv.getHit(event.getX(), event.getY()); in recomputeFocus() local
632 if (edge != HighlightView.GROW_NONE) { in recomputeFocus()
657 int edge = hv.getHit(event.getX(), event.getY()); in onTouchEvent() local
658 if (edge != HighlightView.GROW_NONE) { in onTouchEvent()
659 mMotionEdge = edge; in onTouchEvent()
664 (edge == HighlightView.MOVE) in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java162 public boolean selectEdge(int edge) { in selectEdge() argument
163 if (!checkValid(edge)) { in selectEdge()
168 if ((mFixAspectRatio && !checkCorner(edge)) && !checkBlock(edge) && edge != MOVE_NONE) { in selectEdge()
173 mMovingEdges = edge; in selectEdge()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1507 void computeEdge(int which, int[] edge) { in computeEdge() argument
1515 if (left < edge[j] || edge[j] < 0) { in computeEdge()
1516 edge[j] = left; in computeEdge()
1523 if (right > edge[j]) { in computeEdge()
1524 edge[j] = right; in computeEdge()
1531 if (top < edge[j] || edge[j] < 0) { in computeEdge()
1532 edge[j] = top; in computeEdge()
1539 if (bottom > edge[j]) { in computeEdge()
1540 edge[j] = bottom; in computeEdge()
1551 int[] edge = getEdge(whichEdge); in isViewTouchingEdge() local
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1633 void computeEdge(int which, int[] edge) { in computeEdge() argument
1641 if (left < edge[j] || edge[j] < 0) { in computeEdge()
1642 edge[j] = left; in computeEdge()
1649 if (right > edge[j]) { in computeEdge()
1650 edge[j] = right; in computeEdge()
1657 if (top < edge[j] || edge[j] < 0) { in computeEdge()
1658 edge[j] = top; in computeEdge()
1665 if (bottom > edge[j]) { in computeEdge()
1666 edge[j] = bottom; in computeEdge()
1677 int[] edge = getEdge(whichEdge); in isViewTouchingEdge() local
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java422 EdgeEffectCompat edge = deltaX > 0 ? mLeftEdge : mRightEdge; in trackMotionScroll() local
423 edge.onPull((float) Math.abs(deltaX) / getWidth()); in trackMotionScroll()
546 final EdgeEffectCompat edge; in computeScroll() local
548 edge = mLeftEdge; in computeScroll()
550 edge = mRightEdge; in computeScroll()
552 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity())); in computeScroll()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java829 final int edge = positive ? max : min; in startAfterEdge() local
830 final int overDistance = start - edge; in startAfterEdge()
834 startBounceAfterEdge(start, edge, velocity); in startAfterEdge()
840 startSpringback(start, edge, velocity); in startAfterEdge()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DOverScrollerSGV.java828 final int edge = positive ? max : min; in startAfterEdge() local
829 final int overDistance = start - edge; in startAfterEdge()
833 startBounceAfterEdge(start, edge, velocity); in startAfterEdge()
840 startSpringback(start, edge, velocity); in startAfterEdge()
DStaggeredGridView.java1174 final EdgeEffectCompat edge = deltaY > 0 ? mTopEdge : mBottomEdge; in trackMotionScroll() local
1175 edge.onPull((float) Math.abs(deltaY) / getHeight()); in trackMotionScroll()
1382 final EdgeEffectCompat edge; in computeScroll() local
1384 edge = mTopEdge; in computeScroll()
1387 edge = mBottomEdge; in computeScroll()
1390 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity())); in computeScroll()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp622 void CDelaunay::linkNeighbors(SEdgeVector *edge, int nedge, int nsite) argument
627 sa[i].setNeighbor(edge);
629 for (; edge->first == i && nedge; edge++, nedge--) {
DDelaunay.h108 int triangulate(SEdgeVector **edge, int nsite, int width, int height);
109 void linkNeighbors(SEdgeVector *edge, int nedge, int nsite);
DBlend.cpp264 SEdgeVector *edge; in runBlend() local
265 int n = m_Triangulator.triangulate(&edge, numCenters, width, height); in runBlend()
266 m_Triangulator.linkNeighbors(edge, n, numCenters); in runBlend()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp622 void CDelaunay::linkNeighbors(SEdgeVector *edge, int nedge, int nsite) argument
627 sa[i].setNeighbor(edge);
629 for (; edge->first == i && nedge; edge++, nedge--) {
DDelaunay.h108 int triangulate(SEdgeVector **edge, int nsite, int width, int height);
109 void linkNeighbors(SEdgeVector *edge, int nedge, int nsite);
DBlend.cpp264 SEdgeVector *edge; in runBlend() local
265 int n = m_Triangulator.triangulate(&edge, numCenters, width, height); in runBlend()
266 m_Triangulator.linkNeighbors(edge, n, numCenters); in runBlend()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java82 float edge = res.getDimensionPixelSize(R.dimen.draw_rect_border_edge); in setupConstants() local
87 mBorderPaint.setStrokeWidth(edge); in setupConstants()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterEdge.java34 representation.setTextId(R.string.edge); in getDefaultRepresentation()
/packages/apps/Gallery2/jni/
DAndroid.mk30 filters/edge.c \
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1402373178, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1400639634, ...

12