/external/skia/tests/ |
ImageFilterTest.cpp | 103 // Check that a color filter image filter without a crop rect can be 110 // Check that a color filter image filter with a crop rect cannot
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
PlanarYUVLuminanceSource.java | 25 * with the option to crop to a rectangle within the full data. This can be used to exclude 46 throw new IllegalArgumentException("Crop rectangle does not fit within image data.");
|
/frameworks/base/media/jni/ |
android_media_ImageReader.cpp | 730 // Check if the left-top corner of the crop rect is origin, we currently assume this point is 732 Point lt = buffer->crop.leftTop(); 735 "crop left top corner [%d, %d] need to be at origin", lt.x, lt.y); 744 // Correct width/height when crop is set. 745 if (!buffer->crop.isEmpty()) { 746 outputWidth = buffer->crop.getWidth(); 747 outputHeight = buffer->crop.getHeight(); 757 * right crop rectangle to CpuConsumer to indicate the actual image height,
|
/hardware/ti/omap4xxx/camera/inc/ |
NV12_resize.h | 128 * : cropout -> crop structure 132 * Not tested for crop funtionallity.
|
/packages/apps/Gallery2/jni/filters/ |
geometry.c | 116 __inline__ void crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight){ function 160 crop(source, srcWidth, srcHeight, destination, dstWidth, dstHeight, offsetWidth, offsetHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorCrop.java | 108 view.setText(mContext.getString(R.string.crop)); 160 return R.string.crop;
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_stream.c | 230 struct v4l2_crop crop; local 232 memset(&crop, 0, sizeof(crop)); 233 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 234 rc = ioctl(stream->fd, VIDIOC_G_CROP, &crop); 237 val->left = crop.c.left; 238 val->top = crop.c.top; 239 val->width = crop.c.width; 240 val->height = crop.c.height;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 74 /** Width & height of the crop region */ 84 /** Paint to partially dim the photo during crop */ 109 /** Whether or not crop is allowed */ 111 /** The crop region */ 113 /** Actual crop size; may differ from {@link #sCropSize} if the screen is smaller */ 538 throw new IllegalArgumentException("Cannot set crop after view has been laid out"); 541 throw new IllegalArgumentException("Cannot unset crop mode"); 664 // Create a crop region overlay. We need a separate canvas to be able to "punch 795 * @return the size of the crop regions [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_stream.c | 59 mm_camera_rect_t *crop); 877 mm_camera_rect_t *crop) 886 crop->left = crop_info.c.left; 887 crop->top = crop_info.c.top; 888 crop->width = crop_info.c.width; 889 crop->height = crop_info.c.height; 930 mm_camera_rect_t *crop = (mm_camera_rect_t *)out_value; local 931 rc = mm_stream_get_crop(my_obj, crop); 973 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local 974 rc = mm_stream_get_crop(my_obj, crop); 1016 mm_camera_rect_t *crop = (mm_camera_rect_t *)payload->value; local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Parameters.cpp | 1992 CropRegion crop = calculateCropRegion( (CropRegion::Outputs)( local 2736 CropRegion crop = { zoomLeft, zoomTop, zoomWidth, zoomHeight }; local [all...] |
Parameters.h | 248 // Calculate the crop region rectangle based on current stream sizes 323 // viewfinder crop-region relative array coordinates 329 // Convert between viewfinder crop-region relative array coordinates
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
SurfaceTextureTarget.java | 79 * bars. May crop. 318 // Screen is wider than the camera, crop in Y 324 // Screen is taller than the camera, crop in X
|
/frameworks/native/libs/gui/ |
BufferQueue.cpp | 474 Rect crop; local 482 input.deflate(×tamp, &isAutoTimestamp, &crop, &scalingMode, &transform, 535 ST_LOGV("queueBuffer: slot=%d/%llu time=%#llx crop=[%d,%d,%d,%d] " 538 crop.left, crop.top, crop.right, crop.bottom, 544 crop.intersect(bufferRect, &croppedCrop); 545 if (croppedCrop != crop) { 546 ST_LOGE("queueBuffer: crop rect is not contained within the [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.cpp | 916 virtual void setCrop(const FloatRect& crop) { 918 getLayer()->sourceCropf = reinterpret_cast<hwc_frect_t const&>(crop); 921 * Since h/w composer didn't support a flot crop rect before version 1.3, 923 * Layer::drawWithOpenGL(). The difference can be large if the buffer crop to 924 * window size ratio is large and a window crop is defined 925 * (i.e.: if we scale the buffer a lot and we also crop it with a window crop). 928 r.left = int(ceilf(crop.left)); 929 r.top = int(ceilf(crop.top)); 930 r.right = int(floorf(crop.right)) [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_utils.h | 162 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 189 //Trims a layer's source crop which is outside of screen boundary. 191 hwc_rect_t& crop, hwc_rect_t& dst);
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_utils.h | 162 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 189 //Trims a layer's source crop which is outside of screen boundary. 191 hwc_rect_t& crop, hwc_rect_t& dst);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
AttachPhotoActivity.java | 143 // crop intent for read-only URI's. 148 final Intent intent = new Intent("com.android.camera.action.CROP", toCrop); 161 // We should do this even if the crop failed and we eventually bail
|
/frameworks/base/services/java/com/android/server/wm/ |
WindowStateAnimator.java | 553 public void setWindowCrop(Rect crop) { 554 if (crop != null) { 555 if (!crop.equals(mWindowCrop)) { 556 Slog.v(SURFACE_TAG, "setWindowCrop(" + crop.toShortString() + "): OLD:" + this 558 mWindowCrop.set(crop); 561 super.setWindowCrop(crop); 620 + " crop=" + mWindowCrop.toShortString(); [all...] |
/hardware/libhardware/include/hardware/ |
camera3.h | [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
user_image_loader.cc | 102 // Auto crop the image, taking the largest square in the center.
|
/external/chromium_org/media/webm/ |
webm_video_client.cc | 57 // Set crop and display unit defaults if these elements are not present.
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
nullvideoframe.h | 83 size_t width, size_t height, bool interpolate, bool crop) const {}
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 119 GLint crop[4] = { 0, h, w, -h }; local 147 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); 178 GLint crop[4] = { 0, h, w, -h }; local 212 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
CropFilter.java | 108 throw new RuntimeException("Could not create a program for crop filter " + this + "!");
|