Home
last modified time | relevance | path

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

123

/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()
454 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
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
DCtsWindowInfoUtils.java385 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/
DWindowContextTests.java85 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
DWindowMetricsTest.java45 final Rect bounds = new Rect(0, 0, 1000, 1000); in testConstructor() local
DDisplayHashManagerTest.java174 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()
DRoundedCornerTests.java227 void addChildWindow(Rect bounds) { in addChildWindow()
267 final Rect bounds = new Rect(); in calculateWindowBounds() local
DWallpaperWindowInputTests.java120 final Rect bounds = task.getBounds(); in getDownEventForTaskCenter() local
DPrivacyIndicatorBoundsTests.java108 Rect bounds = insets.getPrivacyIndicatorBounds(); in testStaticBoundsAreNotNull() local
DActivityRecordInputSinkTests.java177 Rect bounds = activity.getBounds(); in touchButtonsAndAssert() local
DSurfaceSyncGroupTests.java182 Rect bounds = new Rect(halfWidth, halfHeight, halfWidth + 10, halfHeight + 10); in validateScreenshot() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java178 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/
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/tests/graphics/jni/
Dandroid_graphics_cts_ASurfaceTextureTest.cpp59 ARect bounds = {0, 0, 640, 480}; in basicTests() local
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DBitmapPixelChecker.java55 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/
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.java83 RectF bounds = new RectF(); in testDeviceConfigMask_bounds() local
/cts/tests/tests/content/src/android/content/wm/cts/
DContextRegisterComponentCallbacksTest.java178 final Rect bounds = mTestCallbacks.mConfiguration.windowConfiguration.getBounds(); in testRegisterComponentCallbacksOnWindowContext() local
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DTaskInfoHelperTest.java140 Rect bounds = TaskInfoHelper.getBounds(taskInfo); in testGetBounds() local
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationScreenLayoutTest.java152 final Rect bounds = new Rect(windowMetrics.getBounds()); in reduceScreenLayout() local

123