Searched defs:newHeight (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/gui/
H A DGLConsumer.cpp726 int32_t newHeight = mCurrentCrop.height(); local
728 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
729 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
731 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
732 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
733 ST_LOGV("too tall: newHeight = %d", newHeight);
742 } else if (newHeight < mCurrentCrop.height()) {
743 int32_t dh = (newHeight - mCurrentCrop.height())/2;
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java613 final void resize(int newWidth, int newHeight) { argument
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp509 int32_t newHeight = getWindowProp(code->nativeWindow.get(), local
512 || newHeight != code->lastWindowHeight) {
/frameworks/base/core/java/android/view/
H A DView.java14351 int newHeight = bottom - top;
14352 boolean sizeChanged = (newWidth != oldWidth) || (newHeight != oldHeight);
14375 sizeChange(newWidth, newHeight, oldWidth, oldHeight);
14399 private void sizeChange(int newWidth, int newHeight, int oldWidth, int oldHeight) { argument
14400 onSizeChanged(newWidth, newHeight, oldWidth, oldHeight);
14403 mOverlay.getOverlayView().setBottom(newHeight);

Completed in 3563 milliseconds