/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextRegisterComponentCallbacksTest.java | 174 final int newHeight = displayMetrics.heightPixels + 10; in testRegisterComponentCallbacksOnWindowContext() local 176 resizeSecondaryDisplay(newWidth, newHeight, displayMetrics.densityDpi); in testRegisterComponentCallbacksOnWindowContext() 184 .that(bounds.height()).isEqualTo(newHeight); in testRegisterComponentCallbacksOnWindowContext()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ConfigurationCallbacksTest.java | 174 final int newHeight = originalSize.getHeight() + offset; in testDisplayResize() local 176 newWidth >= 200 && newHeight >= 200); in testDisplayResize() 179 mReportedDisplayMetrics.setSize(new Size(newWidth, newHeight)); in testDisplayResize() 205 final int newHeight = originalSize.getHeight() + offset; in testDisplayResizeForDisplayBoundsOnly() local 207 newWidth >= 200 && newHeight >= 200); in testDisplayResizeForDisplayBoundsOnly() 210 mReportedDisplayMetrics.setSize(new Size(newWidth, newHeight)); in testDisplayResizeForDisplayBoundsOnly()
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | testingimage.h | 36 int newHeight, int newWidth);
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_AImageDecoderTest.cpp | 988 int32_t newWidth = width / 2, newHeight = height / 2; in testSetCrop() local 989 result = AImageDecoder_setTargetSize(decoder, newWidth, newHeight); in testSetCrop() 1013 { 0, 0, newWidth, newHeight }, in testSetCrop() 1014 { 0, 0, newWidth / 3, newHeight }, in testSetCrop() 1015 { 0, 0, newWidth, newHeight / 4}, in testSetCrop() 1016 { newWidth / 2, 0, newWidth, newHeight / 2}, in testSetCrop() 1017 { 0, newHeight / 2, newWidth / 2, newHeight }, in testSetCrop() 1018 { newWidth / 2, newHeight / 2, newWidth, newHeight }, in testSetCrop() 1019 { 1, 1, newWidth - 1, newHeight - 1 }, in testSetCrop() 1029 newHeight = height * 2; in testSetCrop() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 394 int newHeight = validateDim(name, "height", dimensions.y, height); in validateView() local 395 dimensions.set(newWidth, newHeight); in validateView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 1099 int newHeight = originalHeight + 1; in testHeight() local 1100 setMaxHeight(newHeight); in testHeight() 1102 assertEquals(newHeight, mTextView.getMaxHeight()); in testHeight() 1104 newHeight = originalHeight - 1; in testHeight() 1105 setMaxHeight(newHeight); in testHeight() 1106 assertEquals(newHeight, mTextView.getHeight()); in testHeight() 1107 assertEquals(newHeight, mTextView.getMaxHeight()); in testHeight() 1109 newHeight = -1; in testHeight() 1110 setMaxHeight(newHeight); in testHeight() 1112 assertEquals(newHeight, mTextView.getMaxHeight()); in testHeight() [all …]
|
D | ScrollViewTest.java | 1490 int newHeight = size; in onMeasure() local 1492 newHeight = Math.max(size, mDesiredHeight); in onMeasure() 1494 newHeight = mDesiredHeight; in onMeasure() 1496 setMeasuredDimension(getMeasuredWidth(), newHeight); in onMeasure() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 676 public ResolutionQuality(int newSizeId, int newWidth, int newHeight) { in ResolutionQuality() argument 679 height = newHeight; in ResolutionQuality()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 1121 int newHeight = 333; in testComputeVerticalScroll() local 1123 new LinearLayout.LayoutParams(200, newHeight); in testComputeVerticalScroll() 1127 assertEquals(newHeight, view.getHeight()); in testComputeVerticalScroll()
|