Home
last modified time | relevance | path

Searched refs:currentHeight (Results 1 – 17 of 17) 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/core/java/android/util/
DDisplayUtils.java78 int physicalWidth, int physicalHeight, int currentWidth, int currentHeight) { in getPhysicalPixelDisplaySizeRatio() argument
79 if (physicalWidth == currentWidth && physicalHeight == currentHeight) { in getPhysicalPixelDisplaySizeRatio()
83 final float heightRatio = (float) currentHeight / physicalHeight; in getPhysicalPixelDisplaySizeRatio()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleShader.kt223 setFloatUniform("in_size", rippleSize.currentWidth, rippleSize.currentHeight)
224 setFloatUniform("in_thickness", rippleSize.currentHeight * 0.5f)
228 Math.min(rippleSize.currentWidth, rippleSize.currentHeight)
381 var currentHeight: Float = 0f variable in com.android.systemui.surfaceeffects.ripple.RippleSize
422 currentHeight = targetSize.height * subProgress + prevSize.height in update()
DRippleView.kt238 val maskHeight = rippleShader.rippleSize.currentHeight * 2 in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java591 float currentHeight = mScaler.getHeight(); in finishExpanding() local
596 nowExpanded = currentHeight > mOldHeight && velocity >= 0; in finishExpanding()
598 nowExpanded = currentHeight >= mOldHeight || velocity > 0; in finishExpanding()
610 if (targetHeight != currentHeight && mEnabled && allowAnimation) { in finishExpanding()
641 mFlingAnimationUtils.apply(mScaleAnimation, currentHeight, targetHeight, velocity); in finishExpanding()
644 if (targetHeight != currentHeight) { in finishExpanding()
659 if (DEBUG) Log.d(TAG, "currentHeight is: " + currentHeight); in finishExpanding()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
DBouncerSwipeTouchHandler.java356 final float currentHeight = viewHeight * mCurrentExpansion; in flingToExpansion() local
358 final float expansionHeight = targetHeight - currentHeight; in flingToExpansion()
362 mFlingAnimationUtilsClosing.apply(animator, currentHeight, targetHeight, velocity, in flingToExpansion()
367 animator, currentHeight, targetHeight, velocity, viewHeight); in flingToExpansion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DTransitionLayoutController.kt48 private var currentHeight: Int = 0 variable in com.android.systemui.util.animation.TransitionLayoutController
75 if (currentHeight != state.height || currentWidth != state.width) { in applyStateToLayout()
76 currentHeight = state.height in applyStateToLayout()
78 sizeChangedListener?.invoke(currentWidth, currentHeight) in applyStateToLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt479 currentHeight: Int in shareShortEdge()
481 if (currentWidth < currentHeight) { in shareShortEdge()
485 } else if (currentWidth > currentHeight) { in shareShortEdge()
487 return sbRect.intersects(cutoutRect.left, 0, cutoutRect.right, currentHeight) in shareShortEdge()
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp365 uint32_t currentHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local
375 } else if (newHeight < currentHeight) { in scaleDownCrop()
376 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp830 auto currentHeight = std::get<1>(it); in getMatchingDepthSize() local
831 if ((currentWidth == width) && (currentHeight == height)) { in getMatchingDepthSize()
837 static_cast<float> (currentHeight); in getMatchingDepthSize()
838 auto currentSize = currentWidth * currentHeight; in getMatchingDepthSize()
842 *depthHeight = currentHeight; in getMatchingDepthSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DReceiverChipRippleView.kt101 val ratio = rippleShader.rippleSize.currentHeight / newHeight in <lambda>()
/frameworks/native/libs/gui/
DGLConsumer.cpp763 uint32_t currentHeight = static_cast<uint32_t>(crop.height()); in scaleDownCrop() local
773 } else if (newHeight < currentHeight) { in scaleDownCrop()
774 uint32_t dh = currentHeight - newHeight; in scaleDownCrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMediaViewController.kt144 var currentHeight: Int = 0 in <lambda>() variable in com.android.systemui.media.controls.ui.MediaViewController
241 currentHeight = height in <lambda>()
DMediaCarouselController.kt932 height = Math.max(height, controller.currentHeight + controller.translationY.toInt()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFragment.java634 int currentHeight = getView().getHeight(); in setQsExpansion() local
637 && mLastViewHeight == currentHeight in setQsExpansion()
648 mLastViewHeight = currentHeight; in setQsExpansion()
/frameworks/base/core/java/android/window/
DSplashScreenView.java574 final int currentHeight = b - t; in onLayout() local
587 final int remainingHeight = currentHeight - mTmpPos[1] - iconHeight; in onLayout()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1920 final int currentHeight = mWindow.getWindow().getAttributes().height; in onConfigureWindow() local
1922 if (mIsInputViewShown && currentHeight != newHeight) { in onConfigureWindow()
1925 + "window: " + currentHeight + " -> " + newHeight); in onConfigureWindow()