HomeSort by relevance Sort by last modified time
    Searched full:cropheight (Results 1 - 15 of 15) sorted by null

  /frameworks/av/media/libstagefright/colorconversion/
ColorConverter.cpp 75 size_t ColorConverter::BitmapParams::cropHeight() const {
143 && src.cropHeight() == dst.cropHeight())) {
153 for (size_t y = 0; y < src.cropHeight(); ++y) {
203 && src.cropHeight() == dst.cropHeight())) {
222 for (size_t y = 0; y < src.cropHeight(); ++y) {
299 && src.cropHeight() == dst.cropHeight())) {
313 for (size_t y = 0; y < src.cropHeight(); ++y)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 208 int cropHeight = original.getHeight();
211 if (forceCropToSquare && cropWidth != cropHeight) {
213 if (cropHeight > cropWidth) {
214 cropTop = (cropHeight - cropWidth) / 2;
215 cropHeight = cropWidth;
217 cropLeft = (cropWidth - cropHeight) / 2;
218 cropWidth = cropHeight;
222 final float scaleFactor = Math.min(1f, ((float) maxDim) / Math.max(cropWidth, cropHeight));
226 final int newHeight = (int) (cropHeight * scaleFactor);
239 cropLeft + cropWidth, cropTop + cropHeight);
    [all...]
  /cts/tests/tests/media/libmediandkjni/
codec-utils-jni.cpp 48 size_t cropHeight;
221 img->plane[ix].cropHeight =
255 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) {
280 tgt->plane[0].cropWidth, tgt->plane[0].cropHeight,
286 src->plane[0].cropWidth, src->plane[0].cropHeight,
292 for (size_t y = 0; y < tgt->plane[ix].cropHeight; ++y) {
296 + src->plane[ix].rowInc * (y % src->plane[ix].cropHeight));
318 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) {
353 for (size_t y = img->plane[0].cropHeight; y; --y) {
387 rawStats[0] = img->plane[0].cropWidth * (uint64_t)img->plane[0].cropHeight;
    [all...]
  /frameworks/av/include/media/stagefright/
ColorConverter.h 55 size_t cropHeight() const;
  /packages/apps/Camera2/src/com/android/camera/util/
AspectRatio.java 177 int cropHeight = area.width() * mHeight / mWidth;
178 int cropTop = (area.height() - cropHeight) / 2;
179 int cropBottom = cropTop + cropHeight;
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
AndroidCamera2Settings.java 561 float cropHeight, cropWidth;
564 cropHeight = requestedCrop.height();
565 cropWidth = cropHeight * aspectRatioPreview;
569 cropHeight = cropWidth / aspectRatioPreview;
573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight);
  /packages/apps/Gallery/src/com/android/camera/
CropImage.java 479 int cropHeight = cropWidth;
483 cropHeight = cropWidth * mAspectY / mAspectX;
485 cropWidth = cropHeight * mAspectX / mAspectY;
490 int y = (height - cropHeight) / 2;
492 RectF cropRect = new RectF(x, y, x + cropWidth, y + cropHeight);
  /hardware/intel/common/libmix/videodecoder/
VideoDecoderBase.cpp     [all...]
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_fbupdate.cpp 528 const uint32_t cropHeight = sourceCrop.bottom - sourceCrop.top;
531 const uint32_t layerClock = getLayerClock(dstWidth, dstHeight, cropHeight);
hwc_mdpcomp.cpp     [all...]
  /frameworks/base/core/java/android/app/
WallpaperManager.java 555 float cropHeight = outHeight * (inWidth / (float) outWidth);
556 cropRect.top = (inHeight - cropHeight) * verticalAlignment;
557 cropRect.bottom = cropRect.top + cropHeight;
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeDecodeTest.java     [all...]
  /device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
mm_jpeg.c 355 thumbnail.cropHeight = CEILING2(src_buf->crop.height);
376 __func__, thumbnail.cropWidth, thumbnail.cropHeight,
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java     [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
WindowManagerService.java     [all...]

Completed in 657 milliseconds