Home
last modified time | relevance | path

Searched refs:displaySize (Results 1 – 6 of 6) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeLayoutInfo.java130 @NonNull Point viewOriginOnScreen, @Nullable Point displaySize, in ImeLayoutInfo() argument
135 mDisplaySize = new Point(displaySize); in ImeLayoutInfo()
153 final Point displaySize = bundle.getParcelable(DISPLAY_SIZE_KEY); in readFromBundle() local
157 return new ImeLayoutInfo(newLayout, oldLayout, viewOrigin, displaySize, systemWindowInset, in readFromBundle()
169 final Point displaySize; in fromLayoutListenerCallback() local
171 displaySize = new Point(); in fromLayoutListenerCallback()
172 display.getRealSize(displaySize); in fromLayoutListenerCallback()
174 displaySize = null; in fromLayoutListenerCallback()
194 return new ImeLayoutInfo(newLayout, oldLayout, viewOrigin, displaySize, systemWindowInset, in fromLayoutListenerCallback()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DCrossAppDragAndDropTests.java226 String logtag, Point displaySize, boolean leftSide) throws Exception { in launchFreeformActivity() argument
232 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); in launchFreeformActivity()
233 Point bottomRight = new Point(leftSide ? displaySize.x / 2 : displaySize.x, displaySize.y); in launchFreeformActivity()
365 Point displaySize = getDisplaySize(); in assertDragAndDropResults() local
368 displaySize, true /* leftSide */); in assertDragAndDropResults()
371 displaySize, false /* leftSide */); in assertDragAndDropResults()
DDisplayCutoutTests.java197 final Point displaySize = new Point(); in assertOnlyShortEdgeHasInsets() local
198 runOnMainSync(() -> activity.getDecorView().getDisplay().getRealSize(displaySize)); in assertOnlyShortEdgeHasInsets()
199 if (displaySize.y > displaySize.x) { // Portrait display in assertOnlyShortEdgeHasInsets()
205 if (displaySize.y < displaySize.x) { // Landscape display in assertOnlyShortEdgeHasInsets()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java102 final Size displaySize = getOnMainSync(() -> { in getInstance() local
115 actualBottomInset = displaySize.getHeight() - viewBoundsOnScreen.bottom; in getInstance()
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.h59 VkExtent2D displaySize() const { return mDisplaySize; } in displaySize() function
DVulkanPreTransformTestHelpers.cpp451 .width = mSwapchainInfo->displaySize().width, in createFrameBuffers()
452 .height = mSwapchainInfo->displaySize().height, in createFrameBuffers()
583 .width = (float)mSwapchainInfo->displaySize().width, in createGraphicsPipeline()
584 .height = (float)mSwapchainInfo->displaySize().height, in createGraphicsPipeline()
594 .extent = mSwapchainInfo->displaySize(), in createGraphicsPipeline()
772 .extent = mSwapchainInfo->displaySize(), in init()