/frameworks/support/transition/src/android/support/transition/ |
H A D | CircularPropagation.java | 100 private static float distance(float x1, float y1, float x2, float y2) { argument 102 float y = y2 - y1;
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 867 private void drawLine(Canvas graphics, int x1, int y1, int x2, int y2, Paint paint) { argument 870 graphics.drawLine(width - x1, y1, width - x2, y2, paint); 872 graphics.drawLine(x1, y1, x2, y2, paint); 1044 int y2 = vLocations[rowSpan.max]; 1047 int cellHeight = y2 - y1;
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | PathInterpolatorCompat.java | 114 float y2 = TypedArrayUtils.getNamedFloat(a, parser, "controlY2", 116 initCubic(x1, y1, x2, y2); 128 private void initCubic(float x1, float y1, float x2, float y2) { argument 131 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 81 const void *y2, const short *coef, uint32_t count); 192 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); 239 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); 284 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 285 const uchar *py0 = (const uchar *)(pin + stride * y2); 329 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local 330 const float4 *py0 = (const float4 *)(pin + stride * y2); 374 uint32_t y2 local 418 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); local [all...] |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 340 const void *y2, const void *y3, const void *y4, 356 uint32_t y2 = info->current.y; local 362 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2); 416 uint32_t y2 = info->current.y; local 422 const uchar2 *py2 = (const uchar2 *)(pin + stride * y2); 465 uint32_t y2 = info->current.y; local 471 const uchar *py2 = (const uchar *)(pin + stride * y2); 514 uint32_t y2 = info->current.y; local 520 const float4 *py2 = (const float4 *)(pin + stride * y2); 563 uint32_t y2 local 612 uint32_t y2 = info->current.y; local [all...] |
H A D | rsCpuIntrinsics_x86.cpp | 80 const void *y1, const void *y2, 108 p8 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2)), _mm_setzero_si128()); 109 p9 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+1)), _mm_setzero_si128()); 110 p10 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+2)), _mm_setzero_si128()); 111 p11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+3)), _mm_setzero_si128()); 137 y2 = (const char *)y2 + 8; 154 __m128i x2, y2, z2, w2; local 171 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x55)); 176 y2 79 rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count) argument 210 __m128i x2, y2, z2, w2; local 262 __m128i x2, y2, z2, w2; local 455 __m128i y1, y2, y3, y4; local 517 __m128i y1, y2, y3, y4; local 578 __m128i y1, y2, y3, y4; local 596 rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1, const void *y2, const void *y3, const void *y4, const short *coef, uint32_t count) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 854 float x2, float y2, float z2, float u2, float v2, 870 //ALOGE("%4.2f, %4.2f, %4.2f", x2, y2, z2); 874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; 888 float x2, float y2, float z2, 892 x2, y2, z2, 1, 1, 1018 void rsgDrawRect(float x1, float y1, float x2, float y2, float z) { argument 1019 SC_DrawQuad(x1, y2, z, 1020 x2, y2, z, 1026 float x2, float y2, float z2, 1030 x2, y2, z 853 SC_DrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument 887 SC_DrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) argument 1025 rsgDrawQuad(float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4) argument 1035 rsgDrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 665 float x2, float y2, float z2, 680 ALOGE("V1 x: %f y: %f z: %f", x2, y2, z2); 692 (*currentPos++) = y2; 663 appendMeshQuad(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 107 inline static float distance(float x1, float y1, float x2, float y2) { argument 108 return hypotf(x1 - x2, y1 - y2);
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 4391 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local 4394 processPosition(mapper, x2, y2); 4436 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0, 0)); 4442 x1 += 10; y1 += 15; x2 += 5; y2 -= 10; 4445 processPosition(mapper, x2, y2); 4467 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0, 0)); 4473 x2 += 15; y2 -= 20; 4474 processPosition(mapper, x2, y2); 4497 toDisplayX(x2), toDisplayY(y2), 1, 0, 0, 0, 0, 0, 0, 0)); 4516 toDisplayX(x2), toDisplayY(y2), 4668 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local 4844 int32_t x1 = 100, y1 = 125, x2 = 300, y2 = 500; local 5114 float y2 = toDisplayY(rawY2); local [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 265 /*package*/ static void nQuadTo(long nPath, float x1, float y1, float x2, float y2) { argument 271 pathDelegate.quadTo(x1, y1, x2, y2); 286 float x2, float y2, float x3, float y3) { 292 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); 297 float x2, float y2, float x3, float y3) { 303 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); 704 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 710 * @param y2 The y-coordinate of the end point on a quadratic curve 712 public void quadTo(float x1, float y1, float x2, float y2) { argument 713 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2); 285 nCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument 296 nRCubicTo(long nPath, float x1, float y1, float x2, float y2, float x3, float y3) argument 753 cubicTo(float x1, float y1, float x2, float y2, float x3, float y3) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | SpotShadow.java | 55 float y2 = poly[p2 * 2 + 1]; 56 float a = (x1 * y2 - x2 * y1); 58 sumY += (y1 + y2) * a; 325 * y2, ...]).} 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); 419 float y = (dx * (y3 - y4) - (y1 - y2) * dy) / d; 422 ((y - y1) * (y - y2) > 0.0000001) || ((y - y3) * (y - y4) > 0.0000001)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NoisyVelocityTracker.java | 42 public MotionEventCopy(float x2, float y2, long eventTime) { argument 44 this.y = y2;
|
/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
|
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,
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | WirelessChargerDetector.java | 353 float x2, float y2, float z2) { 354 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); 356 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2)); 368 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2 352 hasMoved(float x1, float y1, float z1, float x2, float y2, float z2) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 70 int u, v, y1, y2, y3, y4; local 73 y2 = pInY[1]; 81 pOutColor[1] = convertYuvToRgba(y2, u, v);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 326 private Quad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) { argument 329 mBottomLeft = new PointF(x2, y2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PathInterpolatorBuilder.java | 50 private void initCubic(float x1, float y1, float x2, float y2) { argument 53 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 76 * @param y2 the y value to take for the second point of the bezier spline 79 float y2) { 89 mY2 = y2; 254 float y2 = calculateLinearOutFasterInY2(velAbs); 256 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2; 257 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2); 282 * Calculates the y2 control point for a linear-out-faster-in path interpolator depending on the 286 * @return the y2 control point for a cubic bezier path interpolator 78 FlingAnimationUtils(Context ctx, float maxLengthSeconds, float speedUpFactor, float x2, float y2) argument
|
/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, 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); 546 mBounds->top = std::min(mBounds->top, std::min(y1, std::min(y2, std::min(y3, y4)))); 548 mBounds->bottom = std::max(mBounds->bottom, std::max(y1, std::max(y2, std::max(y3, y4)))); 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
|
H A D | Patch.cpp | 104 float y2 = 0.0f; local 114 y2 = y1 + floorf(segment * stretchY + 0.5f); 116 y2 = y1 + segment * rescaleY; 119 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1)); 124 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, 128 y1 = y2; 135 y2 = height; 136 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, 148 float y1, float y2, floa 147 generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, float y2, float v1, float v2, float stretchX, float rescaleX, float width, float bitmapWidth, uint32_t& quadCount) argument 187 generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1, float v1, float u2, float v2, uint32_t& quadCount) argument [all...] |
H A D | ShadowTessellator.cpp | 133 double y2 = poly[p2].y; local 134 double a = (x1 * y2 - x2 * y1); 136 sumy += (y1 + y2) * a;
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.h | 162 float x2, float y2, float u2, float v2, 166 TextureVertex::set(mesh++, x2, y2, u2, v2); 161 addQuad(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) argument
|