Home
last modified time | relevance | path

Searched refs:xy (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DViewAsserts.java37 int[] xy = new int[2]; in assertOnScreen() local
38 view.getLocationOnScreen(xy); in assertOnScreen()
43 int y = xy[1] - xyRoot[1]; in assertOnScreen()
59 int[] xy = new int[2]; in assertOffScreenBelow() local
60 view.getLocationOnScreen(xy); in assertOffScreenBelow()
65 int y = xy[1] - xyRoot[1]; in assertOffScreenBelow()
79 int[] xy = new int[2]; in assertOffScreenAbove() local
80 view.getLocationOnScreen(xy); in assertOffScreenAbove()
85 int y = xy[1] - xyRoot[1]; in assertOffScreenAbove()
99 int[] xy = new int[2]; in assertHasScreenCoordinates() local
[all …]
DTouchUtils.java233 int[] xy = new int[2]; in dragViewToBottom() local
234 v.getLocationOnScreen(xy); in dragViewToBottom()
239 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom()
240 float fromY = xy[1] + (viewHeight / 2.0f); in dragViewToBottom()
253 int[] xy = new int[2]; in tapView() local
254 v.getLocationOnScreen(xy); in tapView()
259 final float x = xy[0] + (viewWidth / 2.0f); in tapView()
260 float y = xy[1] + (viewHeight / 2.0f); in tapView()
293 int[] xy = new int[2]; in touchAndCancelView() local
294 v.getLocationOnScreen(xy); in touchAndCancelView()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dg_pitch.c37 Word16 xy, yy, exp_xy, exp_yy, gain; in G_pitch() local
41 xy = extract_h(Dot_product12_asm(xn, y1, L_subfr, &exp_xy)); in G_pitch()
46 xy = extract_h(Dot_product12(xn, y1, L_subfr, &exp_xy)); in G_pitch()
53 g_coeff[2] = xy; in G_pitch()
57 if (xy < 0) in G_pitch()
62 xy >>= 1; /* Be sure xy < yy */ in G_pitch()
63 gain = div_s(xy, yy); in G_pitch()
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
Dg_pitch.cpp309 Word16 xy; in G_pitch() local
399 xy = pv_round(L_temp, pOverflow); in G_pitch()
422 xy = pv_round(L_temp, pOverflow); in G_pitch()
429 g_coeff[2] = xy; in G_pitch()
433 if (xy < 4) in G_pitch()
441 xy = xy >> 1; in G_pitch()
443 gain = div_s(xy, yy); in G_pitch()
Dg_code.cpp236 Word16 xy, yy, exp_xy, exp_yy, gain; in G_code() local
265 xy = (Word16)(s >> (17 - exp_xy)); in G_code()
269 xy = (Word16)(s << (exp_xy - 17)); in G_code()
274 if (xy <= 0) in G_code()
303 gain = div_s(xy, yy); in G_code()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleTest.java200 int[] xy = new int[2]; in assertOnBottomEdgeOfScreen() local
201 view.getLocationOnScreen(xy); in assertOnBottomEdgeOfScreen()
206 int bottom = xy[1] + view.getHeight(); in assertOnBottomEdgeOfScreen()
211 assertTrue(xy[1] < bottomOfRoot); in assertOnBottomEdgeOfScreen()
221 int[] xy = new int[2]; in assertOnTopEdgeOfScreen() local
222 view.getLocationOnScreen(xy); in assertOnTopEdgeOfScreen()
227 int bottom = xy[1] + view.getHeight(); in assertOnTopEdgeOfScreen()
233 assertTrue(xy[1] < xyRoot[1]); in assertOnTopEdgeOfScreen()
/frameworks/compile/libbcc/runtime/lib/ppc/
DDD.h19 #define LOWORDER(xy,xHi,xLo,yHi,yLo) \ argument
20 (((((xHi)*(yHi) - (xy)) + (xHi)*(yLo)) + (xLo)*(yHi)) + (xLo)*(yLo))
/frameworks/base/policy/src/com/android/internal/policy/impl/
DIconUtilities.java180 int[] xy = new int[2]; in createSelectedBitmap() local
181 Bitmap mask = src.extractAlpha(mBlurPaint, xy); in createSelectedBitmap()
183 dest.drawBitmap(mask, xy[0], xy[1], in createSelectedBitmap()
/frameworks/base/graphics/java/android/renderscript/
DMatrix3f.java130 float xy = x * y; in loadRotate() local
137 mMat[3] = xy*nc - zs; in loadRotate()
139 mMat[1] = xy*nc + zs; in loadRotate()
DMatrix4f.java145 float xy = x * y; in loadRotate() local
152 mMat[ 4] = xy*nc - zs; in loadRotate()
154 mMat[ 1] = xy*nc + zs; in loadRotate()
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/
Dmultitexf.glsl4 vec2 t0 = varTex0.xy;
Dshaderf.glsl9 vec2 t0 = varTex0.xy;
Dshader2f.glsl22 vec2 t0 = varTex0.xy;
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Dvignette_fs.glsl8 vec2 powers = pow(abs((gl_FragCoord.xy / vec2(UNI_width, UNI_height)) - 0.5), vec2(2.0));
/frameworks/base/libs/rs/
DrsMatrix4x4.cpp221 const float xy = x * y; in loadRotate() local
228 m[ 4] = xy*nc - zs; in loadRotate()
230 m[ 1] = xy*nc + zs; in loadRotate()
/frameworks/base/libs/rs/scriptc/
Drs_quaternion.rsh228 float xy = 2.0f * q->x * q->y;
236 m->m[1] = xy - wz;
240 m->m[4] = xy + wz;
/frameworks/base/libs/hwui/
DMatrix.cpp241 const float xy = x * y; in loadRotate() local
249 data[kSkewX] = xy * nc - zs; in loadRotate()
251 data[kSkewY] = xy * nc + zs; in loadRotate()
/frameworks/base/core/java/android/widget/
DStackView.java1390 final int[] xy = mTmpXY;
1391 Bitmap mask = src.extractAlpha(mBlurPaint, xy);
1393 mMaskCanvas.drawBitmap(src, -xy[0], -xy[1], mErasePaint);
1396 dest.drawBitmap(mask, xy[0], xy[1], mHolographicPaint);
DAbsListView.java5014 final int[] xy = new int[2]; in positionPopup() local
5015 getLocationOnScreen(xy); in positionPopup()
5018 final int bottomGap = screenHeight - xy[1] - getHeight() + (int) (mDensityScale * 20); in positionPopup()
5021 xy[0], bottomGap); in positionPopup()
5023 mPopup.update(xy[0], bottomGap, -1, -1); in positionPopup()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java593 float xy = x * y; in setRotateM() local
600 rm[rmOffset + 4] = xy*nc - zs; in setRotateM()
602 rm[rmOffset + 1] = xy*nc + zs; in setRotateM()
/frameworks/base/services/sensorservice/
Dvec.h277 vbase<float, 2> xy;
290 vbase<float, 2> xy;
/frameworks/base/opengl/libagl/
Dmatrix.cpp367 const GLfloat xy = x * y; in rotate() local
373 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys; in rotate()
374 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; in rotate()
/frameworks/base/docs/html/guide/topics/renderscript/
Dgraphics.jd559 " pos.xy = ATTRIB_position;\n" +
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_failed.txt260 /sdcard/android/layout_tests/fast/dom/Window/window-xy-properties.html