Home | History | Annotate | Download | only in gui

Lines Matching defs:newHeight

918         int32_t newHeight = mCurrentCrop.height();
920 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
921 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
923 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
924 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
925 ST_LOGV("too tall: newHeight = %d", newHeight);
934 } else if (newHeight < mCurrentCrop.height()) {
935 int32_t dh = (newHeight - mCurrentCrop.height())/2;