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

/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/compile/libbcc/runtime/lib/ppc/
H A DDD.h19 #define LOWORDER(xy,xHi,xLo,yHi,yLo) \
20 (((((xHi)*(yHi) - (xy)) + (xHi)*(yLo)) + (xLo)*(yHi)) + (xLo)*(yLo))
/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/renderscript/v8/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/support/renderscript/v8/rs_support/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/support/renderscript/v8/rs_support/
H A DrsMatrix4x4.cpp221 const float xy = x * y; local
228 m[ 4] = xy*nc - zs;
230 m[ 1] = xy*nc + zs;
/frameworks/base/libs/hwui/
H A DMatrix.cpp243 const float xy = x * y; local
251 data[kSkewX] = xy * nc - zs;
253 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);
H A DAbsListView.java5402 final int[] xy = new int[2];
5403 getLocationOnScreen(xy);
5406 final int bottomGap = screenHeight - xy[1] - getHeight() + (int) (mDensityScale * 20);
5409 xy[0], bottomGap);
5411 mPopup.update(xy[0], bottomGap, -1, -1);
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_sample.c193 result.xy = getSample2(a, weights, iPixel, next, lod); \
220 result.xy = convert_float2(*((uchar2*)getElementAt(a, iPixel, lod))); \
/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::__anon1516
290 vbase<float, 2> xy; member in union:android::vbase::__anon1519
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java592 float xy = x * y;
599 rm[rmOffset + 4] = xy*nc - zs;
601 rm[rmOffset + 1] = xy*nc + zs;
/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 8886 milliseconds