/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewActivity.java | 37 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()
|
/frameworks/base/core/java/android/util/ |
D | DisplayUtils.java | 78 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wrapper/ |
D | DisplayUtilsWrapper.kt | 28 currentWidth: Int, in getPhysicalPixelDisplaySizeRatio() 34 currentWidth, in getPhysicalPixelDisplaySizeRatio()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/ |
D | RippleShader.kt | 234 setFloatUniform("in_size", rippleSize.currentWidth, rippleSize.currentHeight) 239 Math.min(rippleSize.currentWidth, rippleSize.currentHeight) 389 var currentWidth: Float = 0f variable in com.android.systemui.surfaceeffects.ripple.RippleSize 431 currentWidth = targetSize.width * subProgress + prevSize.width in update()
|
D | RippleView.kt | 234 val maskRadius = rippleShader.rippleSize.currentWidth in <lambda>() 237 val maskWidth = rippleShader.rippleSize.currentWidth * 2 in <lambda>()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | ColorCutQuantizer.java | 493 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayoutController.kt | 60 private var currentWidth: Int = 0 variable in com.android.systemui.util.animation.TransitionLayoutController 86 if (currentHeight != state.height || currentWidth != state.width) { in applyStateToLayout() 88 currentWidth = state.width in applyStateToLayout() 89 sizeChangedListener?.invoke(currentWidth, currentHeight) in applyStateToLayout()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipBoundsStateTest.java | 99 final int currentWidth = mPipBoundsState.getBounds().width(); in testBoundsScale() local 101 final float expectedBoundsScale = Math.min((float) currentWidth / maxSize.x, 1.0f); in testBoundsScale()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 628 currentWidth: Int, in shareShortEdge() 631 if (currentWidth < currentHeight) { in shareShortEdge() 634 return sbRect.intersects(0, cutoutRect.top, currentWidth, cutoutRect.bottom) in shareShortEdge() 635 } else if (currentWidth > currentHeight) { in shareShortEdge()
|
/frameworks/native/libs/nativedisplay/surfacetexture/ |
D | SurfaceTexture.cpp | 366 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local 370 if (newWidth < currentWidth) { in scaleDownCrop() 371 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 854 auto currentWidth = std::get<0>(it); in getMatchingDepthSize() local 856 if ((currentWidth == width) && (currentHeight == height)) { in getMatchingDepthSize() 861 float currentRatio = static_cast<float> (currentWidth) / in getMatchingDepthSize() 863 auto currentSize = currentWidth * currentHeight; in getMatchingDepthSize() 866 *depthWidth = currentWidth; in getMatchingDepthSize()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/ |
D | ModernStatusBarWifiViewTest.kt | 180 val currentWidth = view.width in setVisibleState_hidden_keepWidth() constant 188 assertThat(view.width).isAtLeast(currentWidth) in setVisibleState_hidden_keepWidth()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 762 uint32_t currentWidth = static_cast<uint32_t>(crop.width()); in scaleDownCrop() local 766 if (newWidth < currentWidth) { in scaleDownCrop() 767 uint32_t dw = currentWidth - newWidth; in scaleDownCrop()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarAnimationHelper.java | 365 float currentWidth = bbev.getWidth() * bbev.getScaleX(); in animateIntoTarget() local 366 mTmpLocation[0] += (int) (currentWidth / 2f); in animateIntoTarget()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthRippleView.kt | 343 rippleShader.rippleSize.currentWidth, ripplePaint) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaViewController.kt | 146 var currentWidth: Int = 0 in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaViewController 327 currentWidth = width in <lambda>()
|
D | MediaCarouselController.kt | 1279 width = Math.max(width, controller.currentWidth + controller.translationX.toInt()) in <lambda>() 1287 width = Math.max(width, it.currentWidth + it.translationX.toInt()) in <lambda>()
|