/external/skia/src/pdf/ |
SkPDFShader.cpp | 238 SkScalar dy = info.fPoint[0].fY - info.fPoint[1].fY; local 240 SkScalar a = SkScalarMul(dx, dx) + SkScalarMul(dy, dy) - SK_Scalar1; 249 function.appendScalar(dy); 285 SkScalar dy = info.fPoint[1].fY - info.fPoint[0].fY; local 288 SkScalar a = SkScalarMul(dx, dx) + SkScalarMul(dy, dy) - 299 // Calculate b and b^2; b = -2 * (y * dy + x * dx + r0 * dr). 300 function.appendScalar(dy); [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
motion_comp.cpp | 25 /* (blkwidth << 2) + (dy << 1) + dx */ 128 int dx, dy; local 133 dy = y_pos & 3; 138 if (dx == 0 && dy == 0) 146 else if (dy == 0) 158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy); 160 else if (dy == 2) 175 eVertInterp3MC(&temp2[2][0], 21, pred, pred_pitch, blkwidth, blkheight, dy); 180 ref2 = ref + (y_pos + (dy / 2)) * picpitch + x_pos; 782 int blkwidth, int blkheight, int dy) 1810 int dx, dy; local [all...] |
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 354 * @param dy Vertical distance to travel. Positive numbers will scroll the 357 public void startScroll(int startX, int startY, int dx, int dy) { 358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 370 * @param dy Vertical distance to travel. Positive numbers will scroll the 374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { 377 mScrollerY.startScroll(startY, dy, duration); 535 final int dy = mScrollerY.mFinal - mScrollerY.mStart; local 537 Math.signum(yvel) == Math.signum(dy); 623 float y, dy; typedefs 627 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | 250 float dy = ps.mTraceY[N - 1] - ps.mTraceY[0]; local 258 Math.abs(dy) < mVC.getScaledTouchSlop() 261 .append("dY: ").append(dy, 1) [all...] |
SlidingTab.java | 239 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() local 242 Animation trans = new TranslateAnimation(0, dx, 0, dy); 257 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); local 259 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0); 300 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() local 303 TranslateAnimation trans = new TranslateAnimation(0, dx, 0, dy); 313 text.offsetTopAndBottom(dy); 314 tab.offsetTopAndBottom(dy); 641 final int dy; 650 dy = 0 [all...] |
WaveView.java | 540 final float dy = event.getY() - mUnlockHalo.getY(); local 541 float dist = (float) Math.hypot(dx, dy);
|
/frameworks/base/core/jni/android/graphics/ |
Canvas.cpp | 205 static void translate(JNIEnv* env, jobject jcanvas, jfloat dx, jfloat dy) { 208 SkScalar dy_ = SkFloatToScalar(dy); 619 const SkScalar dy = h / meshHeight; local 635 y += dy; [all...] |
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 298 float dy = y1 - y0; local 301 *pSphere++ = y0 + dy * 0.5f; 303 *pSphere++ = distance(dx, dy, dz) * 0.5f;
|
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 959 float dy = p2y - p1y; local 1004 float dy = by - ay; local [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaImageItem.java | 950 float dy = ((float)nativeHeight) \/ ((float)height); local [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
SlidingChallengeLayout.java | 405 final int dy = y - sy; local 406 if (dy == 0) { 415 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dy) / childHeight); 424 final float childDelta = (float) Math.abs(dy) / childHeight; 429 mScroller.startScroll(0, sy, 0, dy, duration); [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 1153 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); local 1324 double dy = prevY - firstY; local [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
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*dy* 221 float dx,dy; local 1476 float dy = (fxx * fy - fxy * fx) \/ denom; local [all...] |
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
Blend.cpp | 1153 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); local 1324 double dy = prevY - firstY; local [all...] |
/packages/apps/Camera2/jni/feature_stab/db_vlvm/ |
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*dy* 221 float dx,dy; local 1476 float dy = (fxx * fy - fxy * fx) \/ denom; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 358 * @param dy Vertical distance to travel. Positive numbers will scroll the 361 public void startScroll(int startX, int startY, int dx, int dy) { 362 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 374 * @param dy Vertical distance to travel. Positive numbers will scroll the 378 public void startScroll(int startX, int startY, int dx, int dy, int duration) { 381 mScrollerY.startScroll(startY, dy, duration); 539 final int dy = mScrollerY.mFinal - mScrollerY.mStart; local 541 Math.signum(yvel) == Math.signum(dy); 627 float y, dy; typedefs 631 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
CropImage.java | 238 int dy = (srcRect.height() - dstRect.height()) / 2; local 241 srcRect.inset(Math.max(0, dx), Math.max(0, dy)); 244 dstRect.inset(Math.max(0, -dx), Math.max(0, -dy));
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
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) { 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) { 379 mScrollerY.startScroll(startY, dy, duration); 537 final int dy = mScrollerY.mFinal - mScrollerY.mStart; local 539 Math.signum(yvel) == Math.signum(dy); 625 float y, dy; typedefs 629 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 348 float dy = (h - ph) / 2f; local 350 compensation.postTranslate(dx, dy);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 1133 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); local 1304 double dy = prevY - firstY; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
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*dy* 221 float dx,dy; local 1476 float dy = (fxx * fy - fxy * fx) \/ denom; local [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 316 float dy = y - sy; local 317 return (float) Math.sqrt(dx * dx + dy * dy);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheel.java | 260 double dy = mCenterY - event.getY(); local 261 double radius = Math.sqrt(dx * dx + dy * dy); 265 double delta = Math.atan2(dy, dx);
|
/system/core/libpixelflinger/ |
trap.cpp | 357 const GGLcoord dy = abs(v0[1] - v1[1]); local 365 ((dx > dy) ? ny : nx) = halfWidth; 386 const GGLcoord dy = v0[1] - v1[1]; local 387 GGLcoord nx = -dy; 609 // x = y*DX/DY (ou DX and DY are constants, DY > 0, et y >= 0) 615 // x' - x = y*(DX/DY - K/2^p) = y*e 617 // If we choose K = round(DX*2^p/DY) then, 620 // therefore abs(x'-x) = y*abs(e) <= y/2^(p+1) <= DY/2^(p+1) <= DMAX/2^(p+1 680 int dy = y2 - y1; local 869 int dy = y2 - y1; local 1070 int32_t dy = y - yt; local 1123 int32_t dy = y - yt; local [all...] |
/development/ndk/platforms/android-3/include/linux/ |
fb.h | 298 __u32 dy; member in struct:fb_copyarea 307 __u32 dy; member in struct:fb_fillrect 316 __u32 dy; member in struct:fb_image
|