/external/skia/src/core/ |
SkBitmapProcState_matrix.h | 28 const unsigned maxX = s.fBitmap->width() - 1; 40 if (0 == maxX) { 50 if ((unsigned)(fx >> 16) <= maxX && 51 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { 59 a = TILEX_PROCF(fx, maxX); fx += dx; 60 b = TILEX_PROCF(fx, maxX); fx += dx; 66 a = TILEX_PROCF(fx, maxX); fx += dx; 67 b = TILEX_PROCF(fx, maxX); fx += dx; 76 *xx++ = TILEX_PROCF(fx, maxX); fx += dx; 102 int maxX = s.fBitmap->width() - 1 [all...] |
SkBitmapProcState_shaderproc.h | 12 const unsigned maxX = s.fBitmap->width() - 1; 44 unsigned subX = TILEX_LOW_BITS(fx, maxX); 45 unsigned x0 = TILEX_PROCF(fx, maxX); 46 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
|
SkBitmapProcState_matrix_clamp.h | 65 const unsigned maxX = s.fBitmap->width() - 1; 77 if (0 == maxX) { 87 if ((unsigned)(fx >> 16) <= maxX && 88 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { 140 hi16 = vminq_s16(hi16, vdupq_n_s16(maxX)); 155 *xx++ = TILEX_PROCF(fx, maxX); fx += dx; 180 int maxX = s.fBitmap->width() - 1; 195 /* my sets of maxx/maxy for clamping */ 196 int32_t maxpair = (maxX&0xffff) | ((maxY&0xffff)<<16); 268 *xy++ = (TILEY_PROCF(fy, maxY) << 16) | TILEX_PROCF(fx, maxX); [all...] |
SkBitmapProcState_matrix_repeat.h | 63 const unsigned maxX = s.fBitmap->width() - 1; 75 if (0 == maxX) { 85 if ((unsigned)(fx >> 16) <= maxX && 86 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { 132 lout = vmulq_s32(lout, vdupq_n_s32(maxX+1)); 133 hout = vmulq_s32(hout, vdupq_n_s32(maxX+1)); 156 a = TILEX_PROCF(fx, maxX); fx += dx; 157 b = TILEX_PROCF(fx, maxX); fx += dx; 163 a = TILEX_PROCF(fx, maxX); fx += dx; 164 b = TILEX_PROCF(fx, maxX); fx += dx [all...] |
SkBitmapSampler.cpp | 106 int maxX = fMaxX; 111 int tmpx = procX(ix, maxX); 115 int tmpx1 = procX(ix + 1, maxX); 154 int maxX = fMaxX; 159 int tmpx = procX(ix, maxX); 163 int tmpx1 = procX(ix + 1, maxX); 209 int maxX = fMaxX; 214 int tmpx = procX(ix, maxX); 218 int tmpx1 = procX(ix + 1, maxX); 268 int maxX = fMaxX [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridCamera.java | 229 float maxX = (lastSlotPosition.x) * (1.0f / mItemHeight); 240 if (mTargetPosX > maxX) { 241 mAmountExceeding += mTargetPosX - maxX; 242 mTargetPosX = maxX; 243 mPosX = maxX; 245 mTargetPosX = maxX; 255 scrollingFromEdgeX = maxX - mTargetPosX; 271 if (mTargetPosX > maxX) 272 mTargetPosX = maxX;
|
ImageButton.java | 61 float maxX = minX + mWidth; 66 maxX += TRACKING_MARGIN; 69 return x >= minX && y >= minY && x < maxX && y < maxY;
|
AdaptiveBackgroundTexture.java | 158 int maxX = width - 1; 165 int argb = in[inPos + FloatUtils.clamp(i, 0, maxX)]; 180 int prevX = FloatUtils.clamp(x - RADIUS, 0, maxX); 181 int nextX = FloatUtils.clamp(x + RADIUS + 1, 0, maxX);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 120 final float maxx = mMaxX; local 124 cavas.drawLine(0, yoffset, maxx, yoffset, paint); 125 cavas.drawLine(0, yoffset+oneG, maxx, yoffset+oneG, paint); 126 cavas.drawLine(0, yoffset-oneG, maxx, yoffset-oneG, paint);
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 114 int maxx = mask->fBounds.width() - 1; local 121 for (int x = 0; x <= maxx; x++) 125 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)];
|
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
CommonGlyphVector.java | 226 double maxX = 0; 239 maxX = xM; 249 if (maxX < xM) { 250 maxX = xM; 256 return new Rectangle((int)(minX + x), (int)(minY + y), (int)(maxX - minX), (int)(maxY - minY)); 271 float maxX = 0; 290 maxX = xM; 300 if (maxX < xM) { 301 maxX = xM; 311 (maxX - minX), (maxY - minY)) : null [all...] |
TextDecorator.java | 340 double maxx = segmentBounds.getMaxX(); local 348 maxx = Math.max(lb.getMaxX() - trs.x, maxx); 354 maxx = Math.max(lb.getMaxX() - trs.x, maxx); 376 return new Rectangle2D.Double(minx, miny, maxx-minx, maxy-miny);
|
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
Crossing.java | 230 int addBound(double bound[], int bc, double res[], int rc, double minX, double maxX, boolean changeId, int id) { 235 if (minX <= rx && rx <= maxX) { 340 int addBound(double bound[], int bc, double res[], int rc, double minX, double maxX, boolean changeId, int id) { 345 if (minX <= rx && rx <= maxX) { 702 double maxX = px2 + DELTA; 706 bc = c.addBound(bound, bc, res1, rc1, minX, maxX, false, 0); 707 bc = c.addBound(bound, bc, res2, rc2, minX, maxX, false, 1); 710 bc = c.addBound(bound, bc, res2, rc2, minX, maxX, true, 2); 772 double maxX = px2 + DELTA; 778 bc = c.addBound(bound, bc, res1, rc1, minX, maxX, false, 0) [all...] |
/external/webkit/WebCore/rendering/ |
SVGRootInlineBox.h | 80 void layoutInlineBoxes(InlineFlowBox* start, Vector<SVGChar>::iterator& it, int& minX, int& maxX, int& minY, int& maxY);
|
SVGRootInlineBox.cpp | [all...] |
/frameworks/base/core/java/android/widget/ |
Scroller.java | 295 * @param maxX Maximum X value. The scroller will not scroll past this 303 int minX, int maxX, int minY, int maxY) { 322 mMaxX = maxX;
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgxmodes.c | 126 if( SDL_modelist[i]->w == (info.Nominal.MaxX+1) && 147 SDL_modelist[nmodes-1]->w = info.Nominal.MaxX+1;
|
SDL_cgximage.c | 318 int x, minx, maxx; local 326 maxx = rects[i].x+rects[i].w; 332 for ( x=minx; x<maxx; ++x, ++spot ) { 344 maxx = rects[i].x+rects[i].w; 350 for ( x=minx; x<maxx; ++x, ++spot ) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/ |
SDL_os2fslib.c | 1350 int maxx, maxy; local 1635 int maxx, maxy, w, h, x, y; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_cursor.c | 501 int x, minx, maxx; local 516 maxx = area->x+area->w; 529 if ( (x >= minx) && (x < maxx) ) { 547 if ( (x >= minx) && (x < maxx) ) {
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 515 float maxx = Float.MIN_VALUE; local 522 if (points[i] > maxx) { 523 maxx = points[i]; 534 return new OrientedBoundingBox((float) (angle * 180 / Math.PI), centroid[0], centroid[1], maxx - minx, maxy - miny);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
HeapPanel.java | [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
SDL_epocvideo.cpp | 530 TInt maxX = Min(screenW - 1, rect2.x + rect2.w - 1); 532 if (maxX < 0 || maxY < 0) /* sanity check */ 536 TInt sourceRectWidth = maxX - rect2.x + 1;
|
/frameworks/base/awt/java/awt/image/ |
AffineTransformOp.java | 524 int maxX = minX + bounds.width; 539 for (int x = minX; x < maxX; x++) { 555 for (int x = minX; x < maxX; x++) {
|
/system/core/libpixelflinger/ |
trap.cpp | 546 const int32_t maxx = min(bmaxx, c->state.scissor.right); local 548 if ((minx >= maxx) || (miny >= maxy)) 570 for (xl=minx ; xl<maxx ; xl++) { 578 for ( ; xr<maxx ; xr++) { [all...] |