Searched defs:dy (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DGeometry.h104 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 DDelaunay.cpp475 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 DBlend.cpp1133 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/apps/Gallery/src/com/android/camera/
H A DHighlightView.java240 // 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 DImageViewTouchBase.java399 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 DViewImage.java1102 protected void postTranslateCenter(float dx, float dy) { argument
1103 super.postTranslate(dx, dy);
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DImageViewTouchBase.java223 * @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);
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java1268 * @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/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java478 MotionEvent e1, MotionEvent e2, float dx, float dy) {
484 mPositionController.startScroll(dx, dy, next.isEnabled(),
477 onScroll( MotionEvent e1, MotionEvent e2, float dx, float dy) argument
H A DPositionController.java331 private void scrollBy(float dx, float dy, int type) { argument
333 getTargetY() + Math.round(dy / mCurrentScale),
337 public void startScroll(float dx, float dy, boolean hasNext, argument
340 int y = getTargetY() + Math.round(dy / mCurrentScale);
/packages/apps/Camera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp121 /***************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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DLatinIME.java982 public void onExtractedCursorMovement(int dx, int dy) { argument
985 super.onExtractedCursorMovement(dx, dy);

Completed in 966 milliseconds