Searched defs:xpos (Results 1 - 15 of 15) sorted by last modified time

/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java1648 final int xpos = getScrollX();
1649 final float pageOffset = (float) xpos / oldWidthWithMargin;
1801 private boolean pageScrolled(int xpos) { argument
1821 final float pageOffset = (((float) xpos / width) - ii.offset) /
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java2827 * @param xpos cubemap face in the positive x direction
2840 Bitmap xpos,
2849 int height = xpos.getHeight();
2850 if (xpos.getWidth() != height ||
2863 Element e = elementFromBitmap(rs, xpos);
2874 adapter.copyFrom(xpos);
2898 * @param xpos cubemap face in the positive x direction
2909 Bitmap xpos,
2915 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
2839 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
2908 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/native/include/input/
H A DVelocityTracker.h215 float xpos, xvel, xaccel; member in struct:android::IntegratingVelocityTrackerStrategy::State
223 void initState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
224 void updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
/frameworks/native/libs/input/
H A DVelocityTracker.cpp744 nsecs_t eventTime, float xpos, float ypos) const {
748 state.xpos = xpos;
757 nsecs_t eventTime, float xpos, float ypos) const {
768 float xvel = (xpos - state.xpos) / dt;
794 state.xpos = xpos;
803 outEstimator->xCoeff[0] = state.xpos;
743 initState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
756 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp234 int xpos = floorf(tx() + 0.5f); local
236 out = reg.translate(xpos, ypos);
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java3143 * @param xpos cubemap face in the positive x direction
3156 Bitmap xpos,
3164 int height = xpos.getHeight();
3165 if (xpos.getWidth() != height ||
3178 Element e = elementFromBitmap(rs, xpos);
3189 adapter.copyFrom(xpos);
3211 * @param xpos cubemap face in the positive x direction
3222 Bitmap xpos,
3228 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg,
3155 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
3221 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
/frameworks/base/libs/hwui/
H A DSkiaCanvasProxy.cpp338 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument
343 pts[i].set(xpos[i], constY);
/frameworks/base/core/java/android/view/
H A DWindowManager.java1779 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument
1782 x = xpos;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp42 int xpos, int ypos, int hp_guess, int cmvx, int cmvy)
61 OSCL_UNUSED_ARG(xpos);
41 AVCFindHalfPelMB(AVCEncObject *encvid, uint8 *cur, AVCMV *mot, uint8 *ncand, int xpos, int ypos, int hp_guess, int cmvx, int cmvy) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp148 int xpos, ypos, MB_in_width; local
153 xpos = mbnum - ypos * MB_in_width;
154 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4);
155 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3);
H A Dget_pred_outside.cpp23 xpos = x half-pixel of (x,y) coordinates within a VOP; motion
78 is outside, i.e., left, right, top, bottom. xpos is compared to the left and
242 int xpos, /* i */
264 /* saturate xpos and ypos */
265 if (xpos < -16) xpos = -16;
266 if (xpos > ((width - 1) << 1)) xpos = (width - 1) << 1;
270 if (xpos < 0)
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >>
241 GetPredOutside( int xpos, int ypos, uint8 *c_prev, uint8 *pred_block, int width, int height, int rnd1, int pred_width ) argument
[all...]
H A Dmb_motion_comp.cpp136 int ypos, xpos; local
180 xpos = video->mbnum_col << 4 ;
185 offset = (int32)ypos * width + xpos;
191 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
250 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev,
256 xpred = (int)((xpos << 1) + px[0]);
292 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]);
328 xpred = (int)((xpos <<
554 int ypos, xpos; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess)
93 imin = xpos + (mot[0].x >> 1);
95 ilow = xpos - range;
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem)
215 imin = xpos + ((comp & 1) << 3) + (mot[comp+1].x >> 1);
217 ilow = xpos + ((comp & 1) << 3) - range;
65 FindHalfPelMB(VideoEncData *video, UChar *cur, MOT *mot, UChar *ncand, Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess) argument
184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
H A Dmotion_comp.cpp37 Int EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec,
104 Int ypos, xpos; local
124 xpos = ind_x << 4 ;
138 xpred = (xpos << 1) + dx ;
151 xpred = xpos + dx;
167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec,
179 xpred = xpos + dx;
240 Int xpos, /* i */
251 xpred = (Int)((xpos << 1) + mot[1].x);
259 xpred = (Int)(((xpos
239 EncPrediction_INTER4V( Int xpos, Int ypos, MOT *mot, UChar *c_prev, UChar *c_rec, Int lx, Int round1 ) argument
1520 EncGetPredOutside(Int xpos, Int ypos, UChar *c_prev, UChar *rec, Int width, Int height, Int rnd1) argument
[all...]
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp358 float xpos = 0; local
360 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos,
372 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header);
384 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str);
395 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, glStr);

Completed in 4598 milliseconds