Home
last modified time | relevance | path

Searched refs:windowBounds (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DHotseatWidthCalculationTest.kt38 windowBounds = WindowBounds(Rect(0, 0, 1800, 2560), Rect(0, 104, 0, 0)) in distribute_border_space_when_space_is_enough_portrait()
62 windowBounds = WindowBounds(Rect(0, 0, 1300, 2560), Rect(0, 104, 0, 0)) in decrease_num_of_icons_when_not_enough_space_portrait()
130 windowBounds = WindowBounds(Rect(0, 0, 2460, 1600), Rect(0, 104, 0, 0)) in decrease_qsb_when_not_enough_space_landscape()
154 windowBounds = WindowBounds(Rect(0, 0, 2260, 1600), Rect(0, 104, 0, 0)) in decrease_num_of_icons_when_not_enough_space_landscape()
174 windowBounds = WindowBounds(Rect(0, 0, 1800, 2560), Rect(0, 104, 0, 0)) in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt52 protected var windowBounds: WindowBounds? = null variable in com.android.launcher3.FakeInvariantDeviceProfileTest
74 windowBounds, in newDP()
91 windowBounds = in newDP()
182 windowBounds = WindowBounds(Rect(0, 0, x, y), Rect(0, 104, 0, 0)) in initializeVarsForTablet()
267 windowBounds = WindowBounds(Rect(0, 0, x, y), Rect(0, 110, 0, 0)) in initializeVarsForTwoPanel()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/
DHotseatWidthCalculationTest.kt38 windowBounds = WindowBounds(Rect(0, 0, 1800, 2560), Rect(0, 104, 0, 0)) in distribute_border_space_when_space_is_enough_portrait()
62 windowBounds = WindowBounds(Rect(0, 0, 1300, 2560), Rect(0, 104, 0, 0)) in decrease_num_of_icons_when_not_enough_space_portrait()
130 windowBounds = WindowBounds(Rect(0, 0, 2460, 1600), Rect(0, 104, 0, 0)) in decrease_qsb_when_not_enough_space_landscape()
154 windowBounds = WindowBounds(Rect(0, 0, 2260, 1600), Rect(0, 104, 0, 0)) in decrease_num_of_icons_when_not_enough_space_landscape()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java324 DeviceProfile(Context context, InvariantDeviceProfile inv, Info info, WindowBounds windowBounds, in DeviceProfile() argument
332 this.isLandscape = windowBounds.isLandscape(); in DeviceProfile()
337 windowX = windowBounds.bounds.left; in DeviceProfile()
338 windowY = windowBounds.bounds.top; in DeviceProfile()
339 this.rotationHint = windowBounds.rotationHint; in DeviceProfile()
340 mInsets.set(windowBounds.insets); in DeviceProfile()
353 isTablet = info.isTablet(windowBounds); in DeviceProfile()
363 windowBounds); in DeviceProfile()
370 widthPx = windowBounds.bounds.width(); in DeviceProfile()
371 heightPx = windowBounds.bounds.height(); in DeviceProfile()
[all …]
/packages/services/Car/car-lib/src/android/car/app/
DCarDisplayCompatContainer.java129 public Rect setWindowBounds(@NonNull Rect windowBounds) { in setWindowBounds() argument
131 mRemoteCarTaskView.setWindowBounds(windowBounds); in setWindowBounds()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java562 final Rect windowBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in toggleOverlayView() local
563 params.width = windowBounds.width() / 3; in toggleOverlayView()
564 params.height = windowBounds.height() / 3; in toggleOverlayView()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DOrientationTouchTransformerTest.java295 WindowBounds windowBounds = new WindowBounds( in createDisplayInfo() local
300 doReturn(windowBounds).when(wmProxy).getRealBounds(any(), any()); in createDisplayInfo()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java1314 Rect windowBounds = new Rect(0, 0, 1080, 600); in testFindNudgeTargetFocusArea6() local
1316 .setBoundsInScreen(windowBounds) in testFindNudgeTargetFocusArea6()
1322 .setBoundsInScreen(windowBounds) in testFindNudgeTargetFocusArea6()
1375 Rect windowBounds = new Rect(0, 0, 1080, 600); in testFindFirstOrphan() local
1377 .setBoundsInScreen(windowBounds) in testFindFirstOrphan()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java95 Rect windowBounds = new Rect(); in updateAppWindowTaskId() local
96 window.getBoundsInScreen(windowBounds); in updateAppWindowTaskId()
97 if (mAppWindowBounds.equals(windowBounds)) { in updateAppWindowTaskId()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/view/
DRecentsRecyclerViewTest.java121 Rect windowBounds = new Rect(/* left= */ 0, /* top= */ 0, in setup() local
123 when(mWindowMetrics.getBounds()).thenReturn(windowBounds); in setup()