/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Geometry.h | 65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, argument 71 centY = (y0 + y1 + y2) / 3.0; 74 if (y0 == y2) 78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a 82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b 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 FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double ¢X, double ¢Y) argument [all...] |
H A D | Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0); 186 if(y0 < yTopCorners[0] || y3 < yTopCorners[1]) // If either of the top corners is lower 188 yTopCorners[0] = y0; 200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InvariantDeviceProfile.java | 239 @Thunk float dist(float x0, float y0, float x1, float y1) { argument 240 return (float) Math.hypot(x1 - x0, y1 - y0); 295 private float weight(float x0, float y0, float x1, float y1, float pow) { argument 296 float d = dist(x0, y0, x1, y1);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | DynamicGridKeyboard.java | 234 public void updateCoordinates(final int x0, final int y0, final int x1, final int y1) { argument 236 mCurrentY = y0; 237 getHitBox().set(x0, y0, x1, y1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | TiledTexture.java | 256 // (x0,y0) source +---------------+ 266 RectF src, float x0, float y0, float x, float y, float scaleX, 269 y + (src.top - y0) * scaleY, 271 y + (src.bottom - y0) * scaleY); 318 float y0 = source.top; 330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); 265 mapRect(RectF output, RectF src, float x0, float y0, float x, float y, float scaleX, float scaleY) argument
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info_state_utils.cpp | 491 const int y0 = (*sampledInputYs)[id]; local 500 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[start], 514 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[end],
|