Home
last modified time | relevance | path

Searched refs:currentWidth (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewActivity.java37 private int currentWidth = 0; field in Camera2SurfaceViewActivity
67 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()
83 if (currentWidth == expectWidth && currentHeight == expectHeight) { in waitForSurfaceSizeChanged()
105 currentWidth = width; in surfaceChanged()
/aosp14/frameworks/base/core/java/android/util/
H A DDisplayUtils.java78 int physicalWidth, int physicalHeight, int currentWidth, int currentHeight) { in getPhysicalPixelDisplaySizeRatio() argument
79 if (physicalWidth == currentWidth && physicalHeight == currentHeight) { in getPhysicalPixelDisplaySizeRatio()
82 final float widthRatio = (float) currentWidth / physicalWidth; in getPhysicalPixelDisplaySizeRatio()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wrapper/
H A DDisplayUtilsWrapper.kt28 currentWidth: Int,
34 currentWidth,
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
H A DRippleShader.kt234 setFloatUniform("in_size", rippleSize.currentWidth, rippleSize.currentHeight)
239 Math.min(rippleSize.currentWidth, rippleSize.currentHeight)
389 var currentWidth: Float = 0f
431 currentWidth = targetSize.width * subProgress + prevSize.width
H A DRippleView.kt234 val maskRadius = rippleShader.rippleSize.currentWidth
237 val maskWidth = rippleShader.rippleSize.currentWidth * 2
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
H A DTransitionLayoutController.kt49 private var currentWidth: Int = 0
75 if (currentHeight != state.height || currentWidth != state.width) {
77 currentWidth = state.width
78 sizeChangedListener?.invoke(currentWidth, currentHeight)
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DColorCutQuantizer.java493 private static int modifyWordWidth(int value, int currentWidth, int targetWidth) { in modifyWordWidth() argument
495 if (targetWidth > currentWidth) { in modifyWordWidth()
497 newValue = value << (targetWidth - currentWidth); in modifyWordWidth()
500 newValue = value >> (currentWidth - targetWidth); in modifyWordWidth()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarContentInsetsProvider.kt478 currentWidth: Int,
481 if (currentWidth < currentHeight) {
484 return sbRect.intersects(0, cutoutRect.top, currentWidth, cutoutRect.bottom)
485 } else if (currentWidth > currentHeight) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
H A DModernStatusBarWifiViewTest.kt178 val currentWidth = view.width regex
186 assertThat(view.width).isAtLeast(currentWidth)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaViewController.kt109 var currentWidth: Int = 0
213 currentWidth = width
H A DMediaCarouselController.kt960 width = Math.max(width, controller.currentWidth + controller.translationX.toInt())
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthRippleView.kt343 rippleShader.rippleSize.currentWidth, ripplePaint)