/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_outside.cpp | 25 ypos = y half-pixel of (x,y) coordinates within a VOP; motion 79 right boundaries; ypos is compared to the top and bottom boundaries. The number 243 int ypos, /* i */ 264 /* saturate xpos and ypos */ 267 if (ypos < -16) ypos = -16; 268 if (ypos > ((height - 1) << 1)) ypos = (height - 1) << 1; 272 if (ypos < 0) /* pad top left of frame */ 295 ptr = pred + (((ypos >> 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 182 ypos = video->mbnum_row << 4 ; 188 /* ypos*width -> row, +x -> column */ 189 offset = (int32)ypos * width + xpos; 195 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */ 259 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev, 266 ypred = (int)((ypos << 1) + py[0]); 302 ypred = (int)((ypos << 1) + py[1]); 338 ypred = (int)(((ypos + B_SIZE) << 1) + py[2]); 375 ypred = (int)(((ypos 563 int ypos, xpos; local [all...] |
H A D | conceal.cpp | 152 int xpos, ypos, MB_in_width; local 156 ypos = PV_GET_ROW(mbnum, MB_in_width); 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 | 158 int ypos, /* i */ 208 int ypos, 249 int ypos,
|
/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()); 261 return ypos; 268 if (ypos < mBorderWidth) { 269 ypos = mBorderWidth; 276 return ypos; 281 drawString(texRender, Program::kIdentity, xpos, ypos, str); 282 ypos += getScaledGlyphHeight(); 294 drawString(texRender, Program::kIdentity, xposAdj, ypos, 301 drawString(texRender, Program::kIdentity, xposAdj, ypos, [all...] |
H A D | Overlay.cpp | 362 float ypos = 0; local 363 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, 375 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, header); 376 ypos += 8 * textRenderer.getScale(); // slight padding 387 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str); 389 ypos += 8 * textRenderer.getScale(); // slight padding 398 ypos [all...] |
H A D | TextRenderer.h | 78 float drawWrappedString(const Program& texRender, float xpos, float ypos,
|
/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) 94 jmin = ypos + (mot[0].y >> 1); 96 jlow = ypos - range; 185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) 216 jmin = ypos + ((comp & 2) << 2) + (mot[comp+1].y >> 1); 218 jlow = ypos + ((comp & 2) << 2) - 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 123 ypos = ind_y << 4 ; 139 ypred = (ypos << 1) + dy ; 152 ypred = ypos + dy; 167 EncPrediction_INTER4V(xpos, ypos, mot, c_prev, c_rec, 178 ypred = ypos + dy; 241 Int ypos, /* i */ 252 ypred = (Int)((ypos << 1) + mot[1].y); 260 ypred = (Int)((ypos << 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 | 138 float ypos; 167 ypos = slope * (xpos - segmentStartX) + segmentStartY; 168 plot(xpos, ypos, sample, bitmapSize); 176 ypos = slope * (xpos - segmentStartX) + segmentStartY; 177 plot(xpos, ypos, sample, bitmapSize); 183 ypos = (float) Math.ceil(segmentStartY); 186 while (ypos < segmentEndY) { 187 xpos = invertSlope * (ypos - segmentStartY) + segmentStartX; 188 plot(xpos, ypos, sample, bitmapSize); 189 ypos [all...] |
/frameworks/native/include/input/ |
H A D | VelocityTracker.h | 216 float ypos, yvel, yaccel; 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 { 750 state.ypos = ypos; 756 nsecs_t eventTime, float xpos, float ypos) const { 768 float yvel = (ypos - state.ypos) / dt; 794 state.ypos = ypos; 805 outEstimator->yCoeff[0] = state.ypos;
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 242 int ypos = floorf(ty() + 0.5f); local 243 out = reg.translate(xpos, ypos);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 1229 int ypos = 0; 1234 ypos = ((paddedBottom - paddedTop) - customView.getMeasuredHeight()) / 2; 1237 ypos = getPaddingTop() + topMargin; 1240 ypos = getHeight() - getPaddingBottom() - customView.getMeasuredHeight() 1245 customView.layout(xpos, ypos, xpos + customWidth, 1246 ypos + customView.getMeasuredHeight());
|
H A D | ResolverDrawerLayout.java | 808 int ypos = mTopOffset; 824 int top = ypos + lp.topMargin; 837 ypos = bottom + lp.bottomMargin;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Allocation.java | 3146 * @param ypos cubemap face in the positive y direction 3159 Bitmap ypos, 3168 ypos.getWidth() != height || ypos.getHeight() != height || 3194 adapter.copyFrom(ypos); 3214 * @param ypos cubemap face in the positive y direction 3225 Bitmap ypos, 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/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 2829 * @param ypos cubemap face in the positive y direction 2842 Bitmap ypos, 2852 ypos.getWidth() != height || ypos.getHeight() != height || 2878 adapter.copyFrom(ypos); 2900 * @param ypos cubemap face in the positive y direction 2911 Bitmap ypos, 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/base/core/java/android/view/ |
H A D | WindowManager.java | 2014 public LayoutParams(int w, int h, int xpos, int ypos, int _type, argument 2018 y = ypos;
|