Home
last modified time | relevance | path

Searched refs:currentHeight (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java38 private int currentHeight = 0; field in Camera2SurfaceViewActivity
67 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()
83 if (currentWidth == expectWidth && currentHeight == expectHeight) { in waitForSurfaceSizeChanged()
106 currentHeight = height; in surfaceChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java562 float currentHeight = mScaler.getHeight(); in finishExpanding() local
567 nowExpanded = currentHeight > mOldHeight && velocity >= 0; in finishExpanding()
569 nowExpanded = currentHeight >= mOldHeight || velocity > 0; in finishExpanding()
581 if (targetHeight != currentHeight && mEnabled && allowAnimation) { in finishExpanding()
609 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding()
612 if (targetHeight != currentHeight) { in finishExpanding()
624 if (DEBUG) Log.d(TAG, "currentHeight is: " + currentHeight); in finishExpanding()
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp377 uint32_t currentHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local
387 } else if (newHeight < currentHeight) { in scaleDownCrop()
388 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp747 auto currentHeight = std::get<1>(it); in getMatchingDepthSize() local
748 if ((currentWidth == width) && (currentHeight == height)) { in getMatchingDepthSize()
754 static_cast<float> (currentHeight); in getMatchingDepthSize()
755 auto currentSize = currentWidth * currentHeight; in getMatchingDepthSize()
759 *depthHeight = currentHeight; in getMatchingDepthSize()
/frameworks/native/libs/gui/
DGLConsumer.cpp764 uint32_t currentHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local
774 } else if (newHeight < currentHeight) { in scaleDownCrop()
775 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1362 final int currentHeight = mWindow.getWindow().getAttributes().height; in onConfigureWindow() local
1364 if (mIsInputViewShown && currentHeight != newHeight) { in onConfigureWindow()
1367 + "window: " + currentHeight + " -> " + newHeight); in onConfigureWindow()