/cts/tests/tests/content/src/android/content/wm/cts/ |
D | ContextRegisterComponentCallbacksTest.java | 173 final int newWidth = displayMetrics.widthPixels + 10; in testRegisterComponentCallbacksOnWindowContext() local 176 resizeSecondaryDisplay(newWidth, newHeight, displayMetrics.densityDpi); in testRegisterComponentCallbacksOnWindowContext() 182 .that(bounds.width()).isEqualTo(newWidth); in testRegisterComponentCallbacksOnWindowContext()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ConfigurationCallbacksTest.java | 173 final int newWidth = originalSize.getWidth() + offset; in testDisplayResize() local 176 newWidth >= 200 && newHeight >= 200); in testDisplayResize() 179 mReportedDisplayMetrics.setSize(new Size(newWidth, newHeight)); in testDisplayResize() 204 final int newWidth = originalSize.getWidth() + offset; in testDisplayResizeForDisplayBoundsOnly() local 207 newWidth >= 200 && newHeight >= 200); in testDisplayResizeForDisplayBoundsOnly() 210 mReportedDisplayMetrics.setSize(new Size(newWidth, newHeight)); in testDisplayResizeForDisplayBoundsOnly()
|
/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() 993 size_t expectedStride = bytesPerPixel(format) * newWidth; 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() [all …]
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | testingimage.h | 36 int newHeight, int newWidth);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 393 int newWidth = validateDim(name, "width", dimensions.x, width); in validateView() local 395 dimensions.set(newWidth, newHeight); in validateView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HorizontalScrollViewTest.java | 1359 int newWidth = size; in onMeasure() local 1361 newWidth = Math.max(size, mDesiredWidth); in onMeasure() 1363 newWidth = mDesiredWidth; in onMeasure() 1365 setMeasuredDimension(newWidth, getMeasuredHeight()); in onMeasure()
|
D | TextViewTest.java | 1202 int newWidth = mTextView.getWidth() / 8; in testWidth() local 1203 setWidth(newWidth); in testWidth() 1204 assertEquals(newWidth, mTextView.getWidth()); in testWidth() 1205 assertEquals(newWidth, mTextView.getMaxWidth()); in testWidth() 1206 assertEquals(newWidth, mTextView.getMinWidth()); in testWidth() 1209 newWidth = originalWidth + 1; in testWidth() 1210 setMinWidth(newWidth); in testWidth() 1212 assertEquals(newWidth, mTextView.getWidth()); in testWidth() 1213 assertEquals(newWidth, mTextView.getMinWidth()); in testWidth() 1215 newWidth = originalWidth - 1; in testWidth() [all …]
|
/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 678 width = newWidth; in ResolutionQuality()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 1089 int newWidth = 200; in testComputeHorizontalScroll() local 1090 final LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(newWidth, 100); in testComputeHorizontalScroll() 1094 assertEquals(newWidth, view.getWidth()); in testComputeHorizontalScroll()
|