/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/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_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);
|
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);
|
/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) {
|
/external/mesa3d/src/mesa/main/ |
bbox.h | 37 GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
|
bbox.c | 37 GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) 45 ctx->PrimitiveBoundingBox[4] = maxX;
|
/frameworks/support/compat/java/android/support/v4/widget/ |
ScrollerCompat.java | 198 * @param maxX Maximum X value. The scroller will not scroll past this 209 int minX, int maxX, int minY, int maxY) { 210 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY); 225 * @param maxX Maximum X value. The scroller will not scroll past this 241 int minX, int maxX, int minY, int maxY, int overX, int overY) { 243 minX, maxX, minY, maxY, overX, overY); 252 * @param maxX Maximum valid X value 261 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { 262 return mScroller.springBack(startX, startY, minX, maxX, minY, maxY);
|
/external/skia/src/opts/ |
SkBitmapProcState_opts_SSE2.cpp | 253 const unsigned maxX = s.fPixmap.width() - 1; 266 if (can_truncate_to_fixed_for_decal(fx, dx, count, 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); 373 const unsigned maxX = s.fPixmap.width() - 1 [all...] |
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/pathops/ |
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/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;
|
SphereCollisionVolume.java | 130 final float maxX; 137 maxX = Math.max(getMaxX(), other.getMaxX()); 142 maxX = other.getMaxX(); 147 final float horizontalDelta = maxX - minX;
|
/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/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...] |
/packages/apps/Dialer/java/com/android/dialershared/bubble/ |
MoveHandler.java | 49 private final int maxX; 76 return MathUtils.clamp(realX, minX, maxX); 133 maxX = context.getResources().getDisplayMetrics().widthPixels - minX; 155 moveXAnimation.animateToFinalPosition(relativeToRight(bubble.getWindowParams()) ? maxX : minX); 178 moveXAnimation.animateToFinalPosition(MathUtils.clamp(eventX, minX, maxX)); 238 scroller.fling(startX, startY, (int) xVelocity, (int) yVelocity, minX, maxX, minY, maxY); 245 return new Point(pullRight ? maxX : minX, targetY); 255 return currentX > (minX + maxX) / 2; 261 moveXAnimation.animateToFinalPosition(pullRight ? maxX : minX);
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorConvolution.h | 576 const int maxX, const int kernelSize, float* buffer) { 579 const int first_x = blockIdx.x * maxX; 580 const int last_x = (first_x + maxX < numX ? first_x + maxX : numX) - 1; 624 const int maxX, const int numY, const int maxY, const int kernelSizeX, 628 const int first_x = blockIdx.x * maxX; 629 const int last_x = (first_x + maxX < numX ? first_x + maxX : numX) - 1; 691 const size_t maxX, const size_t numY, const size_t maxY, const size_t numZ, 697 const int first_x = blockIdx.x * maxX; [all...] |