/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/mesa3d/src/mesa/state_tracker/ |
st_atom_scissor.c | 49 GLint miny, maxy; local 54 scissor.maxy = fb->Height; 68 if (ymax < (GLint) scissor.maxy) 69 scissor.maxy = ymax; 72 if (scissor.minx >= scissor.maxx || scissor.miny >= scissor.maxy) 73 scissor.minx = scissor.miny = scissor.maxx = scissor.maxy = 0; 80 miny = fb->Height - scissor.maxy; 81 maxy = fb->Height - scissor.miny; 83 scissor.maxy = maxy; [all...] |
/external/libvncserver/examples/ |
zippy.c | 7 static int maxx=400, maxy=400, bpp=4; variable 28 if(!rfbProcessSizeArguments(&maxx,&maxy,&bpp,&argc,argv)) 31 server = rfbGetScreen (&argc, argv, maxx, maxy, 8, 3, bpp); 35 server->frameBuffer = (char*)malloc(maxx*maxy*bpp); 42 blank_framebuffer(server->frameBuffer, 0, 0, maxx, maxy); 52 for (i=0; i < maxx * maxy * bpp; i++) frame_buffer[i]=(char) 0; 126 for (i=maxy-4; i>maxy-20; i-=4) 152 blank_framebuffer(cl->screen->frameBuffer, 0, 0, maxx, maxy); 153 rfbDrawString(cl->screen,&default8x16Font,20,maxy-20,"Hello, World!",0xffffff) [all...] |
example.c | 38 static int maxx=800, maxy=600; variable 46 for(j=0;j<maxy;++j) { 48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ 50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ 86 maxy = height; 88 newfb = (unsigned char*)malloc(maxx * maxy * bpp); 90 rfbNewFramebuffer(screen, (char*)newfb, maxx, maxy, 8, 3, bpp); 128 if(x>=0 && y>=0 && x<maxx && y<maxy) { 144 y2=y+buttonMask; if(y2>maxy) y2=maxy; [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
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...] |
/external/opencv3/modules/imgproc/src/opencl/ |
boxFilter.cl | 64 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 67 y = max(min(y, maxY - 1), minY); \ 70 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 77 y -= ((y - maxY + 1) / maxY) * maxY; \ 78 if (y >= maxY) \ 79 y %= maxY; \ 82 #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ 96 if (maxY - minY == 1) [all...] |
filter2DSmall.cl | 86 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 89 y = max(min(y, maxY - 1), minY); \ 92 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 99 y -= ((y - maxY + 1) / maxY) * maxY; \ 100 if (y >= maxY) \ 101 y %= maxY; \ 104 #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ 118 if (maxY - minY == 1) [all...] |
filterSmall.cl | 51 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 54 y = max(min(y, maxY - 1), minY); \ 57 #define EXTRAPOLATE(x, y, minX, minY, maxX, maxY) \ 64 y -= ((y - maxY + 1) / maxY) * maxY; \ 65 if (y >= maxY) \ 66 y %= maxY; \ 69 #define EXTRAPOLATE_(x, y, minX, minY, maxX, maxY, delta) \ 83 if (maxY - minY == 1) [all...] |
/external/libavc/encoder/ |
ime_macros.h | 41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y)))
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfTiledMisc.cpp | 75 int minY, int maxY, 82 levelSize (minY, maxY, ly, tileDesc.roundingMode) - 1); 91 int minY, int maxY, 101 (tileDesc, minX, maxX, minY, maxY, lx, ly).max; 182 int minY, int maxY) 197 int h = maxY - minY + 1; 222 int minY, int maxY) 237 int h = maxY - minY + 1; 245 int h = maxY - minY + 1; 278 int minY, int maxY, [all...] |
/external/opencv3/samples/cpp/ |
create_mask.cpp | 34 int minx,miny,maxx,maxy,lenx,leny; variable 85 maxy = max(maxy,pts[i].y); 88 leny = maxy - miny; 118 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN; 135 minx = INT_MAX; miny = INT_MAX; maxx = INT_MIN; maxy = INT_MIN;
|
/external/skia/src/core/ |
SkBitmapProcState_matrix.h | 66 const unsigned maxY = s.fPixmap.height() - 1; 68 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, s.fFilterOneY PREAMBLE_ARG_Y); 105 unsigned maxY = s.fPixmap.height() - 1; 108 *xy++ = PACK_FILTER_Y_NAME(fy, maxY, oneY PREAMBLE_ARG_Y); 122 unsigned maxY = s.fPixmap.height() - 1; 133 *xy++ = PACK_FILTER_Y_NAME(srcXY[1] - (oneY >> 1), maxY,
|
SkBitmapProcState_matrix_template.h | 26 const unsigned maxY = s.fPixmap.height() - 1; 27 *xy++ = TileProc::Y(s, mapper.fixedY(), maxY); 87 int maxY = s.fPixmap.height() - 1; 90 *xy++ = (TileProc::Y(s, SkFractionalIntToFixed(fy), maxY) << 16) | 102 int maxY = s.fPixmap.height() - 1; 111 *xy++ = (TileProc::Y(s, srcXY[1], maxY) << 16) |
|
SkBitmapProcState_shaderproc.h | 36 const unsigned maxY = s.fPixmap.height() - 1; 38 subY = TILEY_LOW_BITS(fy, maxY); 39 int y0 = TILEY_PROCF(fy, maxY); 40 int y1 = TILEY_PROCF((fy + s.fFilterOneY), 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/chromium-trace/catapult/experimental/heatmap/ |
input.js | 49 var maxX = x + 5, maxY = y - 5; 52 var maxTime = this.getTime(maxX), maxY = this.getBucket(maxY); 56 for (var bucket = minY; bucket <= maxY; ++bucket) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/curses/ |
textpad.py | 46 (self.maxy, self.maxx) = win.getmaxyx() 47 self.maxy = self.maxy - 1 68 if y < self.maxy or x < self.maxx: 89 if y < self.maxy or x < self.maxx: 114 elif y == self.maxy: 121 if self.maxy == 0: 123 elif y < self.maxy: 135 if y < self.maxy: 151 for y in range(self.maxy+1) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/curses/ |
textpad.py | 46 (self.maxy, self.maxx) = win.getmaxyx() 47 self.maxy = self.maxy - 1 68 if y < self.maxy or x < self.maxx: 89 if y < self.maxy or x < self.maxx: 114 elif y == self.maxy: 121 if self.maxy == 0: 123 elif y < self.maxy: 135 if y < self.maxy: 151 for y in range(self.maxy+1) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/curses/ |
textpad.py | 46 (self.maxy, self.maxx) = win.getmaxyx() 47 self.maxy = self.maxy - 1 68 if y < self.maxy or x < self.maxx: 89 if y < self.maxy or x < self.maxx: 114 elif y == self.maxy: 121 if self.maxy == 0: 123 elif y < self.maxy: 135 if y < self.maxy: 151 for y in range(self.maxy+1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/curses/ |
textpad.py | 46 (self.maxy, self.maxx) = win.getmaxyx() 47 self.maxy = self.maxy - 1 68 if y < self.maxy or x < self.maxx: 89 if y < self.maxy or x < self.maxx: 114 elif y == self.maxy: 121 if self.maxy == 0: 123 elif y < self.maxy: 135 if y < self.maxy: 151 for y in range(self.maxy+1) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DiscretePathEffectTest.java | 77 int maxY = 0; 84 maxY = Math.max(maxY, y); 96 assertTrue(maxY - minY > 0); 98 assertTrue(maxY - minY <= 1 + 2 * DEVIATION);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
Cube.java | 36 float maxy = v.mDimy - delta - trim[4] * (v.mDimy - delta);
local 41 maxx, maxy, minz,
42 minx, maxy, minz,
45 maxx, maxy, maxz,
46 minx, maxy, maxz,
|
/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/libavc/common/ |
ih264_macros.h | 75 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > (maxy))?(maxy):(y)))
|
/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; 69 if (quad[maxY].fY < quad[index].fY) { 70 maxY = 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; 200 if (cubic[maxY].fY < cubic[index].fY) [all...] |