/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/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/libavc/encoder/ |
ime_macros.h | 41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y)))
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_scissor.c | 52 GLint miny, maxy; local 60 scissor[i].maxy = fb_height; 74 if (ymax < (GLint) scissor[i].maxy) 75 scissor[i].maxy = ymax; 78 if (scissor[i].minx >= scissor[i].maxx || scissor[i].miny >= scissor[i].maxy) 79 scissor[i].minx = scissor[i].miny = scissor[i].maxx = scissor[i].maxy = 0; 86 miny = fb->Height - scissor[i].maxy; 87 maxy = fb->Height - scissor[i].miny; 89 scissor[i].maxy = maxy; [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
r600_viewport.c | 55 float tmp, minx, miny, maxx, maxy; local 61 maxy = vp->scale[1] + vp->translate[1]; 64 if (minx == -1 && miny == -1 && maxx == 1 && maxy == 1) { 66 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx); 76 if (miny > maxy) { 78 miny = maxy; 79 maxy = tmp; 86 scissor->maxy = ceilf(maxy); 97 out->maxy = CLAMP(scissor->maxy, 0, max_scissor) [all...] |
/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/skia/src/core/ |
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);
|
/external/python/cpython2/Lib/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/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 | 85 int maxY = 0; 92 maxY = Math.max(maxY, y); 104 assertTrue(maxY - minY > 0); 106 assertTrue(maxY - minY <= 1 + 2 * DEVIATION);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
resize.rs | 52 int maxy = gHeightIn - 1; 59 uint32_t ys0 = (uint32_t) clamp(starty + 0, 0 , maxy); 60 uint32_t ys1 = (uint32_t) clamp(starty + 1, 0 , maxy); 61 uint32_t ys2 = (uint32_t) clamp(starty + 2, 0 , maxy); 62 uint32_t ys3 = (uint32_t) clamp(starty + 3, 0 , maxy);
|
/frameworks/rs/tests/java_api/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 | 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...] |
/cts/tests/openglperf2/jni/graphics/ |
Vector2D.h | 27 void limit(float maxX, float maxY);
|
/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);
|