/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
InstrumentationUiDevice.java | 71 int[] xy = new int[2]; local 72 rootView.getLocationOnScreen(xy); 73 if (xy[0] == 0 && xy[1] == 0) { 78 rect.offset(xy[0], xy[1]); 80 Bitmap.createBitmap(rect.width() + xy[0], rect.height() + xy[1], Config.ARGB_8888);
|
/external/skia/src/core/ |
SkBitmapProcState_procs.h | 27 int xy = x * y >> 3; local 28 return a00 * (32 - 2*y - 2*x + xy) + 29 a01 * (2*x - xy) + 30 a10 * (2*y - xy) + 31 a11 * xy; 55 int xy = x * y >> 4; local 56 uint32_t result = a00 * (16 - y - x + xy) + 57 a01 * (x - xy) + 58 a10 * (y - xy) + 59 a11 * xy; 70 int xy = x * y; local [all...] |
SkBitmapProcState_sample.h | 12 const uint32_t* SK_RESTRICT xy, 15 const uint32_t* SK_RESTRICT xy, 18 const uint32_t* SK_RESTRICT xy, 21 const uint32_t* SK_RESTRICT xy, 25 const uint32_t* SK_RESTRICT xy, 37 uint32_t XY; 41 XY = *xy++; 42 SkASSERT((XY >> 16) < (unsigned)s.fPixmap.height() && 43 (XY & 0xFFFF) < (unsigned)s.fPixmap.width()) [all...] |
SkBitmapProcState_filter.h | 27 int xy = x * y; local 30 int scale = 256 - 16*y - 16*x + xy; 34 scale = 16*x - xy; 38 scale = 16*y - xy; 42 lo += (a11 & mask) * xy; 43 hi += ((a11 >> 8) & mask) * xy; 57 int xy = x * y; local 60 int scale = 256 - 16*y - 16*x + xy; 64 scale = 16*x - xy; 68 scale = 16*y - xy; [all...] |
SkBitmapProcState_matrix.h | 27 uint32_t xy[], int count, int x, int y); 29 uint32_t xy[], int count, int x, int y); 46 uint32_t xy[], int count, int x, int y) { 63 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); 72 decal_filter_scale(xy, fixedFx, fixedDx, count); 78 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X); 85 uint32_t xy[], int count, int x, int y) { 104 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); 106 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
FindRegion.java | 39 public FindRegion(float[] xy, Bitmap img) { 40 mPointsXY = xy; 43 mRoiBounds = getBoundingRect(xy); 100 * @param xy points of polygon [x1,y1,x2,y2,...] 103 private static Rect getBoundingRect(float[] xy) { 104 RectF mRect = calcBounds(xy); 112 private static RectF calcBounds(float[] xy) { 113 float minx = xy[0], miny = xy[1]; 114 float maxx = xy[0], maxy = xy[1] [all...] |
find_region.rs | 54 static float4 gCalcBounds(rs_allocation xy) { 55 int len = rsAllocationGetDimX(xy); 56 float2 min_xy = rsGetElementAt_float2(xy, 0); 59 float2 v = rsGetElementAt_float2(xy, i); 84 int2 size = roiBounds.zw - roiBounds.xy; 85 int2 minr = max((int2){0, 0}, roiBounds.xy - size * (1 + pad)); 114 p = (p - regionInSearch.xy) * 152 mSearchOffset = searchRange.xy; 153 mImgOffset = roiBounds.xy; 172 noZone.xy -= convert_int2(bounds.zw - bounds.xy) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
CustomViewActions.java | 86 int[] xy = view.getLocationOnScreen(); local 92 x = xy[0] + hDelta; 95 x = xy[0] + w + hDelta; 98 x = xy[0] + w / 2 + hDelta; 104 y = xy[1] + vDelta; 107 y = xy[1] + h + vDelta; 110 y = xy[1] + h / 2 + vDelta;
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
verify.rs | 24 #define printCell(txt, a, xy) \ 33 rsDebug(txt, rsGetElementAt_uchar4(a, xy.x, xy.y)); \ 36 rsDebug(txt, rsGetElementAt_uchar3(a, xy.x, xy.y)); \ 39 rsDebug(txt, rsGetElementAt_uchar2(a, xy.x, xy.y)); \ 42 rsDebug(txt, rsGetElementAt_uchar(a, xy.x, xy.y)); \ 48 rsDebug(txt, rsGetElementAt_float4(a, xy.x, xy.y)); [all...] |
/external/mesa3d/src/gallium/tests/graw/vertex-shader/ |
vert-srcmod-neg.sh | 8 MOV OUT[0].xy, -IN[0]
|
vert-dp3.sh | 11 DP3 TEMP[0].xy, IN[0], IN[0]
|
vert-dp4.sh | 11 DP4 TEMP[0].xy, IN[0], IN[0]
|
vert-srcmod-absneg.sh | 12 MOV OUT[0].xy, -|TEMP[0]|
|
/external/vulkan-validation-layers/demos/ |
cube.frag | 29 uFragColor = texture(tex, texcoord.xy);
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 227 int[] xy = new int[2]; local 228 v.getLocationOnScreen(xy); 233 final float x = xy[0] + (viewWidth / 2.0f); 234 float fromY = xy[1] + (viewHeight / 2.0f); 247 int[] xy = new int[2]; local 248 v.getLocationOnScreen(xy); 253 final float x = xy[0] + (viewWidth / 2.0f); 254 float y = xy[1] + (viewHeight / 2.0f); 287 int[] xy = new int[2]; local 288 v.getLocationOnScreen(xy); 322 int[] xy = new int[2]; local 383 int[] xy = new int[2]; local 470 int[] xy = new int[2]; local 566 int[] xy = new int[2]; local 616 int[] xy = new int[2]; local 665 int[] xy = new int[2]; local 712 int[] xy = new int[2]; local [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSE2.cpp | 16 const uint32_t* xy, 25 uint32_t XY = *xy++; 26 unsigned y0 = XY >> 14; 28 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); 55 uint32_t XX = *xy++; // x0:14 | 4 | x1:14 122 const uint32_t* xy, 131 uint32_t XY = *xy++; 132 unsigned y0 = XY >> 14 [all...] |
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
FindRegion.java | 47 public FindRegion(float[] xy, Bitmap img) { 48 mPointsXY = xy; 53 mRoiBounds = getBoundingRect(xy); 145 * @param xy points of polygon [x1,y1,x2,y2,...] 148 private static Rect getBoundingRect(float[] xy) { 149 RectF mRect = calcBounds(xy); 157 private static RectF calcBounds(float[] xy) { 158 float minx = xy[0], miny = xy[1]; 159 float maxx = xy[0], maxy = xy[1] [all...] |
find_region.rs | 69 static float4 gcalcBounds(rs_allocation xy) { 70 int len = rsAllocationGetDimX(xy); 71 float2 min_xy = rsGetElementAt_float(xy, 0); 74 float2 v = rsGetElementAt_float2(xy, i); 83 void calcBounds(rs_allocation xy, rs_allocation rect) { 84 float4 r = gcalcBounds(xy); 85 rsSetElementAt_float2(rect, r.xy, 0);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYSeries.java | 17 package com.androidplot.xy; 23 * Represents a two dimensional series of data represented as xy values.
|
XYStep.java | 17 package com.androidplot.xy;
|
/external/clang/test/Analysis/ |
taint-tester.c | 50 struct XYStruct xy = {2, 3, 11}; local 51 scanf("%d", &xy.y); 52 scanf("%d", &xy.x); 53 int tx = xy.x; // expected-warning + {{tainted}} 54 int ty = xy.y; // FIXME: This should be tainted as well. 55 char ntz = xy.z;// no warning 57 scanf("%d %d", &xy.y, &xy.x); 58 int ttx = xy.x; // expected-warning + {{tainted}} 59 int tty = xy.y; // expected-warning + {{tainted} [all...] |
/frameworks/av/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...] |
/external/valgrind/none/tests/s390x/ |
xor.stdout.exp | 49 xy 0000000000000000 ^ 0000000000000000 = 0000000000000000 (cc=0) 50 xy 0000000000000001 ^ 0000000000000000 = 0000000000000001 (cc=1) 51 xy 000000000000FFFF ^ 0000000000000000 = 000000000000FFFF (cc=1) 52 xy 0000000000007FFF ^ 0000000000000000 = 0000000000007FFF (cc=1) 53 xy 0000000000008000 ^ 0000000000000000 = 0000000000008000 (cc=1) 54 xy 00000000FFFFFFFF ^ 0000000000000000 = 00000000FFFFFFFF (cc=1) 55 xy 0000000080000000 ^ 0000000000000000 = 0000000080000000 (cc=1) 56 xy 000000007FFFFFFF ^ 0000000000000000 = 000000007FFFFFFF (cc=1) 57 xy AAAAAAAAAAAAAAAA ^ 0000000000000000 = AAAAAAAAAAAAAAAA (cc=1) 58 xy 8000000000000000 ^ 0000000000000000 = 8000000000000000 (cc=0 [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
verify.rs | 206 #define printCell(txt, a, xy) \ 215 rsDebug(txt, rsGetElementAt_uchar4(a, xy.x, xy.y)); \ 218 rsDebug(txt, rsGetElementAt_uchar3(a, xy.x, xy.y)); \ 221 rsDebug(txt, rsGetElementAt_uchar2(a, xy.x, xy.y)); \ 224 rsDebug(txt, rsGetElementAt_uchar(a, xy.x, xy.y)); \ 230 rsDebug(txt, rsGetElementAt_float4(a, xy.x, xy.y)); [all...] |
/external/compiler-rt/lib/builtins/ppc/ |
DD.h | 19 #define LOWORDER(xy,xHi,xLo,yHi,yLo) \ 20 (((((xHi)*(yHi) - (xy)) + (xHi)*(yLo)) + (xLo)*(yHi)) + (xLo)*(yLo))
|