Home
last modified time | relevance | path

Searched refs:requestedCrop (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayerRejecter.cpp80 if (mFront.crop != mFront.requestedCrop) { in reject()
81 mFront.crop = mFront.requestedCrop; in reject()
82 mCurrent.crop = mFront.requestedCrop; in reject()
DLayer.h195 Rect requestedCrop; member
DLayer.cpp121 mCurrentState.requestedCrop = mCurrentState.crop; in Layer()
1276 if (mCurrentState.requestedCrop == crop) return false; in setCrop()
1278 mCurrentState.requestedCrop = crop; in setCrop()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Settings.java557 private static Rect effectiveCropRectFromRequested(Rect requestedCrop, Size previewSize) { in effectiveCropRectFromRequested() argument
558 float aspectRatioArray = requestedCrop.width() * 1.0f / requestedCrop.height(); in effectiveCropRectFromRequested()
564 cropHeight = requestedCrop.height(); in effectiveCropRectFromRequested()
568 cropWidth = requestedCrop.width(); in effectiveCropRectFromRequested()
576 translateMatrix.setTranslate(requestedCrop.exactCenterX(), requestedCrop.exactCenterY()); in effectiveCropRectFromRequested()