/frameworks/base/test-runner/src/android/test/ |
ViewAsserts.java | 37 int[] xy = new int[2]; local 38 view.getLocationOnScreen(xy); 43 int y = xy[1] - xyRoot[1]; 59 int[] xy = new int[2]; local 60 view.getLocationOnScreen(xy); 65 int y = xy[1] - xyRoot[1]; 79 int[] xy = new int[2]; local 80 view.getLocationOnScreen(xy); 85 int y = xy[1] - xyRoot[1]; 99 int[] xy = new int[2] local 117 int[] xy = new int[2]; local 135 int[] xy = new int[2]; local 154 int[] xy = new int[2]; local 172 int[] xy = new int[2]; local 191 int[] xy = new int[2]; local 209 int[] xy = new int[2]; local 228 int[] xy = new int[2]; local 246 int[] xy = new int[2]; local 265 int[] xy = new int[2]; local 283 int[] xy = new int[2]; local 304 int[] xy = new int[2]; local [all...] |
TouchUtils.java | 232 int[] xy = new int[2]; local 233 v.getLocationOnScreen(xy); 238 final float x = xy[0] + (viewWidth / 2.0f); 239 float fromY = xy[1] + (viewHeight / 2.0f); 252 int[] xy = new int[2]; local 253 v.getLocationOnScreen(xy); 258 final float x = xy[0] + (viewWidth / 2.0f); 259 float y = xy[1] + (viewHeight / 2.0f); 292 int[] xy = new int[2]; local 293 v.getLocationOnScreen(xy); 327 int[] xy = new int[2]; local 388 int[] xy = new int[2]; local 475 int[] xy = new int[2]; local 571 int[] xy = new int[2]; local 621 int[] xy = new int[2]; local 670 int[] xy = new int[2]; local 717 int[] xy = new int[2]; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
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, yy); [all...] |
/external/skia/src/core/ |
SkBitmapProcState_filter.h | 113 int xy = x * y; local 116 int scale = 256 - 16*y - 16*x + xy; 120 scale = 16*x - xy; 124 scale = 16*y - xy; 128 lo += (a11 & mask) * xy; 129 hi += ((a11 >> 8) & mask) * xy; 143 int xy = x * y; local 146 int scale = 256 - 16*y - 16*x + xy; 150 scale = 16*x - xy; 154 scale = 16*y - xy; [all...] |
SkBitmapProcState_matrix.h | 21 uint32_t xy[], int count, int x, int y) { 36 *xy++ = TILEY_PROCF(fx, maxY); 42 memset(xy, 0, count * sizeof(uint16_t)); 52 decal_nofilter_scale(xy, fx, dx, count); 62 *xy++ = (a << 16) | b; 64 *xy++ = (b << 16) | a; 69 *xy++ = (a << 16) | b; 71 *xy++ = (b << 16) | a; 74 uint16_t* xx = (uint16_t*)xy; 86 uint32_t xy[], int count, int x, int y) [all...] |
SkBitmapProcState_sample.h | 20 const uint32_t* SK_RESTRICT xy, 32 uint32_t XY; 36 XY = *xy++; 37 SkASSERT((XY >> 16) < (unsigned)s.fBitmap->height() && 38 (XY & 0xFFFF) < (unsigned)s.fBitmap->width()); 39 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; 42 XY = *xy++ [all...] |
SkBitmapProcState_matrix_repeat.h | 56 uint32_t xy[], int count, int x, int y) { 71 *xy++ = TILEY_PROCF(fx, maxY); 77 memset(xy, 0, count * sizeof(uint16_t)); 87 decal_nofilter_scale(xy, fx, dx, count); 108 int16_t *dst16 = (int16_t *)xy; 148 xy = (uint32_t *) dst16; 159 *xy++ = (a << 16) | b; 161 *xy++ = (b << 16) | a; 166 *xy++ = (a << 16) | b; 168 *xy++ = (b << 16) | a [all...] |
SkBitmapProcState_matrix_clamp.h | 58 uint32_t xy[], int count, int x, int y) { 73 *xy++ = TILEY_PROCF(fx, maxY); 79 memset(xy, 0, count * sizeof(uint16_t)); 89 decal_nofilter_scale(xy, fx, dx, count); 110 int16_t *dst16 = (int16_t *)xy; 150 xy = (uint32_t *) dst16; 153 uint16_t* xx = (uint16_t*)xy; 164 uint32_t xy[], int count, int x, int y) { 193 int16_t *dst16 = (int16_t *) xy; 264 xy = (uint32_t *) dst16 [all...] |
SkBitmapProcState.cpp | 20 int xy = x * y >> 3; local 21 return a00 * (32 - 2*y - 2*x + xy) + 22 a01 * (2*x - xy) + 23 a10 * (2*y - xy) + 24 a11 * xy; 48 int xy = x * y >> 4; local 49 uint32_t result = a00 * (16 - y - x + xy) + 50 a01 * (x - xy) + 51 a10 * (y - xy) + 52 a11 * xy; 63 int xy = x * y; local [all...] |
SkBitmapProcState_matrixProcs.cpp | 314 static int nofilter_trans_preamble(const SkBitmapProcState& s, uint32_t** xy, 319 **xy = s.fIntTileProcY(SkScalarToFixed(pt.fY) >> 16, 321 *xy += 1; // bump the ptr 327 uint32_t xy[], int count, int x, int y) { 330 int xpos = nofilter_trans_preamble(s, &xy, x, y); 334 memset(xy, 0, count * sizeof(uint16_t)); 338 uint16_t* xptr = reinterpret_cast<uint16_t*>(xy); 375 uint32_t xy[], int count, int x, int y) { 378 int xpos = nofilter_trans_preamble(s, &xy, x, y); 382 memset(xy, 0, count * sizeof(uint16_t)) [all...] |
SkBitmapProcState.h | 141 void S32_opaque_D32_filter_DX(const SkBitmapProcState& s, const uint32_t xy[], 143 void S32_alpha_D32_filter_DX(const SkBitmapProcState& s, const uint32_t xy[],
|
/external/skia/src/opts/ |
SkBitmapProcState_opts_arm.cpp | 27 const uint32_t* SK_RESTRICT xy, 38 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height()); 40 xy[0] * s.fBitmap->rowBytes()); 51 const uint16_t* SK_RESTRICT xx = (const uint16_t*)(xy + 1); 112 const uint32_t* SK_RESTRICT xy, 123 SkASSERT((unsigned)xy[0] < (unsigned)s.fBitmap->height()); 124 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes()); 131 const uint16_t* xx = (const uint16_t*)(xy + 1);
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
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, yy, exp_xy, exp_yy, gain local [all...] |
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/ |
RequestRectangleVisibleTest.java | 200 int[] xy = new int[2]; local 201 view.getLocationOnScreen(xy); 206 int bottom = xy[1] + view.getHeight(); 211 assertTrue(xy[1] < bottomOfRoot); 221 int[] xy = new int[2]; local 222 view.getLocationOnScreen(xy); 227 int bottom = xy[1] + view.getHeight(); 233 assertTrue(xy[1] < xyRoot[1]);
|
/external/freetype/src/base/ |
ftcalc.c | 704 FT_Fixed xx, xy, yx, yy; local 710 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); 711 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); 713 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); 715 b->xx = xx; b->xy = xy; 733 FT_MulFix( matrix->xy, matrix->yx ); 738 matrix->xy = - FT_DivFix( matrix->xy, delta ) 758 FT_Fixed xx, xy, yx, yy; local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
OccurrenceRenderer.java | 24 import org.jfree.chart.renderer.xy.XYItemRendererState; 25 import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer; 27 import org.jfree.data.xy.XYDataset;
|
/development/tools/mkstubs/tests/data/ |
TestTemplateClass.java | 53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GalleryTest.java | 165 int[] xy = new int[2]; local 166 getSelectedViewCenter(mGallery, xy); 169 TouchUtils.drag(this, xy[0], 0, xy[1], xy[1], 1); 173 TouchUtils.drag(this, xy[0], 0, xy[1], xy[1], 1); 182 TouchUtils.drag(this, xy[0], 240, xy[1], xy[1], 1) [all...] |
/frameworks/base/libs/rs/ |
rsMatrix.cpp | 83 const float xy = x * y; local 90 m[ 4] = xy*nc - zs; 92 m[ 1] = xy*nc + zs;
|
/system/core/libpixelflinger/codeflinger/ |
ARMAssembler.h | 116 virtual void SMUL(int cc, int xy, 120 virtual void SMLA(int cc, int xy, 122 virtual void SMLAL(int cc, int xy,
|
ARMAssemblerProxy.h | 106 virtual void SMUL(int cc, int xy, 110 virtual void SMLA(int cc, int xy, 112 virtual void SMLAL(int cc, int xy,
|
blending.cpp | 489 int xy; 496 xy = xyBB; 499 xy = xyTB; 504 xy = xyBB; 509 xy = xyTB; 512 xy = xyTT; 517 xy = xyTB; 524 xy = xyBB; 529 xy = xyBT; 534 xy = yB; //XXX SMULW [all...] |
ARMAssemblerProxy.cpp | 181 void ARMAssemblerProxy::SMUL(int cc, int xy, int Rd, int Rm, int Rs) { 182 mTarget->SMUL(cc, xy, Rd, Rm, Rs); 187 void ARMAssemblerProxy::SMLA(int cc, int xy, int Rd, int Rm, int Rs, int Rn) { 188 mTarget->SMLA(cc, xy, Rd, Rm, Rs, Rn); 190 void ARMAssemblerProxy::SMLAL( int cc, int xy, 192 mTarget->SMLAL(cc, xy, RdHi, RdLo, Rs, Rm);
|
/packages/apps/Phone/src/com/android/phone/ |
AccelerometerListener.java | 122 // magnitude of the acceleration vector projected onto XY plane 123 double xy = Math.sqrt(x*x + y*y); local 125 double angle = Math.atan2(xy, z);
|