/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtilsTest.java | 41 BufferedImage crop = ImageUtils.cropBlank(image, null); local 42 assertNull(crop); 52 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local 53 assertNull(crop); 63 BufferedImage crop = ImageUtils.cropBlank(image, null); local 64 assertNotNull(crop); 65 assertEquals(image.getWidth(), crop.getWidth()); 66 assertEquals(image.getHeight(), crop.getHeight()); 78 BufferedImage crop = ImageUtils.cropBlank(image, null); local 79 assertNotNull(crop); 95 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(0, 0, 100, 100)); local 112 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local 127 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local 138 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, null); local 153 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local 173 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, new Rect(40, 40, 0, 0)); local [all...] |
/sdk/assetstudio/tests/src/com/android/assetstudiolib/ |
LauncherIconGeneratorTest.java | 27 boolean crop, int background, boolean isWebGraphic) throws IOException { 30 options.crop = crop;
|
/frameworks/base/opengl/tests/finish/ |
finish.cpp | 105 GLint crop[4] = { 0, 512, 512, -512 }; 106 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 119 GLint crop[4] = { 0, 1, 1, -1 }; 120 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 133 GLint crop[4] = { 0, 512, 512, -512 }; 134 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 148 GLint crop[4] = { 0, 1, 1, -1 }; 149 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 165 GLint crop[4] = { 0, 512, 512, -512 }; 166 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); [all...] |
/system/core/libpixelflinger/ |
raster.cpp | 146 GGLint gglBitBlit(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4]) 168 const GGLint Wcr = crop[2]; 169 const GGLint Hcr = crop[3]; 173 const GGLint Ucr = crop[0]; 174 const GGLint Vcr = crop[1]; 190 const GGLint Ucr = crop[0] << 16; 191 const GGLint Vcr = crop[1] << 16; 192 const GGLint Wcr = crop[2] << 16; 193 const GGLint Hcr = crop[3] << 16;
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediachannel.h | 299 // take the nearest-point. The parameter "crop" controls whether to crop this 304 bool interpolate, bool crop) const = 0; 311 // nearest-point. The parameter "crop" controls whether to crop this frame to 314 bool interpolate, bool crop) const = 0; 318 // take the nearest-point. The parameter "crop" controls whether to crop this 321 bool crop) const = 0; 325 // just take the nearest-point. The parameter "crop" controls whether to cro [all...] |
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 189 c->width, c->height, c->crop.x, c->crop.y, 190 c->crop.w, c->crop.h, 319 oc->crop.w = oc->win.w = width; 320 oc->crop.h = oc->win.h = height; 362 /* crop */ 363 oc->crop.x = layer->sourceCrop.left; 364 oc->crop.y = layer->sourceCrop.top; 365 oc->crop.w = WIDTH(layer->sourceCrop) 495 } crop, win; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 117 * crop off pixels that are blank (meaning they have an alpha value = 0). Note that 122 * crop to continue. This can be used to crop an image where you already 129 public boolean crop(BufferedImage bufferedImage, int x, int y) { 136 return crop(image, filter, initialCrop); 147 * crop to continue. This can be used to crop an image where you already 155 public boolean crop(BufferedImage bufferedImage, int x, int y) { 159 return crop(image, filter, initialCrop); 175 boolean crop(BufferedImage image, int x, int y) method in interface:ImageUtils.CropFilter 178 private static BufferedImage crop(BufferedImage image, CropFilter filter, Rect initialCrop) { method in class:ImageUtils [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
LabelMaker.java | 376 int[] crop = new int[4]; local 377 crop[0] = cropU; 378 crop[1] = cropV; 379 crop[2] = cropW; 380 crop[3] = cropH; 381 mCrop = crop;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/ |
SoftAVC.h | 97 bool handleCropRectEvent(const CropParams* crop);
|
SoftAVC.cpp | 426 bool SoftAVC::handleCropRectEvent(const CropParams *crop) { 427 if (mCropLeft != crop->cropLeftOffset || 428 mCropTop != crop->cropTopOffset || 429 mCropWidth != crop->cropOutWidth || 430 mCropHeight != crop->cropOutHeight) { 431 mCropLeft = crop->cropLeftOffset; 432 mCropTop = crop->cropTopOffset; 433 mCropWidth = crop->cropOutWidth; 434 mCropHeight = crop->cropOutHeight;
|
/frameworks/base/opengl/tests/textures/ |
textures.cpp | 65 GLint crop[4] = { 0, 4, 4, -4 }; 67 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
LauncherIconGenerator.java | 83 if (launcherOptions.crop) { 132 public boolean crop = true; field in class:LauncherIconGenerator.LauncherOptions
|
/frameworks/base/services/camera/libcameraservice/ |
CameraHardwareInterface.h | 630 android_native_rect_t crop; local 631 crop.left = left; 632 crop.top = top; 633 crop.right = right; 634 crop.bottom = bottom; 635 return native_window_set_crop(a, &crop);
|
/external/qemu/android/camera/ |
camera-capture-linux.c | 293 struct v4l2_crop crop; local 311 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 312 crop.c = cropcap.defrect; /* reset to default */ 313 _xioctl (cd->handle, VIDIOC_S_CROP, &crop); 801 struct v4l2_crop crop; local 818 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 819 crop.c = cropcap.defrect; /* reset to default */ 820 _xioctl (cd->handle, VIDIOC_S_CROP, &crop); [all...] |
/frameworks/base/opengl/tests/filter/ |
filter.cpp | 76 GLint crop[4] = { 0, 4, 4, -4 }; 78 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/system/core/include/system/ |
window.h | 462 * native_window_set_crop(..., crop) 464 * A buffer's crop region is scaled to match the surface's size. 466 * The specified crop region applies to all buffers queued after it is called. 468 * if 'crop' is NULL, subsequently queued buffers won't be cropped. 470 * An error is returned if for instance the crop region is invalid, 475 android_native_rect_t const * crop) 477 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); 518 * Calling this function will reset the window crop to a NULL value, which
|
/frameworks/base/services/surfaceflinger/ |
Layer.cpp | 432 const Rect crop(mSurfaceTexture->getCurrentCrop()); 435 if ((crop != mCurrentCrop) || 439 mCurrentCrop = crop;
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 112 GLint crop[4] = { 0, h, w, -h }; local 140 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 165 GLint crop[4] = { 0, h, w, -h }; local 199 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/base/opengl/tests/gl_yuvtex/ |
gl_yuvtex.cpp | 151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local 152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/base/libs/gui/tests/ |
SurfaceTextureClient_test.cpp | 548 android_native_rect_t crop; local 549 crop.left = 0; 550 crop.top = 0; 551 crop.right = 5; 552 crop.bottom = 5; 557 ASSERT_EQ(OK, native_window_set_crop(mANW.get(), &crop)); 564 // transform matrix to avoid texturing outside the crop region.
|
SurfaceTexture_test.cpp | 642 const android_native_rect_t& crop(crops[i]); 643 SCOPED_TRACE(String8::format("rect{ l: %d t: %d r: %d b: %d }", crop.left, 644 crop.top, crop.right, crop.bottom).string()); 646 ASSERT_EQ(NO_ERROR, native_window_set_crop(mANW.get(), &crop)); 657 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP.c | 692 /* crop */ 1507 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local 1643 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local [all...] |
/bionic/libc/kernel/common/video/ |
dsscomp.h | 210 struct dss2_rect_t crop; member in struct:dss2_ovl_cfg
|
/external/kernel-headers/original/video/ |
dsscomp.h | 286 * 1) 0 <= crop.x <= crop.x + crop.w <= width 287 * 2) 0 <= crop.y <= crop.y + crop.h <= height 301 * 2) Crop region will be adjusted to the pixel granularity: 303 * not modify the output region. Crop region is for the 330 struct dss2_rect_t crop; /* crop window - in source buffer * member in struct:dss2_ovl_cfg [all...] |
/frameworks/base/libs/gui/ |
SurfaceTexture.cpp | 558 status_t SurfaceTexture::setCrop(const Rect& crop) { 565 mNextCrop = crop; 805 // In order to prevent bilinear sampling at the of the crop rectangle we 816 // decoder, camera, etc.) would simply not use a crop rectangle (or at 847 float crop[16] = { local 855 mtxMul(mtxBeforeFlipV, crop, xform); [all...] |