Home
last modified time | relevance | path

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

12

/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.java90 final Rect bounds = context.createDisplayContext( in registerOrganizer() local
280 void setRootPrimaryTaskBounds(Rect bounds) { in setRootPrimaryTaskBounds()
281 setTaskBounds(mRootPrimary.getToken(), bounds); in setRootPrimaryTaskBounds() local
284 void setRootSecondaryTaskBounds(Rect bounds) { in setRootSecondaryTaskBounds()
285 setTaskBounds(mRootSecondary.getToken(), bounds); in setRootSecondaryTaskBounds() local
296 private void setTaskBounds(WindowContainerToken container, Rect bounds) { in setTaskBounds()
426 Rect bounds = config.getBounds(); in addTask() local
DTouchHelper.java62 final Rect bounds = dc.getDisplayRect(); in touchAndCancelOnDisplayCenterSync() local
103 public void tapOnCenter(Rect bounds, int displayId) { in tapOnCenter()
126 final Rect bounds = mWmState.getDisplay(displayId).getDisplayRect(); in tapOnDisplayCenter() local
131 final Rect bounds = mWmState.getDisplay(displayId).getDisplayRect(); in tapOnDisplayCenterAsync() local
168 final Rect bounds = task.getBounds(); in tapOnTaskCenterAsync() 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
DDisplayHashManagerTest.java155 Rect bounds = new Rect(10, 20, mTestViewSize.x / 2, mTestViewSize.y / 2); in testGenerateAndVerifyDisplayHash_BoundsInView() local
180 Rect bounds = new Rect(0, 0, mTestViewSize.x + 100, mTestViewSize.y + 100); in testGenerateAndVerifyDisplayHash_BoundsBiggerThanView() local
195 Rect bounds = new Rect(mTestViewSize.x + 1, mTestViewSize.y + 1, mTestViewSize.x + 100, in testGenerateDisplayHash_BoundsOutOfView() local
405 private DisplayHash generateDisplayHash(Rect bounds) { in generateDisplayHash()
DRoundedCornerTests.java164 void addChildWindow(Rect bounds) { in addChildWindow()
202 final Rect bounds = new Rect(); in calculateWindowBounds() local
DPrivacyIndicatorBoundsTests.java108 Rect bounds = insets.getPrivacyIndicatorBounds(); in testStaticBoundsAreNotNull() local
DWindowInsetsAnimationCallbackTests.java161 public Bounds onStart(@NonNull WindowInsetsAnimation animation, @NonNull Bounds bounds) { in onStart()
DWindowInsetsAnimationTestBase.java205 WindowInsetsAnimation animation, WindowInsetsAnimation.Bounds bounds) { in onStart()
254 WindowInsetsAnimation animation, WindowInsetsAnimation.Bounds bounds) { in onStart()
DSplashscreenTests.java230 private void assertColors(Bitmap img, Rect bounds, int primaryColor, float expectedPrimaryRatio, in assertColors()
282 private void generateFailureImage(Bitmap img, Rect bounds, int primaryColor, in generateFailureImage()
DTaskFragmentOrganizerTest.java86 final Rect bounds = new Rect(0, 0, 1000, 1000); in testCreateTaskFragment() local
DAspectRatioTestsBase.java56 final Rect bounds = activity.getAppBounds(); in runAspectRatioTest() local
DWindowMetricsTestHelper.java144 final Rect bounds = windowMetrics.getBounds(); in getBoundsExcludingNavigationBarAndCutout() local
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_ASurfaceTextureTest.cpp59 ARect bounds = {0, 0, 640, 480}; in basicTests() 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
DScaleDrawableTest.java349 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local
568 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
DDrawableWrapperTest.java345 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local
509 protected void onBoundsChange(Rect bounds) { in onBoundsChange()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator2.java108 private static void getPixels(Image image, int[] dest, Rect bounds) { in getPixels()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsPresenterDrawable.java110 public void setBounds(Rect bounds) { in setBounds()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityDumper.java217 final Rect bounds = new Rect(); in appendNodeText() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java207 RectF bounds = new RectF(); in testComputeBounds1() local
221 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() local

12