Searched refs:displaySize (Results 1 – 8 of 8) sorted by relevance
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeLayoutInfo.java | 131 @NonNull Point viewOriginOnScreen, @Nullable Point displaySize, in ImeLayoutInfo() argument 136 mDisplaySize = new Point(displaySize); in ImeLayoutInfo() 154 final Point displaySize = bundle.getParcelable(DISPLAY_SIZE_KEY); in readFromBundle() local 158 return new ImeLayoutInfo(newLayout, oldLayout, viewOrigin, displaySize, systemWindowInset, in readFromBundle() 170 final Point displaySize; in fromLayoutListenerCallback() local 172 displaySize = new Point(); in fromLayoutListenerCallback() 173 display.getRealSize(displaySize); in fromLayoutListenerCallback() 175 displaySize = null; in fromLayoutListenerCallback() 195 return new ImeLayoutInfo(newLayout, oldLayout, viewOrigin, displaySize, systemWindowInset, in fromLayoutListenerCallback()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | CrossAppDragAndDropTests.java | 143 String logtag, Point displaySize, boolean leftSide) throws Exception { in launchFreeformActivity() argument 145 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); in launchFreeformActivity() 146 Point bottomRight = new Point(leftSide ? displaySize.x / 2 : displaySize.x, displaySize.y); in launchFreeformActivity() 157 final Point displaySize = new Point(); in getDisplaySize() local 158 mDm.getDisplay(Display.DEFAULT_DISPLAY).getRealSize(displaySize); in getDisplaySize() 159 return displaySize; in getDisplaySize() 194 Point displaySize = getDisplaySize(); in assertDragAndDropResults() local 196 displaySize, true /* leftSide */); in assertDragAndDropResults() 198 displaySize, false /* leftSide */); in assertDragAndDropResults()
|
D | DisplayCutoutTests.java | 248 final Point displaySize = new Point(); in assertOnlyShortEdgeHasInsets() local 249 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasInsets() 250 if (displaySize.y > displaySize.x) { in assertOnlyShortEdgeHasInsets() 257 if (displaySize.y < displaySize.x) { in assertOnlyShortEdgeHasInsets() 268 final Point displaySize = new Point(); in assertOnlyShortEdgeHasBounds() local 269 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasBounds() 270 if (displaySize.y > displaySize.x) { in assertOnlyShortEdgeHasBounds() 277 if (displaySize.y < displaySize.x) { in assertOnlyShortEdgeHasBounds()
|
D | WindowInputTests.java | 78 Point displaySize = new Point(); in testMoveWindowAndTap() local 79 mActivity.getDisplay().getSize(displaySize); in testMoveWindowAndTap() 100 displaySize.x - insets.getSystemWindowInsetRight(), in testMoveWindowAndTap() 101 displaySize.y - insets.getSystemWindowInsetBottom()); in testMoveWindowAndTap()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 104 final Size displaySize = getOnMainSync(() -> { in getInstance() local 117 actualBottomInset = displaySize.getHeight() - viewBoundsOnScreen.bottom; in getInstance()
|
/cts/tests/tests/graphics/jni/ |
D | VulkanPreTransformTestHelpers.cpp | 477 .width = mSwapchainInfo->displaySize().width, in createFrameBuffers() 478 .height = mSwapchainInfo->displaySize().height, in createFrameBuffers() 607 .width = (float)mSwapchainInfo->displaySize().width, in createGraphicsPipeline() 608 .height = (float)mSwapchainInfo->displaySize().height, in createGraphicsPipeline() 618 .extent = mSwapchainInfo->displaySize(), in createGraphicsPipeline() 796 .extent = mSwapchainInfo->displaySize(), in init()
|
D | VulkanPreTransformTestHelpers.h | 61 VkExtent2D displaySize() const { return mDisplaySize; } in displaySize() function
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 1041 final Point displaySize = new Point(); 1042 display.getSize(displaySize); 1043 displayWidth = displaySize.x; 1044 displayHeight = displaySize.y;
|