/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/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYGraphBounds.java | 23 private Number maxX;
|
RectRegion.java | 40 * @param maxX
44 public RectRegion(Number minX, Number maxX, Number minY, Number maxY, String label) {
45 xLineRegion = new LineRegion(minX, maxX);
51 public RectRegion(Number minX, Number maxX, Number minY, Number maxY) {
52 this(minX, maxX, minY, maxY, null);
64 //return RectRegion.isBetween(value, minX, maxX);
81 * the boundary edge, ie. a maxX of null equals positive infinity while a
84 * @param maxX
89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) {
90 return xLineRegion.intersects(minX, maxX) && yLineRegion.intersects(minY, maxY); [all...] |
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfTiledMisc.h | 54 int minX, int maxX, 59 int minX, int maxX, 67 int minX, int maxX,
|
ImfTiledMisc.cpp | 74 int minX, int maxX, 81 V2i (levelSize (minX, maxX, lx, tileDesc.roundingMode) - 1, 90 int minX, int maxX, 101 (tileDesc, minX, maxX, minY, maxY, lx, ly).max; 181 int minX, int maxX, 196 int w = maxX - minX + 1; 205 int w = maxX - minX + 1; 221 int minX, int maxX, 236 int w = maxX - minX + 1; 277 int minX, int maxX, [all...] |
/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_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);
|
/cts/tests/openglperf2/jni/graphics/ |
Vector2D.h | 27 void limit(float maxX, float 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) {
|
/frameworks/support/compat/java/android/support/v4/widget/ |
ScrollerCompat.java | 166 * @param maxX Maximum X value. The scroller will not scroll past this 174 int minX, int maxX, int minY, int maxY) { 175 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); 190 * @param maxX Maximum X value. The scroller will not scroll past this 202 int minX, int maxX, int minY, int maxY, int overX, int overY) { 204 minX, maxX, minY, maxY, overX, overY); 213 * @param maxX Maximum valid X value 219 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { 220 return mScroller.springBack(startX, startY, minX, maxX, minY, maxY);
|
/external/opencv3/modules/imgproc/src/opencl/ |
boxFilter.cl | 64 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 66 x = max(min(x, maxX - 1), minX); \ 70 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 73 x -= ((x - maxX + 1) / maxX) * maxX; \ 74 if (x >= maxX) \ 75 x %= maxX; \ 82 #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ 84 if (maxX - minX == 1) [all...] |
filter2DSmall.cl | 86 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 88 x = max(min(x, maxX - 1), minX); \ 92 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 95 x -= ((x - maxX + 1) / maxX) * maxX; \ 96 if (x >= maxX) \ 97 x %= maxX; \ 104 #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ 106 if (maxX - minX == 1) [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSE2.cpp | 252 const unsigned maxX = s.fPixmap.width() - 1; 265 if (dx > 0 && (unsigned)(fx >> 16) <= maxX && 266 (unsigned)((fx + dx * (count - 1)) >> 16) < maxX) { 304 // maxX less than the max 16bit interger. Actually maxX is the bitmap's 307 if ((count >= 4) && (maxX <= 0xFFFF)) { 309 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one); 318 __m128i wide_maxX = _mm_set1_epi32(maxX); 326 // i = SkClampMax(f>>16,maxX) 358 *xy++ = ClampX_ClampY_pack_filter(fx, maxX, one) [all...] |
SkBitmapProcState_matrix_neon.h | 38 const unsigned maxX = s.fPixmap.width() - 1; 47 if (0 == maxX) { 57 if (can_truncate_to_fixed_for_decal(fx, dx, count, maxX)) { 89 fx8 = TILEX_PROCF_NEON8(lbase, hbase, maxX); 105 *xx++ = TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); 124 int maxX = s.fPixmap.width() - 1; 156 hi16.val[0] = TILEX_PROCF_NEON8(xbase, x2base, maxX); 177 TILEX_PROCF(SkFractionalIntToFixed(fx), maxX); 189 int maxX = s.fPixmap.width() - 1; 209 hi16.val[0] = TILEX_PROCF_NEON8(xy1.val[0], xy2.val[0], 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...] |
/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/replicaisland/src/com/replica/replicaisland/ |
AABoxCollisionVolume.java | 104 final float maxX; 111 maxX = Math.max(getMaxX(), other.getMaxX()); 116 maxX = other.getMaxX(); 121 final float horizontalDelta = maxX - minX;
|
CollisionVolume.java | 61 final float maxX = getMaxX(); 62 value = flip.parentWidth - maxX;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
ValPixConverter.java | 86 * @param maxX Maximum visible real value on the y (domain) axis.
91 public static PointF valToPix(Number x, Number y, RectF plotArea, Number minX, Number maxX, Number minY, Number maxY) {
92 float pixX = ValPixConverter.valToPix(x.doubleValue(), minX.doubleValue(), maxX.doubleValue(), plotArea.width(), false) + (plotArea.left);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 176 float maxX = vertices[0];
183 maxX = maxX < vertices[i] ? vertices[i] : maxX;
190 bounds.width = maxX - minX;
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
bm.cu | 72 const int maxX, const int maxY, const int acceptLevel, const int escapeLevel, 92 if (0 <= X2 && X2 <= maxX && 0 <= Y2 && Y2 <= maxY) 112 if (0 <= X2 && X2 <= maxX && 0 <= Y2 && Y2 <= maxY) 152 int maxX, int maxY, int acceptLevel, int escapeLevel, const short2* ss, int ssCount, cudaStream_t stream) 161 maxX, maxY, acceptLevel, escapeLevel, ss, ssCount);
|
/external/skia/src/utils/ |
SkDashPath.cpp | 117 SkScalar maxX = pts[1].fX; 120 SkTSwap(minX, maxX); 123 SkASSERT(minX <= maxX); 124 if (maxX < bounds.fLeft || minX > bounds.fRight) { 136 if (maxX > bounds.fRight) { 137 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, 141 SkASSERT(maxX >= minX); 143 SkTSwap(minX, maxX); 146 pts[1].fX = maxX; [all...] |