HomeSort by relevance Sort by last modified time
    Searched defs:maxX (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
XYGraphBounds.java 23 private Number maxX;
LineAndPointRenderer.java 198 double maxX = getPlot().getCalculatedMaxX().doubleValue();
203 for (RectRegion r : RectRegion.regionsWithin(formatter.getRegions().elements(), minX, maxX, minY, maxY)) {
205 RectF regionRect = r.getRectF(plotArea, minX, maxX, minY, maxY);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
SystemPointerIconButton.java 47 final int maxX = getWidth() - minX;
53 if ((x < minX && y < minY) || (x > maxX && y > maxY)) {
56 } else if ((x < minX && y > maxY) || (x > maxX && y < minY)) {
59 } else if (x < minX || x > maxX) {
  /external/skia/src/core/
SkBitmapProcState_matrix_template.h 22 const unsigned maxX = s.fPixmap.width() - 1;
31 if (0 == maxX) {
39 if (tryDecal && can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
46 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
47 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
53 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
54 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
63 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
86 int maxX = s.fPixmap.width() - 1;
91 TileProc::X(s, SkFractionalIntToFixed(fx), maxX);
    [all...]
SkBitmapProcState_matrix.h 58 const unsigned maxX = s.fPixmap.width() - 1;
74 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) {
82 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X);
104 unsigned maxX = s.fPixmap.width() - 1;
110 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
121 unsigned maxX = s.fPixmap.width() - 1;
135 *xy++ = PACK_FILTER_X_NAME(srcXY[0] - (oneX >> 1), maxX,
SkBitmapProcState_shaderproc.h 25 const unsigned maxX = s.fPixmap.width() - 1;
55 unsigned subX = TILEX_LOW_BITS(fx, maxX);
56 unsigned x0 = TILEX_PROCF(fx, maxX);
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
SkBitmapProcState.cpp 386 const int maxX = s.fPixmap.width() - 1;
405 if (ix <= maxX) {
406 int n = SkMin32(maxX - ix + 1, count);
416 sk_memset32(colors, row[maxX], count);
778 const unsigned maxX = s.fPixmap.width() - 1;
791 // Check if we're safely inside [0...maxX] so no need to clamp each computed index.
793 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX &&
794 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX)
810 SkASSERT(index <= maxX);
816 dst[i] = src[SkClampMax(SkFractionalIntToInt(fx), maxX)];
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
TouchCoordinate.java 25 private float maxX;
32 * @param maxX Highest X value possible for any touch.
35 public TouchCoordinate(float x, float y, float maxX, float maxY) {
38 this.maxX = maxX;
51 return this.maxX;
  /external/replicaisland/src/com/replica/replicaisland/
CollisionVolume.java 61 final float maxX = getMaxX();
62 value = flip.parentWidth - maxX;
AABoxCollisionVolume.java 104 final float maxX;
111 maxX = Math.max(getMaxX(), other.getMaxX());
116 maxX = other.getMaxX();
121 final float horizontalDelta = maxX - minX;
GameObjectCollisionSystem.java 117 final float maxX = record.boundingVolume.getMaxXPosition(sFlip) + position.x;
126 if (otherPosition.x + other.boundingVolume.getMinXPosition(sOtherFlip) > maxX) {
SphereCollisionVolume.java 130 final float maxX;
137 maxX = Math.max(getMaxX(), other.getMaxX());
142 maxX = other.getMaxX();
147 final float horizontalDelta = maxX - minX;
  /external/skia/gm/
ovals.cpp 147 int maxX = fMatrices.count();
161 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
163 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
roundrects.cpp 150 int maxX = fMatrices.count();
164 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
166 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
  /development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
Bouncer.java 93 int maxX = mShapeX + mShapeW;
96 maxX = Math.max(mShapeX + mShapeW, maxX);
97 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
Bouncer1.java 67 int maxX = mShapeX + mShapeW;
70 maxX = Math.max(mShapeX + mShapeW, maxX);
71 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
Bouncer2.java 68 int maxX = mShapeX + mShapeW;
71 maxX = Math.max(mShapeX + mShapeW, maxX);
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
Bouncer3.java 68 int maxX = mShapeX + mShapeW;
71 maxX = Math.max(mShapeX + mShapeW, maxX);
72 invalidate(minX, mShapeY, maxX, mShapeY + mShapeH);
  /external/opencv3/3rdparty/openexr/IlmImf/
ImfPxr24Compressor.cpp 291 int maxX = min (range.max.x, _maxX);
308 int n = numSamples (c.xSampling, minX, maxX);
435 int maxX = min (range.max.x, _maxX);
453 int n = numSamples (c.xSampling, minX, maxX);
ImfAcesFile.cpp 348 int maxX;
361 maxX (0),
408 maxX = header.dataWindow().max.x;
528 for (int x = _data->minX; x <= _data->maxX; ++x)
ImfB44Compressor.cpp 654 int maxX = min (range.max.x, _maxX);
670 cd.nx = numSamples (c.channel().xSampling, minX, maxX);
887 int maxX = min (range.max.x, _maxX);
903 cd.nx = numSamples (c.channel().xSampling, minX, maxX);
ImfPizCompressor.cpp 333 int maxX = range.max.x;
340 if (maxX > _maxX)
341 maxX = _maxX;
355 cd.nx = numSamples (c.channel().xSampling, minX, maxX);
509 int maxX = range.max.x;
516 if (maxX > _maxX)
517 maxX = _maxX;
531 cd.nx = numSamples (c.channel().xSampling, minX, maxX);
  /external/skia/src/effects/
SkDashPathEffect.cpp 91 SkScalar maxX = pts[1].fX;
94 SkTSwap(minX, maxX);
97 SkASSERT(minX < maxX);
98 if (maxX <= bounds.fLeft || minX >= bounds.fRight) {
109 if (maxX > bounds.fRight) {
110 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength);
113 SkASSERT(maxX > minX);
115 SkTSwap(minX, maxX);
118 pts[1].fX = maxX;
    [all...]
  /external/skia/src/pathops/
SkReduceOrder.cpp 38 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) {
55 int index, minX, maxX, minY, maxY;
57 minX = maxX = minY = maxY = 0;
66 if (quad[maxX].fX < quad[index].fX) {
67 maxX = index;
90 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad);
149 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) {
186 int index, minX, maxX, minY, maxY;
188 minX = maxX = minY = maxY = 0;
197 if (cubic[maxX].fX < cubic[index].fX)
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
ResizableDialog.java 109 int maxX = windowBounds.x + windowBounds.width - initialSize.x;
111 if (x > maxX) {
112 x = maxX;

Completed in 994 milliseconds

1 2 3 4 5