Searched refs:mCurrentCrop (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/gui/
H A DSurfaceTexture.cpp296 mCurrentCrop = item.mCrop;
610 Rect cropRect = mCurrentCrop;
704 Rect outCrop = mCurrentCrop;
706 int32_t newWidth = mCurrentCrop.width();
707 int32_t newHeight = mCurrentCrop.height();
718 if (newWidth < mCurrentCrop.width()) {
719 int32_t dw = (newWidth - mCurrentCrop.width())/2;
723 } else if (newHeight < mCurrentCrop.height()) {
724 int32_t dh = (newHeight - mCurrentCrop.height())/2;
877 prefix, mTexName, mCurrentTexture, prefix, mCurrentCrop
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp69 mCurrentCrop.makeInvalid();
202 if (!mCurrentCrop.isEmpty()) {
203 crop = mCurrentCrop;
508 return !mCurrentCrop.isEmpty();
670 if ((crop != mCurrentCrop) ||
674 mCurrentCrop = crop;
H A DLayer.h123 Rect mCurrentCrop; member in class:android::Layer
/frameworks/native/include/gui/
H A DSurfaceTexture.h292 // mCurrentCrop is the crop rectangle that applies to the current texture.
294 Rect mCurrentCrop; member in class:android::SurfaceTexture

Completed in 73 milliseconds