Searched refs:width1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ClockTest.kt | 57 val width1 = clockView.measuredWidth in testWidthDoesNotDecrease_sameCharLength() constant 65 assertThat(width2).isAtLeast(width1) in testWidthDoesNotDecrease_sameCharLength() 73 val width1 = clockView.measuredWidth in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars() constant 81 assertThat(width2).isEqualTo(width1) in testWidthDoesNotDecrease_narrowerFont_sameNumberOfChars() 89 val width1 = clockView.measuredWidth in testWidthIncreases_whenCharsChanges() constant 97 assertThat(width2).isGreaterThan(width1) in testWidthIncreases_whenCharsChanges() 105 val width1 = 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 | 108 int width1; in resizeDrag() local 114 width1 = Math.max(minVisibleWidth, Math.min(maxVisibleSize.x, width)); in resizeDrag() 115 height1 = Math.min(height, Math.round((float) width1 / MIN_ASPECT)); in resizeDrag() 119 width1 = Math.max(minVisibleWidth, in resizeDrag() 133 width1 = Math.max(minVisibleWidth, Math.min(maxVisibleSize.x, width)); in resizeDrag() 134 height1 = Math.max(height, Math.round((float) width1 * MIN_ASPECT)); in resizeDrag() 138 width1 = Math.max(minVisibleWidth, in resizeDrag() 155 if (grows == (width1 * height1 > width2 * height2)) { in resizeDrag() 156 width = width1; in resizeDrag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 150 val width1 = ValueAnimator.ofInt(chipWidth, chipMinWidth).apply { in createMoveOutAnimationForDot() constant 205 animSet.playTogether(width1, width2, height1, height2, moveOut) in createMoveOutAnimationForDot()
|
/frameworks/av/media/module/extractors/tests/ |
D | ExtractorUnitTest.cpp | 1113 int32_t width1, height1; in TEST_P() local 1116 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat[1], AMEDIAFORMAT_KEY_WIDTH, &width1)); in TEST_P() 1118 ASSERT_EQ(width0, width1) << "Mismatch between extractor's width"; in TEST_P()
|