/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeLayoutInfo.java | 68 @NonNull Point viewOriginOnScreen, @Nullable Point displaySize) { in ImeLayoutInfo() argument 72 mDisplaySize = new Point(displaySize); in ImeLayoutInfo() 86 final Point displaySize = bundle.getParcelable(DISPLAY_SIZE_KEY); in readFromBundle() local 88 return new ImeLayoutInfo(newLayout, oldLayout, viewOrigin, displaySize); in readFromBundle() 99 final Point displaySize; in fromLayoutListenerCallback() local 101 displaySize = new Point(); in fromLayoutListenerCallback() 102 display.getRealSize(displaySize); in fromLayoutListenerCallback() 104 displaySize = null; in fromLayoutListenerCallback() 106 return new ImeLayoutInfo(newLayout, oldLayout, viewOrigin, displaySize); in fromLayoutListenerCallback()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | TvMaxWindowSizeTests.java | 72 final Point displaySize = new Point(); in setUp() local 73 display.getRealSize(displaySize); in setUp() 74 mDisplayLongestWidth = Math.max(displaySize.x, displaySize.y); in setUp() 75 mDisplayShortestWidth = Math.min(displaySize.x, displaySize.y); in setUp()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityFocusAndInputFocusSyncTest.java | 389 final Point displaySize = new Point(); in isBitmapDifferent() local 390 display.getRealSize(displaySize); in isBitmapDifferent() 392 final int[] pixelsOne = new int[displaySize.x * displaySize.y]; in isBitmapDifferent() 394 bitmapOne.getPixels(pixelsOne, 0, displaySize.x, 0, 0, displaySize.x, in isBitmapDifferent() 395 displaySize.y); in isBitmapDifferent() 397 final int[] pixelsTwo = new int[displaySize.x * displaySize.y]; in isBitmapDifferent() 399 bitmapTwo.getPixels(pixelsTwo, 0, displaySize.x, 0, 0, displaySize.x, in isBitmapDifferent() 400 displaySize.y); in isBitmapDifferent()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | CrossAppDragAndDropTests.java | 219 Point displaySize = getDisplaySize(); in launchFreeformActivities() local 221 displaySize, true /* leftSide */); in launchFreeformActivities() 223 displaySize, false /* leftSide */); in launchFreeformActivities() 232 String logtag, Point displaySize, boolean leftSide) throws Exception { in launchFreeformActivity() argument 235 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); in launchFreeformActivity() 236 Point bottomRight = new Point(leftSide ? displaySize.x / 2 : displaySize.x, displaySize.y); in launchFreeformActivity() 270 final Point displaySize = new Point(); in getDisplaySize() local 271 mDm.getDisplay(Display.DEFAULT_DISPLAY).getRealSize(displaySize); in getDisplaySize() 272 return displaySize; in getDisplaySize()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingPlaceholderTests.java | 219 final Size displaySize = new Size((int) (currentSize.getWidth() * 0.5), in testPlaceholderLaunchedWhenTaskWidthIncreased() local 221 mReportedDisplayMetrics.setSize(displaySize); in testPlaceholderLaunchedWhenTaskWidthIncreased() 249 mReportedDisplayMetrics.setSize(new Size((int) (displaySize.getWidth() * 1.1), in testPlaceholderLaunchedWhenTaskWidthIncreased() 250 (int) (displaySize.getHeight() * 1.1))); in testPlaceholderLaunchedWhenTaskWidthIncreased()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 105 final Size displaySize = getOnMainSync(() -> { in getInstance() local 118 actualBottomInset = displaySize.getHeight() - viewBoundsOnScreen.bottom; in getInstance()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | UiDumpUtils.java | 138 Point displaySize = new Point(); 142 .getRealSize(displaySize); 143 sScreenArea = displaySize.x * displaySize.y;
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | CompatChangeTests.java | 263 Size displaySize = displayMetricsSession.getInitialDisplayMetrics().getSize(); in testOverrideUseDisplayLandscapeNaturalOrientation() local 264 assumeTrue(displaySize.getHeight() < displaySize.getWidth()); in testOverrideUseDisplayLandscapeNaturalOrientation() 280 Size displaySize = displayMetricsSession.getInitialDisplayMetrics().getSize(); in testOverrideUseDisplayLandscapeNaturalOrientation_propertyIsFalse_overrideNotApplied() local 281 assumeTrue(displaySize.getHeight() < displaySize.getWidth()); in testOverrideUseDisplayLandscapeNaturalOrientation_propertyIsFalse_overrideNotApplied()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 1209 final Point displaySize = new Point(); 1210 display.getSize(displaySize); 1211 displayWidth = displaySize.x; 1212 displayHeight = displaySize.y;
|
D | MultiDisplayTestBase.java | 517 void createDisplays(Size displaySize, int densityDpi, boolean ownContentOnly, in createDisplays() argument 521 String displaySettingsEntry = displaySize + "/" + densityDpi; in createDisplays()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | DisplayCutoutTests.java | 171 final Size displaySize = sDisplayMetricsSession.getDisplayMetrics().getSize(); in setUpClass() local 172 final int orientation = displaySize.getHeight() <= displaySize.getWidth() in setUpClass()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 1723 Size displaySize = getDisplaySize(); 1724 mSocketRunnableObj.sendResponse("displaySize", displaySize.toString()); 1745 Size displaySize = new Size(width, height); 1746 return displaySize;
|