| /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
| D | AccessibilityNodeInfoUtils.kt | 28 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/ |
| D | LineGestureStrokeHelper.java | 61 RectF bounds = new RectF(); in assertLineBoundingBox() local 77 void assertLineBoundingBox(RectF bounds) { in assertLineBoundingBox()
|
| D | GestureStrokeTest.java | 94 RectF bounds = new RectF(); in testToPath_boundedLine() local
|
| /cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
| D | TestTaskOrganizer.java | 92 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() 454 Rect bounds = config.getBounds(); in addTask() local
|
| D | TouchHelper.java | 63 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 136 final Rect bounds = mWmState.getDisplay(displayId).getDisplayRect(); in tapOnDisplayCenterAsync() local 190 final Rect bounds = task.getBounds(); in tapOnTaskCenterAsync() local 197 final Rect bounds = mWmState.getDisplay(displayId).getDisplayRect(); in triggerBackEventByGesture() local
|
| D | CtsWindowInfoUtils.java | 385 Rect bounds = getWindowBounds(windowTokenSupplier); in tapOnWindowCenter() local 412 Rect bounds = getWindowBounds(windowTokenSupplier); in tapOnWindow() local 425 Rect bounds = new Rect(); in getWindowBounds() local
|
| /cts/tests/framework/base/windowmanager/src/android/server/wm/ |
| D | WindowContextTests.java | 85 Rect bounds = windowContext.getSystemService(WindowManager.class).getCurrentWindowMetrics() in testWindowContextConfigChanges() local 87 assertBoundsEquals(displayMetricsSession.getDisplayMetrics(), bounds); in testWindowContextConfigChanges() local 95 assertBoundsEquals(displayMetricsSession.getDisplayMetrics(), bounds); in testWindowContextConfigChanges() local 99 Rect bounds) { in assertBoundsEquals() 150 Rect bounds = callbacks.mConfiguration.windowConfiguration.getBounds(); in testWindowContextRegisterComponentCallbacks() local 151 assertBoundsEquals(displayMetricsSession.getDisplayMetrics(), bounds); in testWindowContextRegisterComponentCallbacks() local
|
| D | WindowMetricsTest.java | 45 final Rect bounds = new Rect(0, 0, 1000, 1000); in testConstructor() local
|
| D | DisplayHashManagerTest.java | 174 Rect bounds = new Rect(10, 20, mTestViewSize.x / 2, mTestViewSize.y / 2); in testGenerateAndVerifyDisplayHash_BoundsInView() local 199 Rect bounds = new Rect(0, 0, mTestViewSize.x + 100, mTestViewSize.y + 100); in testGenerateAndVerifyDisplayHash_BoundsBiggerThanView() local 214 Rect bounds = new Rect(mTestViewSize.x + 1, mTestViewSize.y + 1, mTestViewSize.x + 100, in testGenerateDisplayHash_BoundsOutOfView() local 446 private DisplayHash generateDisplayHash(Rect bounds) { in generateDisplayHash()
|
| D | RoundedCornerTests.java | 227 void addChildWindow(Rect bounds) { in addChildWindow() 267 final Rect bounds = new Rect(); in calculateWindowBounds() local
|
| D | WallpaperWindowInputTests.java | 120 final Rect bounds = task.getBounds(); in getDownEventForTaskCenter() local
|
| D | PrivacyIndicatorBoundsTests.java | 108 Rect bounds = insets.getPrivacyIndicatorBounds(); in testStaticBoundsAreNotNull() local
|
| D | ActivityRecordInputSinkTests.java | 177 Rect bounds = activity.getBounds(); in touchButtonsAndAssert() local
|
| D | SurfaceSyncGroupTests.java | 182 Rect bounds = new Rect(halfWidth, halfHeight, halfWidth + 10, halfHeight + 10); in validateScreenshot() local
|
| /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
| D | AccessibilityMagnificationTest.java | 178 final Rect bounds = region.getBounds(); in testSetScaleAndCenter() local 231 final Rect bounds = region.getBounds(); in testSetMagnificationConfig_expectedConfig() local 251 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetConfigWithDefaultModeAndCenter_expectedConfig() local 291 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetConfigWithActivatedFalse_expectedConfig() local 353 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetFullScreenConfigWithDefaultValues_windowModeEnabled_expectedConfig() local 409 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testResetCurrentMagnification_fullScreenEnabled_expectedConfig() local 442 final Rect bounds = region.getBounds(); in testSetMagnificationConfig_legacyApiExpectedResult() local 470 final Rect bounds = controller.getMagnificationRegion().getBounds(); in testSetWindowModeConfig_connectionReset_expectedResult() local 565 final Rect bounds = region.getBounds(); in testGetMagnificationConfig_setConfigByLegacyApi_expectedResult() local 586 final Rect bounds = region.getBounds(); in testGetMagnificationConfig_setConfigByLegacyApiAndReset_expectedResult() local [all …]
|
| /cts/tests/app/app/src/android/app/stubs/ |
| D | OrientationTestUtils.java | 62 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/ |
| D | LaunchIntoPipHostActivity.java | 70 final Rect bounds = new Rect(0, 0, 100, 100); in startLaunchIntoPipContainerActivity() local
|
| /cts/tests/tests/graphics/jni/ |
| D | android_graphics_cts_ASurfaceTextureTest.cpp | 59 ARect bounds = {0, 0, 640, 480}; in basicTests() local
|
| /cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
| D | BitmapPixelChecker.java | 55 public int getNumMatchingPixels(Bitmap bitmap, Rect bounds) { in getNumMatchingPixels() 102 Rect bounds = new Rect(0, 0, width, height); in validateScreenshot() local
|
| /cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
| D | InsetDrawableTest.java | 287 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()
|
| D | DrawableContainerTest.java | 267 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()
|
| D | AdaptiveIconMaskTest.java | 83 RectF bounds = new RectF(); in testDeviceConfigMask_bounds() local
|
| /cts/tests/tests/content/src/android/content/wm/cts/ |
| D | ContextRegisterComponentCallbacksTest.java | 178 final Rect bounds = mTestCallbacks.mConfiguration.windowConfiguration.getBounds(); in testRegisterComponentCallbacksOnWindowContext() local
|
| /cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
| D | TaskInfoHelperTest.java | 140 Rect bounds = TaskInfoHelper.getBounds(taskInfo); in testGetBounds() local
|
| /cts/tests/tests/dpi/src/android/dpi/cts/ |
| D | ConfigurationScreenLayoutTest.java | 152 final Rect bounds = new Rect(windowMetrics.getBounds()); in reduceScreenLayout() local
|