Home
last modified time | relevance | path

Searched refs:cropTop (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp64 static Transform forCropFollowedByRotation(int cropLeft, int cropTop,
299 Transform Transform::forCropFollowedByRotation(int cropLeft, int cropTop, int cropRight, in forCropFollowedByRotation() argument
308 int cropYLow = min(cropTop, cropBottom); in forCropFollowedByRotation()
310 int cropYHigh = max(cropTop, cropBottom); in forCropFollowedByRotation()
522 int cropLeft, int cropTop, int cropRight, int cropBottom, in compress() argument
529 finalHeight = cropBottom - cropTop; in compress()
534 finalWidth = cropBottom - cropTop; in compress()
537 finalWidth = cropBottom - cropTop; in compress()
555 cropLeft, cropTop, cropRight, cropBottom, rot90); in compress()
558 cropLeft / 2, cropTop / 2, cropRight / 2, cropBottom / 2, rot90); in compress()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java125 float cropTop = -edges.top / scale; in getCrop() local
127 float cropBottom = cropTop + getHeight() / scale; in getCrop()
129 return new RectF(cropLeft, cropTop, cropRight, cropBottom); in getCrop()
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h64 size_t cropLeft, size_t cropTop,
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp35 const android_ycbcr &ycbcr, int32_t cropTop, int32_t cropLeft, in initDstYUV() argument
37 *dst_y = (uint8_t *)ycbcr.y + cropTop * ycbcr.ystride + cropLeft; in initDstYUV()
39 int32_t c_offset = (cropTop / 2) * ycbcr.cstride + cropLeft / 2; in initDstYUV()
DColorConverter.cpp135 size_t cropLeft, size_t cropTop, in BitmapParams() argument
143 mCropTop(cropTop), in BitmapParams()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionJpegProcessor.java182 int cropLeft, int cropTop, int cropRight, int cropBottom, in compressJpegFromYUV420pNative() argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java731 final int cropTop = (layoutHeight - mCropSize) / 2; in onLayout() local
733 final int cropBottom = cropTop + mCropSize; in onLayout()
737 mCropRect.set(cropLeft, cropTop, cropRight, cropBottom); in onLayout()
/frameworks/av/media/libstagefright/
DUtils.cpp1031 int32_t cropLeft, cropTop, cropRight, cropBottom; in convertMetaDataToMessage() local
1034 &cropTop, in convertMetaDataToMessage()
1037 msg->setRect("crop", cropLeft, cropTop, cropRight, cropBottom); in convertMetaDataToMessage()
1809 int32_t cropLeft, cropTop, cropRight, cropBottom; in convertMessageToMetaData() local
1812 &cropTop, in convertMessageToMetaData()
1815 meta->setRect(kKeyCropRect, cropLeft, cropTop, cropRight, cropBottom); in convertMessageToMetaData()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp764 int numPlanes, jobject buffer, int fenceFd, int format, int cropLeft, int cropTop, in ImageReader_createImagePlanes() argument
800 Rect cropRect(cropLeft, cropTop, cropRight, cropBottom); in ImageReader_createImagePlanes()
/frameworks/base/media/java/android/media/
DImageReader.java1208 GraphicBuffer buffer, int fenceFd, int format, int cropLeft, int cropTop, in nativeCreateImagePlanes() argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp2069 int32_t cropLeft, cropTop, cropRight, cropBottom; in updateVideoSize() local
2072 &cropLeft, &cropTop, &cropRight, &cropBottom)); in updateVideoSize()
2075 displayHeight = cropBottom - cropTop + 1; in updateVideoSize()
2082 cropLeft, cropTop); in updateVideoSize()