Searched refs:xy (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java37 int[] xy = new int[2];
38 view.getLocationOnScreen(xy);
43 int y = xy[1] - xyRoot[1];
59 int[] xy = new int[2];
60 view.getLocationOnScreen(xy);
65 int y = xy[1] - xyRoot[1];
79 int[] xy = new int[2];
80 view.getLocationOnScreen(xy);
85 int y = xy[1] - xyRoot[1];
99 int[] xy
[all...]
H A DTouchUtils.java221 int[] xy = new int[2];
222 v.getLocationOnScreen(xy);
227 final float x = xy[0] + (viewWidth / 2.0f);
228 float fromY = xy[1] + (viewHeight / 2.0f);
241 int[] xy = new int[2];
242 v.getLocationOnScreen(xy);
247 final float x = xy[0] + (viewWidth / 2.0f);
248 float y = xy[1] + (viewHeight / 2.0f);
281 int[] xy = new int[2];
282 v.getLocationOnScreen(xy);
486 getStartLocation(View v, int gravity, int[] xy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dg_pitch.c37 Word16 xy, yy, exp_xy, exp_yy, gain; local
41 xy = extract_h(Dot_product12_asm(xn, y1, L_subfr, &exp_xy));
46 xy = extract_h(Dot_product12(xn, y1, L_subfr, &exp_xy));
53 g_coeff[2] = xy;
56 /* If (xy < 0) gain = 0 */
57 if (xy < 0)
60 /* compute gain = xy/yy */
62 xy >>= 1; /* Be sure xy < yy */
63 gain = div_s(xy, y
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_code.cpp148 Word16 xy, yy, exp_xy, exp_yy, gain;
171 xy = extract_h (L_shl (s, exp_xy));
173 // If (xy < 0) gain = 0
175 if (xy <= 0)
188 // compute gain = xy/yy
190 xy = shr (xy, 1); // Be sure xy < yy
191 gain = div_s (xy, yy);
236 Word16 xy, y local
[all...]
H A Dg_pitch.cpp172 Word16 xy, yy, exp_xy, exp_yy, gain;
225 xy = pv_round (L_shl (s, exp_xy));
235 xy = pv_round (L_shl (s, exp_xy));
241 g_coeff[2] = xy;
244 // If (xy < 4) gain = 0
246 i = sub (xy, 4);
251 // compute gain = xy/yy
253 xy = shr (xy, 1); // Be sure xy < y
309 Word16 xy; local
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java103 * <p>The point {@code xy}'s data is copied; the reference is not retained.</p>
105 * @param xy a non-{@code null} {@link Point} with both x,y >= 0
112 public MeteringRectangle(Point xy, Size dimensions, int meteringWeight) { argument
113 checkNotNull(xy, "xy must not be null");
116 mX = checkArgumentNonnegative(xy.x, "x must be nonnegative");
117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative");
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java200 int[] xy = new int[2];
201 view.getLocationOnScreen(xy);
206 int bottom = xy[1] + view.getHeight();
211 assertTrue(xy[1] < bottomOfRoot);
221 int[] xy = new int[2];
222 view.getLocationOnScreen(xy);
227 int bottom = xy[1] + view.getHeight();
233 assertTrue(xy[1] < xyRoot[1]);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java177 int[] xy = new int[2];
178 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
180 dest.drawBitmap(mask, xy[0], xy[1],
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp256 SkShader::TileMode xy[2]; local
257 if (shader.asABitmap(&bitmap, NULL, xy) != SkShader::kDefault_BitmapType) {
260 bitmapShaderHelper(caches, &description, NULL, extensions, bitmap, xy);
266 SkShader::TileMode xy[2]; local
267 if (shader.asABitmap(&bitmap, NULL, xy) != SkShader::kDefault_BitmapType) {
275 if (!bitmapShaderHelper(caches, NULL, &shaderInfo, extensions, bitmap, xy)) {
H A DMatrix.cpp331 const float xy = x * y; local
339 data[kSkewX] = xy * nc - zs;
341 data[kSkewY] = xy * nc + zs;
/frameworks/base/rs/java/android/renderscript/
H A DMatrix3f.java127 float xy = x * y;
134 mMat[3] = xy*nc - zs;
136 mMat[1] = xy*nc + zs;
H A DMatrix4f.java172 float xy = x * y;
179 mMat[ 4] = xy*nc - zs;
181 mMat[ 1] = xy*nc + zs;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix3f.java130 float xy = x * y;
137 mMat[3] = xy*nc - zs;
139 mMat[1] = xy*nc + zs;
H A DMatrix4f.java173 float xy = x * y;
180 mMat[ 4] = xy*nc - zs;
182 mMat[ 1] = xy*nc + zs;
/frameworks/rs/scriptc/
H A Drs_quaternion.rsh230 float xy = q->x * q->y;
240 m->m[4] = 2.0f * ( xy - zw );
242 m->m[1] = 2.0f * ( xy + zw );
/frameworks/rs/
H A DrsMatrix4x4.cpp221 const float xy = x * y; local
228 m[ 4] = xy*nc - zs;
230 m[ 1] = xy*nc + zs;
/frameworks/native/include/ui/
H A Dvec3.h46 Impersonator< tvec2<T> > xy; member in union:android::tvec3::__anon1299
H A Dvec4.h46 Impersonator< tvec2<T> > xy; member in union:android::tvec4::__anon1304
H A Dmat4.h315 T xy = x * y; local
321 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys;
322 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs;
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsics_x86.c153 __m128i xy, zw; local
167 xy = _mm_shuffle_epi8(i4, Mxy);
170 x2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x00));
171 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x55));
172 z2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0xaa));
173 w2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0xff));
209 __m128i xy, zw; local
223 xy = _mm_shuffle_epi8(i4, Mxy);
226 x2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x00));
227 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi3
261 __m128i xy, zw; local
[all...]
H A DrsCpuIntrinsicColorMatrix.cpp797 f.xy = ((const float2 *)py)[0];
813 f.xy = convert_float2(((const uchar2 *)py)[0]);
855 ((float2 *)out)[0] = sum.xy;
873 ((uchar2 *)out)[0] = convert_uchar2(sum.xy);
/frameworks/base/core/java/android/widget/
H A DStackView.java1446 final int[] xy = mTmpXY;
1447 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
1449 mMaskCanvas.drawBitmap(src, -xy[0], -xy[1], mErasePaint);
1452 dest.drawBitmap(mask, xy[0], xy[1], mHolographicPaint);
/frameworks/native/services/sensorservice/
H A Dvec.h126 // This is needed for performance when using ".xy{z}" element access
277 vbase<float, 2> xy; member in union:android::vbase::__anon1423
290 vbase<float, 2> xy; member in union:android::vbase::__anon1426
/frameworks/native/libs/ui/tests/
H A Dvec_test.cpp73 vec4 v5(vec3(v2.xy, 42), 24);
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java619 float xy = x * y;
626 rm[rmOffset + 4] = xy*nc - zs;
628 rm[rmOffset + 1] = xy*nc + zs;

Completed in 5261 milliseconds

12