/packages/apps/Camera2/src/com/android/camera/ui/ |
TouchCoordinate.java | 26 private float maxY; 33 * @param maxY Highest Y value possible for any touch. 35 public TouchCoordinate(float x, float y, float maxX, float maxY) { 39 this.maxY = maxY; 55 return this.maxY;
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYGraphBounds.java | 25 private Number maxY;
|
RectRegion.java | 42 * @param maxY
44 public RectRegion(Number minX, Number maxX, Number minY, Number maxY, String label) {
46 yLineRegion = new LineRegion(minY, maxY);
51 public RectRegion(Number minX, Number maxX, Number minY, Number maxY) {
52 this(minX, maxX, minY, maxY, null);
69 //return RectRegion.isBetween(value, minY, maxY);
86 * @param maxY
89 public boolean intersects(Number minX, Number maxX, Number minY, Number maxY) {
90 return xLineRegion.intersects(minX, maxX) && yLineRegion.intersects(minY, maxY);
128 * @param maxY
[all...] |
/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 | 49 final int maxY = getHeight() - minY; 53 if ((x < minX && y < minY) || (x > maxX && y > maxY)) { 56 } else if ((x < minX && y > maxY) || (x > maxX && y < minY)) { 62 } else if (y < minY || y > maxY) {
|
/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) 46 ctx->PrimitiveBoundingBox[5] = maxY;
|
/frameworks/support/compat/java/android/support/v4/widget/ |
ScrollerCompat.java | 202 * @param maxY Maximum Y 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); 229 * @param maxY Maximum Y 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); 254 * @param maxY Maximum valid Y 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);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DiscretePathEffectTest.java | 85 int maxY = 0; 92 maxY = Math.max(maxY, y); 104 assertTrue(maxY - minY > 0); 106 assertTrue(maxY - minY <= 1 + 2 * DEVIATION);
|
/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; 70 if (quad[maxY].fY < quad[index].fY) { 71 maxY = 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; 203 if (cubic[maxY].fY < cubic[index].fY) [all...] |
SkPathOpsCurve.cpp | 25 double maxY = minY; 28 maxY = SkTMax(maxY, fCubic.fPts[index].fY); 30 if (!AlmostBetweenUlps(minY, xy.fY, maxY)) { 48 double largest = SkTMax(SkTMax(maxX, maxY), -SkTMin(minX, minY));
|
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
Bouncer.java | 106 int maxY = mShapeY + mShapeH; 109 maxY = Math.max(mShapeY + mShapeH, maxY); 110 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
Bouncer1.java | 76 int maxY = mShapeY + mShapeH; 79 maxY = Math.max(mShapeY + mShapeH, maxY); 80 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
Bouncer2.java | 77 int maxY = mShapeY + mShapeH; 80 maxY = Math.max(mShapeY + mShapeH, maxY); 81 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
Bouncer3.java | 77 int maxY = mShapeY + mShapeH; 80 maxY = Math.max(mShapeY + mShapeH, maxY); 81 invalidate(mShapeX, minY, mShapeX + mShapeW, maxY);
|
/external/replicaisland/src/com/replica/replicaisland/ |
AABoxCollisionVolume.java | 107 final float maxY; 113 maxY = Math.max(getMaxY(), other.getMaxY()); 118 maxY = other.getMaxY(); 122 final float verticalDelta = maxY - minY;
|
CollisionVolume.java | 83 final float maxY = getMaxY(); 84 value = flip.parentHeight - maxY;
|
SphereCollisionVolume.java | 133 final float maxY; 139 maxY = Math.max(getMaxY(), other.getMaxY()); 144 maxY = other.getMaxY(); 148 final float verticalDelta = maxY - minY;
|
/external/skia/src/core/ |
SkBitmapProcState_matrix_template.h | 26 const unsigned maxY = s.fPixmap.height() - 1; 27 *xy++ = TileProc::Y(s, mapper.fixedY(), maxY); 92 int maxY = s.fPixmap.height() - 1; 95 *xy++ = (TileProc::Y(s, SkFractionalIntToFixed(fy), maxY) << 16) |
|
SkBitmapProcState_shaderproc.h | 36 const unsigned maxY = s.fPixmap.height() - 1; 38 subY = EXTRACT_LOW_BITS(fy, maxY); 39 int y0 = TILEY_PROCF(fy, maxY); 40 int y1 = TILEY_PROCF((fy + s.fFilterOneY), maxY);
|
SkBitmapProcState_matrix.h | 61 const unsigned maxY = s.fPixmap.height() - 1; 63 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); 101 unsigned maxY = s.fPixmap.height() - 1; 104 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
ValPixConverter.java | 88 * @param maxY Maximum visible real value on the y (range axis.
91 public static PointF valToPix(Number x, Number y, RectF plotArea, Number minX, Number maxX, Number minY, Number maxY) {
93 float pixY = ValPixConverter.valToPix(y.doubleValue(), minY.doubleValue(), maxY.doubleValue(), plotArea.height(), true) + plotArea.top;
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
SlideTransitionTest.java | 67 assertTrue(finalOffsetOut * 0.8 < ratchet.maxY); 68 assertTrue(finalOffsetOut + 0.1 > ratchet.maxY); 148 public float maxY = Float.NaN; 155 minX = minY = maxX = maxY = Float.NaN; 163 minY = maxY = mView.getTranslationY(); 169 maxY = Math.max(maxY, mView.getTranslationY());
|
/external/skia/src/effects/ |
SkDashPathEffect.cpp | 121 SkScalar maxY = pts[1].fY; 124 SkTSwap(minY, maxY); 127 SkASSERT(minY < maxY); 128 if (maxY <= bounds.fTop || minY >= bounds.fBottom) { 139 if (maxY > bounds.fBottom) { 140 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength); 143 SkASSERT(maxY > minY); 145 SkTSwap(minY, maxY); 148 pts[1].fY = maxY; [all...] |
/external/skia/src/opts/ |
SkBitmapProcState_matrix_neon.h | 40 const unsigned maxY = s.fPixmap.height() - 1; 41 *xy++ = TILEY_PROCF(mapper.fixedY(), maxY); 124 int maxY = s.fPixmap.height() - 1; 156 hi16.val[1] = TILEY_PROCF_NEON8(ybase, y2base, maxY); 175 *xy++ = (TILEY_PROCF(SkFractionalIntToFixed(fy), maxY) << 16) | 253 const unsigned maxY = s.fPixmap.height() - 1; 255 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); 318 unsigned maxY = s.fPixmap.height() - 1; 337 vxy.val[0] = PACK_FILTER_Y4_NAME(wide_fy, maxY, oneY PREAMBLE_ARG_Y); 355 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y) [all...] |