Home | History | Annotate | Download | only in gui

Lines Matching defs:newHeight

876         int32_t newHeight = mCurrentCrop.height();
878 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
879 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
881 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
882 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
883 ST_LOGV("too tall: newHeight = %d", newHeight);
892 } else if (newHeight < mCurrentCrop.height()) {
893 int32_t dh = (newHeight - mCurrentCrop.height())/2;