/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | DebugBoundsRenderer.java | 49 float x2, float y2) { 64 canvas.drawLine(x2 - size, y2, x2, y2, paint); 66 canvas.drawLine(x2, y2- size, x2, y2, paint); 70 canvas.drawLine(x1, y2, x1 + size, y2, paint); 72 canvas.drawLine(x1, y2 - size, x1, y2, paint); 76 float cY = (y1 + y2) / 48 drawBounds(Canvas canvas, Paint paint, float size, float x1, float y1, float x2, float y2) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | geometry_utils.h | 33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) { argument 35 const int dy = y1 - y2; 53 const int y2) { 54 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2))); 52 getDistanceInt(const int x1, const int y1, const int x2, const int y2) argument
|
H A D | proximity_info_utils.h | 90 const float y2) { 91 return GeometryUtils::SQUARE_FLOAT(x1 - x2) + GeometryUtils::SQUARE_FLOAT(y1 - y2); 95 const float x1, const float y1, const float x2, const float y2, const bool extend) { 99 const float ray2y = y2 - y1; 117 projectionY = y2; 89 getSquaredDistanceFloat(const float x1, const float y1, const float x2, const float y2) argument 94 pointToLineSegSquaredDistanceFloat(const float x, const float y, const float x1, const float y1, const float x2, const float y2, const bool extend) argument
|
H A D | proximity_info_state_utils.cpp | 308 const int y2 = (*sampledInputYs)[index1]; local 309 return GeometryUtils::getAngle(x1, y1, x2, y2); 530 const int y2 = yCoordinates[start]; local 533 const int beelineDistance = GeometryUtils::getDistanceInt(x2, y2, x3, y3);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | CubicBezierInterpolator.java | 31 public CubicBezierInterpolator(final float x1, final float y1, final float x2, final float y2) { argument 35 mY2 = y2;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Geometry.h | 66 double x2, double y2, 71 centY = (y0 + y1 + y2) / 3.0; 74 if (y0 == y2) 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 102 // Calculate line equation from x0,y0 to x2,y2 104 double dy = y2 - y0; 129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, argument 141 // The quad is split from x0,y0 to x2,y2 65 FindTriangleCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double &mass, double ¢X, double ¢Y) argument [all...] |
H A D | Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); 192 if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is higher 195 yBottomCorners[1] = y2; 200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); 1025 int y2 = y1 + 1; local 1030 double y2val = sptr->ptr[y2][x1] + 1031 (sptr->ptr[y2][x2] - sptr->ptr[y2][x1]) * xfrac; 1038 y2val = suptr->ptr[y2][x [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Geometry.h | 66 double x2, double y2, 71 centY = (y0 + y1 + y2) / 3.0; 74 if (y0 == y2) 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 102 // Calculate line equation from x0,y0 to x2,y2 104 double dy = y2 - y0; 129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, argument 141 // The quad is split from x0,y0 to x2,y2 65 FindTriangleCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double &mass, double ¢X, double ¢Y) argument [all...] |
H A D | Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 171 FrameToMosaic(mb->trs, mb->width-1.0, mb->height-1.0, x2, y2); 192 if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is higher 195 yBottomCorners[1] = y2; 200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); 1005 int y2 = y1 + 1; local 1010 double y2val = sptr->ptr[y2][x1] + 1011 (sptr->ptr[y2][x2] - sptr->ptr[y2][x1]) * xfrac; 1018 y2val = suptr->ptr[y2][x [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | BogusMoveEventDetector.java | 107 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { argument 108 return (int)Math.hypot(x1 - x2, y1 - y2);
|
H A D | GestureStrokeRecognitionPoints.java | 331 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { argument 332 return (int)Math.hypot(x1 - x2, y1 - y2);
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | PointCloud.java | 110 public Point(float x2, float y2, float r) { argument 112 y = (float) y2;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_metrics.h | 41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; local 74 y2=db_sqr(f[1]); 75 r2=x2+y2;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GradControl.java | 124 private boolean centerIsOutside(float x1, float y1, float x2, float y2) { argument 125 return (!mImageBounds.contains((int) ((x1 + x2) / 2), (int) ((y1 + y2) / 2)));
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 83 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 85 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); argument 87 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 89 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); argument
|
H A D | GLES11Canvas.java | 63 // x1, y1, x2, y2. 195 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { argument 203 scale(x2 - x1, y2 - y1, 1); 318 // {x1', y1', x2', y2'} are stored in mMapPointsBuffer and also returned. 319 private float[] mapPoints(float m[], int x1, int y1, int x2, int y2) { argument 329 // Same for x2 y2. 330 float x4 = m[0] * x2 + m[4] * y2 + m[12]; 331 float y4 = m[1] * x2 + m[5] * y2 + m[13]; 332 float w4 = m[3] * x2 + m[7] * y2 + m[15];
|
H A D | GLES20Canvas.java | 479 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { argument 480 draw(GLES20.GL_LINE_STRIP, OFFSET_DRAW_LINE, COUNT_LINE_VERTEX, x1, y1, x2 - x1, y2 - y1,
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 81 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 83 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); argument 85 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 87 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); argument
|
H A D | GLES20Canvas.java | 477 public void drawLine(float x1, float y1, float x2, float y2, GLPaint paint) { argument 478 draw(GLES20.GL_LINE_STRIP, OFFSET_DRAW_LINE, COUNT_LINE_VERTEX, x1, y1, x2 - x1, y2 - y1,
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_metrics.h | 41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; local 74 y2=db_sqr(f[1]); 75 r2=x2+y2;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | PointerTracker.java | 479 private static int getDistance(final int x1, final int y1, final int x2, final int y2) { argument 480 return (int)Math.hypot(x1 - x2, y1 - y2);
|
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |