/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | UsageGraph.java | 179 private boolean hasDiff(int x1, int x2) { argument 180 return Math.abs(x2 - x1) >= mCornerRadius;
|
/frameworks/base/packages/WallpaperCropper/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
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | SpotShadow.java | 54 float x2 = poly[p2 * 2 + 0]; 56 float a = (x1 * y2 - x2 * y1); 57 sumX += (x1 + x2) * a; 72 * [x0, y0, z0, x1, y1, z1, x2, ...] 324 * Note that the input values of points are paired coordinates, e.g. {@code [x0, y0, x1, y1, x2, 409 private static final boolean lineIntersection(float x1, float y1, float x2, float y2, float x3, argument 411 float d = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4); 416 float dx = (x1 * y2 - y1 * x2); 418 float x = (dx * (x3 - x4) - (x1 - x2) * dy) / d; 421 if (((x - x1) * (x - x2) > 0.000000 [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlend.cpp | 119 uint32_t x2 = xend; local 123 if (rsdIntrinsicBlend_K(out, in, info->slot, x1, x2) >= 0) 129 for (;x1 < x2; x1++, out++) { 134 for (;x1 < x2; x1++, out++, in++) { 144 if ((x1 + 8) < x2) { 145 uint32_t len = (x2 - x1) >> 3; 153 for (;x1 < x2; x1++, out++, in++) { 163 if ((x1 + 8) < x2) { 164 uint32_t len = (x2 - x1) >> 3; 172 for (;x1 < x2; x [all...] |
H A D | rsCpuIntrinsicBlur.cpp | 167 int x1, int x2) { 171 int t = (x2 - x1); 181 while(x2 > x1) { 200 const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) { 202 int len = x2 - x1; 205 while((x2 > x1) && (((uintptr_t)ptrIn) & 0x3)) { 223 if (gArchUseSIMD && (x2 > x1)) { 224 int t = (x2 - x1) >> 2; 305 uint32_t x2 = xend; local 311 stride, x1, info->current.y, x2 165 OneVFU4(float4 *out, const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) argument 199 OneVFU1(float *out, const uchar *ptrIn, int iStride, const float* gPtr, int ct, int x1, int x2) argument 376 uint32_t x2 = xend; local [all...] |
H A D | rsCpuIntrinsicResize.cpp | 336 uint32_t x2 = xend; local 339 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 346 int len = x2 - x1; 365 while(x1 < x2) { 403 uint32_t x2 = xend; local 406 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 413 int len = x2 - x1; 432 while(x1 < x2) { 470 uint32_t x2 = xend; local 473 if (gArchUseSIMD && x2 > x 537 uint32_t x2 = xend; local 577 uint32_t x2 = xend; local 617 uint32_t x2 = xend; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerFirGen.h | 251 inline double Poly3(double A, double B, double C, double x, double x2) { argument 252 return Poly2(A, B, x) + C * x2; 259 inline double Poly4(double A, double B, double C, double D, double x, double x2) { argument 260 return Poly2(A, B, x) + Poly2(C, D, x) * x2; // same as poly2(poly2, poly2, x2); 269 double x2 = x * x; local 270 return Poly4(A, B, C, D, x, x2) + Poly3(E, F, G, x, x2) * (x2 * x2); 273 Poly8(double A, double B, double C, double D, double E, double F, double G, double H, double x, double x2, double x4) argument 280 double x2 = x * x; local 375 I0SqrRat(double x2, double num, double den) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ local 1152 x2 = *((ULong*)(prev + lx)); /* load b3 b2 b1 b0, another line */ 1157 x2m = (x2 >> 2) & mask; 1159 x2 = x2 ^(x2m << 2); 1161 x1 += x2; 1163 /* x2m, x2 free */ 1172 /* x2m, x2 free */ 1173 x2 = *((ULong*)(prev += 4)); /* a11 a10 a9 a8 */ 1175 x2m = (x2 >> [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 266 float x2, float y2, float x3, float y3); 269 float x2, float y2, float x3, float y3); 265 setSourceRegion(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) argument 268 setTargetRegion(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) argument
|
/frameworks/base/tests/TouchLatency/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/base/tests/UiBench/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/compiler/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/extensions/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/integration-tests/IndependentLibrary/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/integration-tests/MultiModuleTestApp/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/integration-tests/TestApp/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/data-binding/samples/BindingDemo/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/ |
H A D | gradle-wrapper.jar | ... .Install x0
java.io.File x1
String x2
static synthetic org.gradle.wrapper.IDownload access ... |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 98 jfloat x2, jfloat y2) { 100 obj->quadTo(x1, y1, x2, y2); 110 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { 112 obj->cubicTo(x1, y1, x2, y2, x3, y3); 116 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { 118 obj->rCubicTo(x1, y1, x2, y2, x3, y3); 97 quadTo__FFFF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2) argument 109 cubicTo__FFFFFF(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument 115 rCubicTo(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 382 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 387 * @param x2 The x-coordinate of the end point on a quadratic curve 390 public void quadTo(float x1, float y1, float x2, float y2) { argument 392 nQuadTo(mNativePath, x1, y1, x2, y2); 416 * (x1,y1) and (x2,y2), and ending at (x3,y3). If no moveTo() call has been 421 * @param x2 The x-coordinate of the 2nd control point on a cubic curve 426 public void cubicTo(float x1, float y1, float x2, float y2, argument 429 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); 437 public void rCubicTo(float x1, float y1, float x2, float y2, argument 440 nRCubicTo(mNativePath, x1, y1, x2, y 831 nQuadTo(long nPath, float x1, float y1, float x2, float y2) argument 833 nCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument 835 nRCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 504 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 511 mCurrentCacheTexture->addQuad(x1, y1, u1, v1, x2, y2, u2, v2, 516 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 520 (x1 > mClip->right || y1 < mClip->top || x2 < mClip->left || y4 > mClip->bottom)) { 524 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 539 float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, 542 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 545 mBounds->left = std::min(mBounds->left, std::min(x1, std::min(x2, std::min(x3, x4)))); 547 mBounds->right = std::max(mBounds->right, std::max(x1, std::max(x2, std::max(x3, x4)))); 503 appendMeshQuadNoClip(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument 515 appendMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument 538 appendRotatedMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument
|