Home
last modified time | relevance | path

Searched defs:bounds (Results 1 – 25 of 77) sorted by relevance

1234

/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPictureInPictureParamsTest.java99 final Rect bounds = new Rect(0, 0, 100, 200); in testIsSameAspectRatio_exactMatch_returnTrue() local
107 final Rect bounds = new Rect(0, 0, 99, 200); in testIsSameAspectRatio_width1PixelShorter_returnTrue() local
115 final Rect bounds = new Rect(0, 0, 101, 200); in testIsSameAspectRatio_width1PixelLonger_returnTrue() local
123 final Rect bounds = new Rect(0, 0, 100, 199); in testIsSameAspectRatio_height1PixelShorter_returnTrue() local
131 final Rect bounds = new Rect(0, 0, 100, 201); in testIsSameAspectRatio_height1PixelLonger_returnTrue() local
139 final Rect bounds = new Rect(0, 0, 95, 200); in testIsSameAspectRatio_width5PixelShorter_returnFalse() local
147 final Rect bounds = new Rect(0, 0, 105, 200); in testIsSameAspectRatio_width5PixelLonger_returnFalse() local
155 final Rect bounds = new Rect(0, 0, 100, 195); in testIsSameAspectRatio_height5PixelShorter_returnFalse() local
163 final Rect bounds = new Rect(0, 0, 100, 205); in testIsSameAspectRatio_height5PixelLonger_returnFalse() local
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlInputReceiverTest.java141 Rect bounds = new Rect(); in testLocalASurfaceControlReceivesInput() local
142 assertWindowAndGetBounds(mActivity.getDisplayId(), bounds); in testLocalASurfaceControlReceivesInput() local
193 Rect bounds = new Rect(); in testRemoteASurfaceControlReceivesInput() local
194 assertWindowAndGetBounds(mActivity.getDisplayId(), bounds); in testRemoteASurfaceControlReceivesInput() local
235 Rect bounds = new Rect(); in testTransferGestureFromHostToEmbedded() local
236 assertWindowAndGetBounds(mActivity.getDisplayId(), bounds); in testTransferGestureFromHostToEmbedded() local
275 Rect bounds = new Rect(); in testTransferGestureFromHostToEmbeddedRemote() local
276 assertWindowAndGetBounds(mActivity.getDisplayId(), bounds); in testTransferGestureFromHostToEmbeddedRemote() local
316 Rect bounds = new Rect(); in testTransferGestureFromEmbeddedToHost() local
317 assertWindowAndGetBounds(mActivity.getDisplayId(), bounds); in testTransferGestureFromEmbeddedToHost() local
[all …]
DSurfaceControlInputReceiverTests.java170 Rect bounds = getWindowBoundsInDisplaySpace(() -> clientToken, mDisplayId); in testLocalSurfaceControlReceivesInput() local
234 Rect bounds = new Rect(); in testRemoteSurfaceControlReceivesInput() local
302 Rect bounds = getWindowBoundsInDisplaySpace(() -> clientToken, mDisplayId); in testNonBatchedSurfaceControlReceivesInput() local
343 Rect bounds = getWindowBoundsInDisplaySpace(() -> clientToken, mDisplayId); in testTransferGestureFromHostToEmbedded() local
391 Rect bounds = new Rect(); in testTransferGestureFromHostToEmbeddedRemote() local
448 Rect bounds = getWindowBoundsInDisplaySpace(() -> clientToken, mDisplayId); in testTransferGestureFromEmbeddedToHost() local
481 Rect bounds = new Rect(); in testTransferGestureFromEmbeddedToHostRemote() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAccessibilityNodeInfoUtils.kt28 val AccessibilityNodeInfo.bounds: Rect get() = Rect().also { getBoundsInScreen(it) } in <lambda>() constant
31 val bounds = bounds in AccessibilityNodeInfo() constant
/cts/tests/tests/gesture/src/android/gesture/cts/
DLineGestureStrokeHelper.java61 RectF bounds = new RectF(); in assertLineBoundingBox() local
77 void assertLineBoundingBox(RectF bounds) { in assertLineBoundingBox()
DGestureStrokeTest.java94 RectF bounds = new RectF(); in testToPath_boundedLine() local
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java92 final Rect bounds = context.createDisplayContext( in registerOrganizer() local
308 public void setRootPrimaryTaskBounds(Rect bounds) { in setRootPrimaryTaskBounds()
309 setTaskBounds(mRootPrimary.getToken(), bounds); in setRootPrimaryTaskBounds() local
312 void setRootSecondaryTaskBounds(Rect bounds) { in setRootSecondaryTaskBounds()
313 setTaskBounds(mRootSecondary.getToken(), bounds); in setRootSecondaryTaskBounds() local
324 private void setTaskBounds(WindowContainerToken container, Rect bounds) { in setTaskBounds()
461 Rect bounds = config.getBounds(); in addTask() local
DTouchHelper.java63 final Rect bounds = dc.getDisplayRect(); in touchAndCancelOnDisplayCenterSync() local
104 public void tapOnCenter(Rect bounds, int displayId) { in tapOnCenter()
108 public void tapOnCenter(Rect bounds, int displayId, boolean waitAnimation) { in tapOnCenter()
131 final Rect bounds = mWmState.getDisplay(displayId).getDisplayRect(); in tapOnDisplayCenter() local
185 final Rect bounds = task.getBounds(); in tapOnTaskCenterAsync() local
192 final Rect bounds = mWmState.getDisplay(displayId).getDisplayRect(); in triggerBackEventByGesture() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DWindowContextTests.java94 Rect bounds = windowContext.getSystemService(WindowManager.class).getCurrentWindowMetrics() in testWindowContextConfigChanges() local
96 assertBoundsEquals(displayMetricsSession.getDisplayMetrics(), bounds); in testWindowContextConfigChanges() local
104 assertBoundsEquals(displayMetricsSession.getDisplayMetrics(), bounds); in testWindowContextConfigChanges() local
108 Rect bounds) { in assertBoundsEquals()
159 Rect bounds = callbacks.mConfiguration.windowConfiguration.getBounds(); in testWindowContextRegisterComponentCallbacks() local
160 assertBoundsEquals(displayMetricsSession.getDisplayMetrics(), bounds); in testWindowContextRegisterComponentCallbacks() local
DDisplayHashManagerTest.java196 Rect bounds = new Rect(10, 20, mTestViewSize.x / 2, mTestViewSize.y / 2); in testGenerateAndVerifyDisplayHash_BoundsInView() local
222 Rect bounds = new Rect(0, 0, mTestViewSize.x + 100, mTestViewSize.y + 100); in testGenerateAndVerifyDisplayHash_BoundsBiggerThanView() local
237 Rect bounds = new Rect(mTestViewSize.x + 1, mTestViewSize.y + 1, mTestViewSize.x + 100, in testGenerateDisplayHash_BoundsOutOfView() local
490 private DisplayHash generateDisplayHash(Rect bounds) { in generateDisplayHash()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DBitmapPixelChecker.java59 public int getNumMatchingPixels(Bitmap bitmap, Rect bounds) { in getNumMatchingPixels()
103 Rect bounds = getBounds(swBitmap, insets); in validateScreenshot() local
125 Rect bounds = getBounds(swBitmap, insets); in validateScreenshot() local
149 Rect bounds = new Rect(0, 0, width, height); in getBounds() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowMetricsTest.java45 final Rect bounds = new Rect(0, 0, 1000, 1000); in testConstructor() local
/cts/tests/app/app/src/android/app/stubs/
DOrientationTestUtils.java62 final Rect bounds = activity.getWindowManager().getCurrentWindowMetrics().getBounds(); in getOrientations() local
83 final Rect bounds = activity.getWindowManager().getCurrentWindowMetrics().getBounds(); in isCloseToSquareBounds() local
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DLaunchIntoPipHostActivity.java70 final Rect bounds = new Rect(0, 0, 100, 100); in startLaunchIntoPipContainerActivity() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java260 final Rect bounds = region.getBounds(); in testSetScaleAndCenter() local
313 final Rect bounds = region.getBounds(); in testSetMagnificationConfig_expectedConfig() local
332 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetConfigWithDefaultModeAndCenter_expectedConfig() local
374 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetConfigWithActivatedFalse_expectedConfig() local
436 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetFullScreenConfigWithDefaultValues_windowModeEnabled_expectedConfig() local
493 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testResetCurrentMagnification_fullScreenEnabled_expectedConfig() local
526 final Rect bounds = region.getBounds(); in testSetMagnificationConfig_legacyApiExpectedResult() local
555 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetWindowModeConfig_connectionReset_expectedResult() local
644 final Rect bounds = region.getBounds(); in testGetMagnificationConfig_setConfigByLegacyApi_expectedResult() local
665 final Rect bounds = region.getBounds(); in testGetMagnificationConfig_setConfigByLegacyApiAndReset_expectedResult() local
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ASurfaceTextureTest.cpp59 ARect bounds = {0, 0, 640, 480}; in basicTests() local
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/appcompat/
DAppCompatTests.java132 final Rect bounds = atomicBounds.get(); in testHorizontalReachability() local
178 final Rect bounds = atomicBounds.get(); in testVerticalReachability() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DRoundedCornerTests.java230 void addChildWindow(Rect bounds) { in addChildWindow()
270 final Rect bounds = new Rect(); in calculateWindowBounds() local
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0600/
DCVE_2021_0600.java132 Rect bounds = obj.getVisibleBounds(); in getVulnerableUIHeight() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DInsetDrawableTest.java287 Rect bounds = mPassDrawable.getBounds(); in testOnBoundsChange_dimension() local
308 Rect bounds = mPassDrawable.getBounds(); in testOnBoundsChange_fraction() local
527 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
DDrawableContainerTest.java267 Rect bounds = new Rect(10, 15, 100, 150); in testSetHotspotBounds() local
286 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local
864 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
952 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
DAdaptiveIconMaskTest.java78 RectF bounds = new RectF(); in testDeviceConfigMask_bounds() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubbleActivity.java99 Rect bounds = windowMetricsMax.getBounds(); in checkHeight() local
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarActivity.java89 final Rect bounds = metrics.getBounds(); in setBottomHalfLayout() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityRecordInputSinkTestsBase.java100 final Rect bounds = activity.getBounds(); in touchButtonsAndAssert() local

1234