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

  /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/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...]
  /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...]
  /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...]
  /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);
  /cts/tests/tests/media/libmediandkjni/
codec-utils-jni.cpp 50 size_t cropHeight;
223 img->plane[ix].cropHeight =
257 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) {
285 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) {
323 tgt->plane[0].cropWidth, tgt->plane[0].cropHeight,
329 src->plane[0].cropWidth, src->plane[0].cropHeight,
335 for (size_t y = 0; y < tgt->plane[ix].cropHeight; ++y) {
339 + src->plane[ix].rowInc * (y % src->plane[ix].cropHeight));
361 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) {
396 for (size_t y = img->plane[0].cropHeight; y; --y)
    [all...]
  /hardware/intel/common/libmix/videodecoder/
VideoDecoderBase.cpp     [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 372 int cropHeight = Math.min(h, scaledDim);
373 Rect crop = new Rect(0 ,0, cropWidth, cropHeight);
  /external/opencv3/modules/videoio/src/
cap_libv4l.cpp     [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeDecodeTest.java     [all...]
  /frameworks/base/core/java/android/app/
WallpaperManager.java 633 float cropHeight = outHeight * (inWidth / (float) outWidth);
634 cropRect.top = (inHeight - cropHeight) * verticalAlignment;
635 cropRect.bottom = cropRect.top + cropHeight;
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/
CameraTestUtils.java     [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
CameraTestUtils.java     [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
WindowManagerService.java     [all...]

Completed in 3507 milliseconds