Searched refs:SCREEN_SIZE (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
D | TvPipKeepClearAlgorithmTest.kt | 47 private val SCREEN_SIZE = Size(1920, 1080) constant 62 movementBounds = Rect(0, 0, SCREEN_SIZE.width, SCREEN_SIZE.height) in setup() 71 algorithm.setScreenSize(SCREEN_SIZE) in setup() 286 expectedBounds.offsetTo(expectedBounds.left, SCREEN_SIZE.height - STASH_OFFSET) in test_AnchorBottomRight_RestrictedBottomSheet_StashDownAtAnchor() 320 (algorithm.maxRestrictedDistanceFraction * SCREEN_SIZE.width).toInt() in test_AnchorBottomRight_UnrestrictedBottomSheet_RestrictedSidebar_StashAboveBottomSheet() 328 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) in test_AnchorBottomRight_UnrestrictedBottomSheet_RestrictedSidebar_StashAboveBottomSheet() 346 (algorithm.maxRestrictedDistanceFraction * SCREEN_SIZE.width).toInt() in test_AnchorBottomRight_UnrestrictedBottomSheet_UnrestrictedSidebar_PushUpLeft() 369 (algorithm.maxRestrictedDistanceFraction * SCREEN_SIZE.width).toInt() in test_Stashed_UnstashBoundsBecomeUnobstructed_Unstashes() 377 expectedBounds.offsetTo(SCREEN_SIZE.width - STASH_OFFSET, expectedBounds.top) in test_Stashed_UnstashBoundsBecomeUnobstructed_Unstashes() 400 (algorithm.maxRestrictedDistanceFraction * SCREEN_SIZE.width).toInt() in test_Stashed_UnstashBoundsStaysObstructed_DoesNotTriggerStash() [all …]
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | DraggableHandlerTest.kt | 48 private const val SCREEN_SIZE = 100f constant 49 private val LAYOUT_SIZE = IntSize(SCREEN_SIZE.toInt(), SCREEN_SIZE.toInt()) 123 if (fractionOfScreen < 0f) error("use up()") else SCREEN_SIZE * fractionOfScreen in down() 387 startedPosition = Offset(SCREEN_SIZE * 0.5f, SCREEN_SIZE), in <lambda>() 626 val firstScroll = (transitionInterceptionThreshold - 0.0001f) * SCREEN_SIZE in scrollAndFling_scrollLessThanInterceptable_goToIdleOnCurrentScene() 636 val firstScroll = (transitionInterceptionThreshold + 0.0001f) * SCREEN_SIZE in <lambda>() 641 assertTransition(progress = (firstScroll + secondScroll) / SCREEN_SIZE) in <lambda>() 646 val firstScroll = -(1f - transitionInterceptionThreshold - 0.0001f) * SCREEN_SIZE in scrollAndFling_scrollMaxInterceptable_interceptPreScrollEvents() 651 assertTransition(progress = -(firstScroll + secondScroll) / SCREEN_SIZE) in scrollAndFling_scrollMaxInterceptable_interceptPreScrollEvents() 656 val firstScroll = -(1f - transitionInterceptionThreshold + 0.0001f) * SCREEN_SIZE in <lambda>() [all …]
|
/frameworks/base/tools/split-select/ |
D | Rule.h | 55 SCREEN_SIZE, enumerator
|