Searched refs:width2 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ClockTest.kt | 62 val width2 = clockView.measuredWidth in testWidthDoesNotDecrease_sameCharLength() constant 65 assertThat(width2).isAtLeast(width1) in testWidthDoesNotDecrease_sameCharLength() 78 val width2 = clockView.measuredWidth in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars() constant 81 assertThat(width2).isEqualTo(width1) in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars() 94 val width2 = clockView.measuredWidth in testWidthIncreases_whenCharsChanges() constant 97 assertThat(width2).isGreaterThan(width1) in testWidthIncreases_whenCharsChanges() 110 val width2 = clockView.measuredWidth in testWidthDecreases_whenCharsChange_longToShort() constant 113 assertThat(width2).isLessThan(width1) in testWidthDecreases_whenCharsChange_longToShort()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | TaskResizingAlgorithm.java | 109 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 …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SizeAreaComparator.java | 46 long width2 = size2.getWidth(); in compare() local 48 long area2 = width2 * size2.getHeight(); in compare() 51 return (width > width2) ? 1 : -1; in compare()
|
/frameworks/av/media/module/codecs/m4v_h263/dec/src/ |
D | post_filter.cpp | 44 int d, offset, nMBPerRow, nMBPerCol, width2 = (width << 1); in H263_Deblock() local 77 A = *(rec_y - width2); in H263_Deblock() 128 *(rec_y - width2) = A - d2; in H263_Deblock() 174 A = *(rec_y - width2); in H263_Deblock() 225 *(rec_y - width2) = A - d2; in H263_Deblock()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 158 val width2 = ValueAnimator.ofInt(chipMinWidth, dotSize).apply { in createMoveOutAnimationForDot() constant 205 animSet.playTogether(width1, width2, height1, height2, moveOut) in createMoveOutAnimationForDot()
|