Home
last modified time | relevance | path

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

12

/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/av/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/av/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()
423 xy = pv_round(L_temp, pOverflow); in G_pitch()
430 g_coeff[2] = xy; in G_pitch()
434 if (xy < 4) in G_pitch()
442 xy = xy >> 1; in G_pitch()
444 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/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
Dyuv.rs70 int2 xy = {x, y};
71 xy -= vignette_half_dims;
72 xy *= xy;
74 float d = vignette_dist_mod * (xy.x + xy.y);
/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.java186 int[] xy = new int[2]; in createSelectedBitmap() local
187 Bitmap mask = src.extractAlpha(mBlurPaint, xy); in createSelectedBitmap()
189 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.java173 float xy = x * y; in loadRotate() local
180 mMat[ 4] = xy*nc - zs; in loadRotate()
182 mMat[ 1] = xy*nc + zs; in loadRotate()
/frameworks/support/renderscript/v8/java/src/android/support/v8/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.java173 float xy = x * y; in loadRotate() local
180 mMat[ 4] = xy*nc - zs; in loadRotate()
182 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;
/frameworks/base/tests/RenderScriptTests/MiscSamples/res/raw/
Dmultitexf.glsl4 vec2 t0 = varTex0.xy;
Dshaderarrayf.glsl9 vec2 t0 = varTex0.xy;
Dshaderf.glsl9 vec2 t0 = varTex0.xy;
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Ddiffuse.glsl14 vec2 t0 = varTex0.xy;
Ddiffuse_lights.glsl16 vec2 t0 = varTex0.xy;
Dplastic.glsl16 vec2 t0 = varTex0.xy;
Dmetal.glsl16 vec2 t0 = varTex0.xy;
Dpaintf.glsl16 vec2 t0 = varTex0.xy;
/frameworks/support/renderscript/v8/rs_support/
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/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()

12