Home
last modified time | relevance | path

Searched refs:edges (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DCropView.java121 final RectF edges = mTempEdges; in getCrop() local
122 getEdgesHelper(edges); in getCrop()
125 float cropLeft = -edges.left / scale; in getCrop()
126 float cropTop = -edges.top / scale; in getCrop()
203 final RectF edges = mTempEdges; in moveToLeft() local
204 getEdgesHelper(edges); in moveToLeft()
206 mCenterX += Math.ceil(edges.left / scale); in moveToLeft()
286 final RectF edges = mTempEdges; in onTouchEvent() local
287 getEdgesHelper(edges); in onTouchEvent()
297 if (edges.left > 0) { in onTouchEvent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java671 int edges = getImageAtEdges(); in flingPage() local
672 if ((velocityX > 0 && (edges & IMAGE_AT_LEFT_EDGE) != 0) || in flingPage()
673 (velocityX < 0 && (edges & IMAGE_AT_RIGHT_EDGE) != 0)) { in flingPage()
676 if ((velocityY > 0 && (edges & IMAGE_AT_TOP_EDGE) != 0) || in flingPage()
677 (velocityY < 0 && (edges & IMAGE_AT_BOTTOM_EDGE) != 0)) { in flingPage()
1217 int edges = 0; in getImageAtEdges() local
1219 edges |= IMAGE_AT_RIGHT_EDGE; in getImageAtEdges()
1222 edges |= IMAGE_AT_LEFT_EDGE; in getImageAtEdges()
1225 edges |= IMAGE_AT_BOTTOM_EDGE; in getImageAtEdges()
1228 edges |= IMAGE_AT_TOP_EDGE; in getImageAtEdges()
[all …]
DPhotoView.java1559 int edges = controller.getImageAtEdges();
1561 if ((edges & PositionController.IMAGE_AT_TOP_EDGE) == 0
1562 || (edges & PositionController.IMAGE_AT_BOTTOM_EDGE) == 0)
1568 || (edges & PositionController.IMAGE_AT_RIGHT_EDGE) != 0)) {
1571 || (edges & PositionController.IMAGE_AT_LEFT_EDGE) != 0)) {
/packages/apps/Dialer/src/com/android/dialer/widget/
DViewDragHelper.java1404 public boolean isEdgeTouched(int edges) {
1407 if (isEdgeTouched(edges, i)) {
1424 public boolean isEdgeTouched(int edges, int pointerId) {
1425 return isPointerDown(pointerId) && (mInitialEdgesTouched[pointerId] & edges) != 0;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp40 int CDelaunay::triangulate(SEdgeVector **edges, int n_sites, int width, int height) in triangulate() argument
47 *edges = ev; in triangulate()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp40 int CDelaunay::triangulate(SEdgeVector **edges, int n_sites, int width, int height) in triangulate() argument
47 *edges = ev; in triangulate()
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile1524 # from the root by following a path via at most 3 edges will be shown. Nodes
1535 # enabling this option may lead to badly anti-aliased labels on the edges of
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile1524 # from the root by following a path via at most 3 edges will be shown. Nodes
1535 # enabling this option may lead to badly anti-aliased labels on the edges of
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile1524 # from the root by following a path via at most 3 edges will be shown. Nodes
1535 # enabling this option may lead to badly anti-aliased labels on the edges of
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile1524 # from the root by following a path via at most 3 edges will be shown. Nodes
1535 # enabling this option may lead to badly anti-aliased labels on the edges of
/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.gz