Home
last modified time | relevance | path

Searched refs:width2 (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DClockTest.kt62 val width2 = clockView.measuredWidth regex
65 assertThat(width2).isAtLeast(width1)
78 val width2 = clockView.measuredWidth regex
81 assertThat(width2).isEqualTo(width1)
94 val width2 = clockView.measuredWidth regex
97 assertThat(width2).isGreaterThan(width1)
110 val width2 = clockView.measuredWidth regex
113 assertThat(width2).isLessThan(width1)
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DTaskResizingAlgorithm.java109 int width2; in resizeDrag() local
124 width2 = Math.max(width, Math.round((float) height2 * MIN_ASPECT)); in resizeDrag()
125 if (width2 < minVisibleWidth) { in resizeDrag()
127 width2 = minVisibleWidth; in resizeDrag()
129 Math.min(maxVisibleSize.y, Math.round((float) width2 / MIN_ASPECT))); in resizeDrag()
143 width2 = Math.min(width, Math.round((float) height2 / MIN_ASPECT)); in resizeDrag()
144 if (width2 < minVisibleWidth) { in resizeDrag()
146 width2 = minVisibleWidth; in resizeDrag()
148 Math.min(maxVisibleSize.y, Math.round((float) width2 * MIN_ASPECT))); in resizeDrag()
155 if (grows == (width1 * height1 > width2 * height2)) { in resizeDrag()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSizeAreaComparator.java46 long width2 = size2.getWidth(); in compare() local
48 long area2 = width2 * size2.getHeight(); in compare()
51 return (width > width2) ? 1 : -1; in compare()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
H A DSystemEventChipAnimationController.kt161 val width2 = ValueAnimator.ofInt(chipMinWidth, dotSize).apply { regex
208 animSet.playTogether(width1, width2, height1, height2, moveOut)