Searched defs:x0 (Results 1 - 11 of 11) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DGeometry.h65 inline void FindTriangleCentroid(double x0, double y0, double x1, double y1, argument
70 centX = (x0 + x1 + x2) / 3.0;
76 if (x0 == x1)
78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a
82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b
85 else if (x0 == x2)
87 if (x0 == x1)
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) * (y
129 FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double &centX, double &centY) argument
[all...]
H A DBlend.cpp144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local
169 FrameToMosaic(mb->trs, 0.0, 0.0, x0, y0);
174 if(x0 < xLeftCorners[0] || x1 < xLeftCorners[1]) // If either of the left corners is lower
176 xLeftCorners[0] = x0;
200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y);
/packages/services/Telecomm/libs/
H A Dguava.jar ... .TimeoutException java.util.concurrent.ExecutionException long x0 java.util.concurrent.TimeUnit x1 synthetic void ...
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DDynamicGridKeyboard.java234 public void updateCoordinates(final int x0, final int y0, final int x1, final int y1) { argument
235 mCurrentX = x0;
237 getHitBox().set(x0, y0, x1, y1);
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmActivity.java558 private float getFraction(float x0, float x1, float x) { argument
559 return Math.max(Math.min((x - x0) / (x1 - x0), 1.0f), 0.0f);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DTiledTexture.java256 // (x0,y0) source +---------------+
266 RectF src, float x0, float y0, float x, float y, float scaleX,
268 output.set(x + (src.left - x0) * scaleX,
270 x + (src.right - x0) * scaleX,
317 float x0 = source.left;
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/apps/Launcher3/src/com/android/launcher3/
H A DInvariantDeviceProfile.java255 @Thunk float dist(float x0, float y0, float x1, float y1) { argument
256 return (float) Math.hypot(x1 - x0, y1 - y0);
327 private float weight(float x0, float y0, float x1, float y1, float pow) { argument
328 float d = dist(x0, y0, x1, y1);
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_metrics.h121 double x0,x1,x2,mult; local
124 x0=H[0]*x[0]+H[1]*x[1]+H[2]*x[2];
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult));
135 double x0,x1,x2,mult; local
138 x0=H[0]*x[0]+H[1]*x[1]+H[2];
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult));
174 [x0 x1 1 0 0 0 0 0 0]
175 [ 0 0 0 x0 x1 1 0 0 0]
176 [ 0 0 0 0 0 0 x0 x1 1]
178 [-x0/z
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.h554 double x0,x1,x2,mult; local
557 x0=H[0]*x[0]+H[1]*x[1]+H[2];
561 sd=(y[0]-x0*mult)*(y[0]-x0*mult)+(y[1]-x1*mult)*(y[1]-x1*mult);
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jar ... .lang.String, java.lang.String) String x0 String x1 static void " href="/9.0.0_r3 ...
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_state_utils.cpp490 const int x0 = (*sampledInputXs)[id]; local
500 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[start],
514 tempBeelineDistance = GeometryUtils::getDistanceInt(x0, y0, xCoordinates[end],

Completed in 276 milliseconds