/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 37 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 D | TouchUtils.java | 233 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 D | g_pitch.c | 37 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 D | g_code.cpp | 148 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 D | g_pitch.cpp | 172 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 D | RequestRectangleVisibleTest.java | 200 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 D | IconUtilities.java | 186 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 D | Matrix3f.java | 130 float xy = x * y; 137 mMat[3] = xy*nc - zs; 139 mMat[1] = xy*nc + zs;
|
H A D | Matrix4f.java | 173 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 D | Matrix3f.java | 130 float xy = x * y; 137 mMat[3] = xy*nc - zs; 139 mMat[1] = xy*nc + zs;
|
H A D | Matrix4f.java | 173 float xy = x * y; 180 mMat[ 4] = xy*nc - zs; 182 mMat[ 1] = xy*nc + zs;
|
/frameworks/rs/scriptc/ |
H A D | rs_quaternion.rsh | 230 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 D | rsMatrix4x4.cpp | 221 const float xy = x * y; local 228 m[ 4] = xy*nc - zs; 230 m[ 1] = xy*nc + zs;
|
/frameworks/base/libs/hwui/ |
H A D | Matrix.cpp | 324 const float xy = x * y; local 332 data[kSkewX] = xy * nc - zs; 334 data[kSkewY] = xy * nc + zs;
|
/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 1439 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 D | AbsListView.java | 5442 final int[] xy = new int[2]; 5443 getLocationOnScreen(xy); 5446 final int bottomGap = screenHeight - xy[1] - getHeight() + (int) (mDensityScale * 20); 5449 xy[0], bottomGap); 5451 mPopup.update(xy[0], bottomGap, -1, -1);
|
/frameworks/native/services/sensorservice/ |
H A D | vec.h | 126 // This is needed for performance when using ".xy{z}" element access 277 vbase<float, 2> xy; member in union:android::vbase::__anon1545 290 vbase<float, 2> xy; member in union:android::vbase::__anon1548
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 592 float xy = x * y; 599 rm[rmOffset + 4] = xy*nc - zs; 601 rm[rmOffset + 1] = xy*nc + zs;
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_sample.c | 367 result.xy = result.z; 405 result.xy = result.z;
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 367 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;
|