HomeSort by relevance Sort by last modified time
    Searched defs:maxX (Results 1 - 25 of 124) 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) {
43 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) {
52 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
53 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
59 a = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
60 b = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
69 *xx++ = TileProc::X(s, SkFractionalIntToFixed(fx), maxX); fx += dx;
91 int maxX = s.fPixmap.width() - 1;
96 TileProc::X(s, SkFractionalIntToFixed(fx), maxX);
    [all...]
SkBitmapProcState_matrix.h 53 const unsigned maxX = s.fPixmap.width() - 1;
71 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) {
78 *xy++ = PACK_FILTER_X_NAME(fixedFx, maxX, one PREAMBLE_ARG_X);
100 unsigned maxX = s.fPixmap.width() - 1;
106 *xy++ = PACK_FILTER_X_NAME(fx, maxX, oneX PREAMBLE_ARG_X);
SkBitmapProcState_shaderproc.h 25 const unsigned maxX = s.fPixmap.width() - 1;
55 unsigned subX = EXTRACT_LOW_BITS(fx, maxX);
56 unsigned x0 = TILEX_PROCF(fx, maxX);
57 unsigned x1 = TILEX_PROCF((fx + oneX), maxX);
SkColorLookUpTable.cpp 30 const uint8_t maxX = fGridPoints[0] - 1;
35 const float x = src[0] * maxX;
45 ix = (maxX == ix) ? ix - 1 : ix;
SkBitmapProcState.cpp 246 const int maxX = s.fPixmap.width() - 1;
265 if (ix <= maxX) {
266 int n = SkMin32(maxX - ix + 1, count);
276 sk_memset32(colors, row[maxX], count);
640 const unsigned maxX = s.fPixmap.width() - 1;
653 // Check if we're safely inside [0...maxX] so no need to clamp each computed index.
655 if ((uint64_t)SkFractionalIntToInt(fx) <= maxX &&
656 (uint64_t)SkFractionalIntToInt(fx + dx * (count - 1)) <= maxX)
672 SkASSERT(index <= maxX);
678 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 148 int maxX = fMatrices.count();
162 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
164 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
roundrects.cpp 151 int maxX = fMatrices.count();
165 mat.postTranslate(kXStart + SK_Scalar1 * kXStep * (testCount % maxX) +
167 kYStart + SK_Scalar1 * kYStep * (testCount / maxX) +
  /external/skia/src/pathops/
SkPathOpsCurve.cpp 16 double maxX = minX;
19 maxX = SkTMax(maxX, fCubic.fPts[index].fX);
21 if (!AlmostBetweenUlps(minX, xy.fX, maxX)) {
48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY));
SkReduceOrder.cpp 39 int minX, int maxX, int minY, int maxY, SkDQuad& reduction) {
56 int index, minX, maxX, minY, maxY;
58 minX = maxX = minY = maxY = 0;
67 if (quad[maxX].fX < quad[index].fX) {
68 maxX = index;
93 int result = check_linear(quad, minX, maxX, minY, maxY, fQuad);
152 int minX, int maxX, int minY, int maxY, SkDCubic& reduction) {
189 int index, minX, maxX, minY, maxY;
191 minX = maxX = minY = maxY = 0;
200 if (cubic[maxX].fX < cubic[index].fX)
    [all...]
  /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/skia/src/effects/
SkDashPathEffect.cpp 90 SkScalar maxX = pts[1].fX;
93 SkTSwap(minX, maxX);
96 SkASSERT(minX < maxX);
97 if (maxX <= bounds.fLeft || minX >= bounds.fRight) {
108 if (maxX > bounds.fRight) {
109 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength);
112 SkASSERT(maxX > minX);
114 SkTSwap(minX, maxX);
117 pts[1].fX = maxX;
    [all...]
  /external/swiftshader/src/Shader/
Constants.cpp 321 const dword maxX[16] = {0x00000000, 0x00000001, 0x00000100, 0x00000101, 0x00010000, 0x00010001, 0x00010100, 0x00010101, 0x01000000, 0x01000001, 0x01000100, 0x01000101, 0x01010000, 0x01010001, 0x01010100, 0x01010101};
329 memcpy(&this->maxX, &maxX, sizeof(maxX));
  /external/skia/src/opts/
SkBitmapProcState_matrix_neon.h 36 const unsigned maxX = s.fPixmap.width() - 1;
45 if (0 == maxX) {
57 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) {
88 fx8 = TILEX_PROCF_NEON8(lbase, hbase, maxX);
104 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX);
123 int maxX = s.fPixmap.width() - 1;
155 hi16.val[0] = TILEX_PROCF_NEON8(xbase, x2base, maxX);
176 TILEX_PROCF(SkFractionalIntToFixed(fx), maxX);
245 const unsigned maxX = s.fPixmap.width() - 1;
264 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) {
    [all...]
  /external/skia/src/utils/
SkDashPath.cpp 111 SkScalar maxX = pts[1].fX;
114 SkTSwap(minX, maxX);
117 SkASSERT(minX <= maxX);
118 if (maxX < bounds.fLeft || minX > bounds.fRight) {
130 if (maxX > bounds.fRight) {
131 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight,
135 SkASSERT(maxX >= minX);
137 SkTSwap(minX, maxX);
140 pts[1].fX = maxX;
    [all...]

Completed in 834 milliseconds

1 2 3 4 5