Lines Matching defs:newWidth
917 int32_t newWidth = mCurrentCrop.width();
920 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
921 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
922 ST_LOGV("too wide: newWidth = %d", newWidth);
923 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
924 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
929 if (newWidth < mCurrentCrop.width()) {
930 int32_t dw = (newWidth - mCurrentCrop.width())/2;