Home
last modified time | relevance | path

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

/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/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/av/media/libstagefright/include/media/stagefright/
DColorConverter.h64 size_t cropLeft, size_t cropTop,
/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.cpp1014 int32_t cropLeft, cropTop, cropRight, cropBottom; in convertMetaDataToMessage() local
1017 &cropTop, in convertMetaDataToMessage()
1020 msg->setRect("crop", cropLeft, cropTop, cropRight, cropBottom); in convertMetaDataToMessage()
1763 int32_t cropLeft, cropTop, cropRight, cropBottom; in convertMessageToMetaData() local
1766 &cropTop, in convertMessageToMetaData()
1769 meta->setRect(kKeyCropRect, cropLeft, cropTop, cropRight, cropBottom); in convertMessageToMetaData()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp2043 int32_t cropLeft, cropTop, cropRight, cropBottom; in updateVideoSize() local
2046 &cropLeft, &cropTop, &cropRight, &cropBottom)); in updateVideoSize()
2049 displayHeight = cropBottom - cropTop + 1; in updateVideoSize()
2056 cropLeft, cropTop); in updateVideoSize()