/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageTinyPlanet.java | 43 protected static float angleFor(float dx, float dy) { argument 44 return (float) (Math.atan2(dx, dy) * 180 / Math.PI);
|
H A D | GeometryMetadata.java | 345 public Matrix buildGeometryMatrix(float width, float height, float scaling, float dx, float dy, argument 353 m.postTranslate(dx, dy); 358 public Matrix buildGeometryMatrix(float width, float height, float scaling, float dx, float dy, argument 364 return buildGeometryMatrix(width, height, scaling, dx, dy, rot); 368 public Matrix buildGeometryUIMatrix(float scaling, float dx, float dy) { argument 371 return buildGeometryMatrix(w, h, scaling, dx, dy, false);
|
H A D | ImageCrop.java | 417 private RectF fixedCornerResize(RectF r, int moving_corner, float dx, float dy){ argument 422 + dy); 425 + dy); 427 newCrop = new RectF(r.right - r.width() + dx, r.bottom - r.height() + dy, 430 newCrop = new RectF(r.left, r.bottom - r.height() + dy, r.left 478 float dy = 0; 484 dy = Math.min(cropped.top + deltaY, cropped.bottom - minWidthHeight) - cropped.top; 491 dy = Math.max(cropped.bottom + deltaY, cropped.top + minWidthHeight) 504 float[] disp = {dx, dy}; 508 dy [all...] |
H A D | ImageGeometry.java | 77 protected static float angleFor(float dx, float dy) { argument 78 return (float) (Math.atan2(dx, dy) * 180 / Math.PI);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Geometry.h | 104 double dy = y2 - y0; local 106 double len1 = sqrt(dx * dx + dy * dy); 107 double m1 = dy / dx; 119 dy = y1 - m1 * x + b1; 120 mass = len1 * sqrt(dx * dx + dy * dy);
|
H A D | Delaunay.cpp | 475 double adx, ady, bdx, bdy, cdx, cdy, dx, dy, nad, nbd, ncd; local 477 dy = sa[d].Y(); 479 ady = sa[a].Y() - dy; 481 bdy = sa[b].Y() - dy; 483 cdy = sa[c].Y() - dy;
|
H A D | Blend.cpp | 1153 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); local 1155 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; 1161 if ((inter = m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / dx) < brect.rgt) 1167 if ((inter = -m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / dx) > brect.lft) 1170 if (dy > epsilon) 1173 if ((inter = m_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) < brect.top) 1176 else if (dy < -epsilon) 1179 if ((inter = -m_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) > brec 1324 double dy = prevY - firstY; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ColorSpaceMatrix.java | 119 private void zShearMatrix(float dx, float dy) argument 125 tmp[6] = dy;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Geometry.h | 104 double dy = y2 - y0; local 106 double len1 = sqrt(dx * dx + dy * dy); 107 double m1 = dy / dx; 119 dy = y1 - m1 * x + b1; 120 mass = len1 * sqrt(dx * dx + dy * dy);
|
H A D | Delaunay.cpp | 475 double adx, ady, bdx, bdy, cdx, cdy, dx, dy, nad, nbd, ncd; local 477 dy = sa[d].Y(); 479 ady = sa[a].Y() - dy; 481 bdy = sa[b].Y() - dy; 483 cdy = sa[c].Y() - dy;
|
H A D | Blend.cpp | 1133 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); local 1135 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; 1141 if ((inter = m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / dx) < brect.rgt) 1147 if ((inter = -m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / dx) > brect.lft) 1150 if (dy > epsilon) 1153 if ((inter = m_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) < brect.top) 1156 else if (dy < -epsilon) 1159 if ((inter = -m_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) > brec 1304 double dy = prevY - firstY; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
H A D | geometry_utils.h | 48 const int dy = y1 - y2; local 49 if (dx == 0 && dy == 0) return 0; 50 return atan2f(static_cast<float>(dy), static_cast<float>(dx));
|
H A D | proximity_info.cpp | 168 const int dy = y - edgeY; local 169 return dx * dx + dy * dy;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | HighlightView.java | 240 // Handles motion (dx, dy) in screen space. 242 void handleMotion(int edge, float dx, float dy) { argument 249 dy * (mCropRect.height() / r.height())); 256 dy = 0; 261 float yDelta = dy * (mCropRect.height() / r.height()); 267 // Grows the cropping rectange by (dx, dy) in image space. 268 void moveBy(float dx, float dy) { argument 271 mCropRect.offset(dx, dy); 288 // Grows the cropping rectange by (dx, dy) in image space. 289 void growBy(float dx, float dy) { argument [all...] |
H A D | ImageViewTouchBase.java | 399 protected void postTranslate(float dx, float dy) { argument 400 mSuppMatrix.postTranslate(dx, dy); 403 protected void panBy(float dx, float dy) { argument 404 postTranslate(dx, dy);
|
H A D | ViewImage.java | 1102 protected void postTranslateCenter(float dx, float dy) { argument 1103 super.postTranslate(dx, dy);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GestureRecognizer.java | 34 boolean onScroll(float dx, float dy, float totalX, float totalY); argument 89 MotionEvent e1, MotionEvent e2, float dx, float dy) { 91 dx, dy, e2.getX() - e1.getX(), e2.getY() - e1.getY()); 88 onScroll( MotionEvent e1, MotionEvent e2, float dx, float dy) argument
|
H A D | PositionController.java | 577 public void scrollPage(int dx, int dy) { argument 586 int y = b.mCurrentY + dy; 650 public void scrollFilmY(int boxIndex, int dy) { argument 654 int y = b.mCurrentY + dy;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Scroller.java | 314 * @param dy Vertical distance to travel. Positive numbers will scroll the 317 public void startScroll(int startX, int startY, int dx, int dy) { argument 318 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 330 * @param dy Vertical distance to travel. Positive numbers will scroll the 334 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 342 mFinalY = startY + dy; 344 mDeltaY = dy; 374 float dy = mFinalY - mStartY; 375 float hyp = FloatMath.sqrt(dx * dx + dy * dy); [all...] |
H A D | OverScroller.java | 356 * @param dy Vertical distance to travel. Positive numbers will scroll the 359 public void startScroll(int startX, int startY, int dx, int dy) { argument 360 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 372 * @param dy Vertical distance to travel. Positive numbers will scroll the 376 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 379 mScrollerY.startScroll(startY, dy, duration); 537 final int dy = mScrollerY.mFinal - mScrollerY.mStart; 539 Math.signum(yvel) == Math.signum(dy); 625 float y, dy; 629 dy [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | ImageViewTouchBase.java | 223 * @param dy The vertical offset 225 public void postTranslateCenter(float dx, float dy) { argument 226 mSuppMatrix.postTranslate(dx, dy); 235 * @param dy Pan by this vertical amount 237 private void panBy(float dx, float dy) { argument 238 mSuppMatrix.postTranslate(dx, dy);
|
H A D | HorizontalScrollView.java | 1123 * @param dy the number of pixels to scroll by on the Y axis 1125 public final void smoothScrollBy(int dx, int dy) { argument 1144 scrollBy(dx, dy);
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | ScrollerView.java | 1268 * @param dy the number of pixels to scroll by on the Y axis 1270 public final void smoothScrollBy(int dx, int dy) { argument 1289 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY; 1290 mScroller.startScroll(mScrollX, scrollY, 0, dy); 1301 scrollBy(dx, dy);
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 121 /***************dy part 13-24*********************************/ 137 pmullw mm4,mm2 /*27 Multiply dx*dy*/ 138 pmullw mm2,mm2 /*28 Multiply dy*dy*/ 147 movq mm0,mm4 /*37 Copy dx*dy*/ 149 pcmpgtw mm6,mm4 /*38 Create unpack mask for dx*dy*/ 150 punpcklwd mm4,mm6 /*39 Unpack dx*dy lows*/ 152 punpckhwd mm0,mm6 /*40 Unpack dx*dy highs*/ 154 movq [edx+512],mm4 /*41 Store dx*dy lows*/ 155 movq mm5,mm2 /*44 Copy dy*d 221 float dx,dy; local 1476 float dy = (fxx * fy - fxy * fx) / denom; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
H A D | GlowPadView.java | 989 private void computeInsets(int dx, int dy) { argument 1010 mVerticalInset = dy; 1014 mVerticalInset = dy / 2; 1097 private float dist2(float dx, float dy) { argument 1098 return dx*dx + dy*dy;
|