/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_outside.cpp | 23 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 D | mb_motion_comp.cpp | 140 int ypos, xpos; local 184 xpos = video->mbnum_col << 4 ; 189 offset = (int32)ypos * width + xpos; 195 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */ 196 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3); 259 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev, 265 xpred = (int)((xpos << 1) + px[0]); 301 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]); 337 xpred = (int)((xpos << 563 int ypos, xpos; local [all...] |
H A D | conceal.cpp | 152 int xpos, ypos, MB_in_width; local 157 xpos = mbnum - ypos * MB_in_width; 158 lumstart = (ypos << 4) * (int32)width_Y + (xpos << 4); 159 chrstart = (ypos << 3) * (int32)width_C + (xpos << 3);
|
H A D | mp4dec_lib.h | 157 int xpos, /* i */ 207 int xpos, 248 int xpos,
|
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 254 float xpos, float ypos, const String8& str) { 255 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str.string()); 265 if (xpos < mBorderWidth) { 266 xpos = mBorderWidth; 272 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos; 274 ALOGE("Unable to render text: xpos=%.3f border=%.3f width=%u", 275 xpos, mBorderWidth, mScreenWidth); 281 drawString(texRender, Program::kIdentity, xpos, ypos, str); 289 float xposAdj = (start == mangle) ? xpos : xpos [all...] |
H A D | TextRenderer.h | 78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
|
H A D | Overlay.cpp | 361 float xpos = 0; local 363 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, 375 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header); 387 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str); 398 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, glStr);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | findhalfpel.cpp | 66 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 D | motion_comp.cpp | 37 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...] |
H A D | mp4enc_lib.h | 138 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess); 140 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 137 float xpos; 163 xpos = (float) Math.ceil(segmentStartX); 166 while (xpos < segmentEndX) { 167 ypos = slope * (xpos - segmentStartX) + segmentStartY; 168 plot(xpos, ypos, sample, bitmapSize); 169 xpos++; 172 xpos = (float) Math.ceil(segmentEndX); 175 while (xpos < segmentStartX) { 176 ypos = slope * (xpos - segmentStartX) + segmentStartY; 177 plot(xpos, ypo [all...] |
/frameworks/native/include/input/ |
H A D | VelocityTracker.h | 215 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 D | VelocityTracker.cpp | 743 nsecs_t eventTime, float xpos, float ypos) const { 747 state.xpos = xpos; 756 nsecs_t eventTime, float xpos, float ypos) const { 767 float xvel = (xpos - state.xpos) / dt; 793 state.xpos = xpos; 802 outEstimator->xCoeff[0] = state.xpos; 742 initState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument 755 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.h | 86 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
|
H A D | SkiaCanvasProxy.cpp | 388 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument 393 pts[i].set(xpos[i], constY);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FatalTestCanvas.h | 42 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 241 int xpos = floorf(tx() + 0.5f); local 243 out = reg.translate(xpos, ypos);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 3144 * @param xpos cubemap face in the positive x direction 3157 Bitmap xpos, 3165 int height = xpos.getHeight(); 3166 if (xpos.getWidth() != height || 3179 Element e = elementFromBitmap(rs, xpos); 3190 adapter.copyFrom(xpos); 3212 * @param xpos cubemap face in the positive x direction 3223 Bitmap xpos, 3229 return createCubemapFromCubeFaces(rs, xpos, xneg, ypos, yneg, 3156 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 3222 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 1210 int xpos = 0; 1213 xpos = ((mRight - mLeft) - navWidth) / 2; 1216 xpos = isLayoutRtl ? menuStart : x; 1219 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth; 1245 customView.layout(xpos, ypos, xpos + customWidth,
|
H A D | ViewPager.java | 1470 final int xpos = getScrollX(); 1471 final float pageOffset = (float) xpos / oldWidthWithMargin;
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 2827 * @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/support/core-ui/java/android/support/v4/view/ |
H A D | ViewPager.java | 1654 final int xpos = getScrollX(); 1655 final float pageOffset = (float) xpos / oldWidthWithMargin; 1809 private boolean pageScrolled(int xpos) { argument 1829 final float pageOffset = (((float) xpos / width) - ii.offset)
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 2014 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument 2017 x = xpos;
|