Searched refs:xy (Results 1 - 25 of 26) 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.java233 int[] xy = new int[2];
234 v.getLocationOnScreen(xy);
239 final float x = xy[0] + (viewWidth / 2.0f);
240 float fromY = xy[1] + (viewHeight / 2.0f);
253 int[] xy = new int[2];
254 v.getLocationOnScreen(xy);
259 final float x = xy[0] + (viewWidth / 2.0f);
260 float y = xy[1] + (viewHeight / 2.0f);
293 int[] xy = new int[2];
294 v.getLocationOnScreen(xy);
498 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/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.java186 int[] xy = new int[2];
187 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
189 dest.drawBitmap(mask, xy[0], xy[1],
/frameworks/base/graphics/java/android/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/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::__anon1442
H A Dvec4.h46 Impersonator< tvec2<T> > xy; member in union:android::tvec4::__anon1447
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/base/libs/hwui/
H A DMatrix.cpp328 const float xy = x * y; local
336 data[kSkewX] = xy * nc - zs;
338 data[kSkewY] = xy * nc + zs;
/frameworks/base/core/java/android/widget/
H A DStackView.java1439 final int[] xy = mTmpXY;
1440 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
1442 mMaskCanvas.drawBitmap(src, -xy[0], -xy[1], mErasePaint);
1445 dest.drawBitmap(mask, xy[0], xy[1], mHolographicPaint);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicColorMatrix.cpp725 f.xy = ((const float2 *)py)[0];
741 f.xy = convert_float2(((const uchar2 *)py)[0]);
783 ((float2 *)out)[0] = sum.xy;
801 ((uchar2 *)out)[0] = convert_uchar2(sum.xy);
/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::__anon1551
290 vbase<float, 2> xy; member in union:android::vbase::__anon1554
/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;
/frameworks/uiautomator/tests/CtsUiAutomatorTest/src/com/android/uiautomator/tests/cts/
H A DCtsUiAutomatorTest.java973 String xy[] = coordinates.split(",");
974 return new Point(Integer.parseInt(xy[0]), Integer.parseInt(xy[1]));
/frameworks/rs/driver/runtime/
H A Drs_sample.c365 result.xy = result.z;
403 result.xy = result.z;
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp367 const GLfloat xy = x * y; local
373 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys;
374 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs;

Completed in 4300 milliseconds

12