Home
last modified time | relevance | path

Searched refs:SCREEN_HEIGHT (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithmTest.java140 mKeyguardStatusHeight = SCREEN_HEIGHT; in clockPositionLargeClockOnAOD()
194 mKeyguardStatusHeight = SCREEN_HEIGHT; in largeClockOnLockScreenIsTransparent()
227 mKeyguardStatusHeight = SCREEN_HEIGHT; in notifPositionWithLargeClockOnAOD()
395 mClockBottom = SCREEN_HEIGHT - 500; in clockPositionMinimizesBurnInMovementToAvoidUdfpsOnAOD()
396 mUdfpsTop = SCREEN_HEIGHT - 400; in clockPositionMinimizesBurnInMovementToAvoidUdfpsOnAOD()
428 mClockBottom = SCREEN_HEIGHT - 300; in clockPositionShiftsToAvoidUdfpsOnAOD_usesSpaceAboveClock()
429 mUdfpsTop = SCREEN_HEIGHT - 400; in clockPositionShiftsToAvoidUdfpsOnAOD_usesSpaceAboveClock()
462 mClockBottom = SCREEN_HEIGHT - 300; in clockPositionShiftsToAvoidUdfpsOnAOD_usesMaxBurnInOffset()
463 mUdfpsTop = SCREEN_HEIGHT - 400; in clockPositionShiftsToAvoidUdfpsOnAOD_usesMaxBurnInOffset()
499 mClockBottom = SCREEN_HEIGHT - 500; in clockPositionShiftsToMaximizeUdfpsBurnInMovement()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DBackgroundFallbackTest.java51 private static final int SCREEN_HEIGHT = 2000; field in BackgroundFallbackTest
184 verify(mDrawableMock).setBounds(0, mLastTop, size, SCREEN_HEIGHT); in verifyFallbackLeft()
194 verify(mDrawableMock).setBounds(0, SCREEN_HEIGHT - size, SCREEN_WIDTH, SCREEN_HEIGHT); in verifyFallbackBottom()
212 mNavigationBarView = mockView(0, SCREEN_HEIGHT - NAV_SIZE, SCREEN_WIDTH, in setUpViewHierarchy()
213 SCREEN_HEIGHT, new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
219 mNavigationBarView = mockView(0, 0, NAV_SIZE, SCREEN_HEIGHT, in setUpViewHierarchy()
227 SCREEN_HEIGHT, new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
235 SCREEN_HEIGHT - insetTop - insetBottom, null, VISIBLE, emptyList()); in setUpViewHierarchy()
237 SCREEN_HEIGHT - insetTop - insetBottom, null, VISIBLE, asList(mContentMock)); in setUpViewHierarchy()
239 SCREEN_HEIGHT - insetBottom, null, VISIBLE, asList(mContentContainerMock)); in setUpViewHierarchy()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityWindowManagerTest.java90 private static final int SCREEN_HEIGHT = 1920; field in AccessibilityWindowManagerTest
349 windowInfo.regionInScreen.set(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); in onWindowsChangedNoForceSend_windowChanged_shouldUpdateWindows()
470 windowInfo.regionInScreen.set(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT / 2); in computePartialInteractiveRegionForWindow_wholeVisible_returnWholeRegion()
472 windowInfo.regionInScreen.set(0, SCREEN_HEIGHT / 2, in computePartialInteractiveRegionForWindow_wholeVisible_returnWholeRegion()
473 SCREEN_WIDTH, SCREEN_HEIGHT); in computePartialInteractiveRegionForWindow_wholeVisible_returnWholeRegion()
483 assertThat(outBounds.getBounds().height(), is(SCREEN_HEIGHT / 2)); in computePartialInteractiveRegionForWindow_wholeVisible_returnWholeRegion()
489 assertThat(outBounds.getBounds().height(), is(SCREEN_HEIGHT / 2)); in computePartialInteractiveRegionForWindow_wholeVisible_returnWholeRegion()
506 assertThat(outBounds.getBounds().height(), is(SCREEN_HEIGHT / 2)); in computePartialInteractiveRegionForWindow_halfVisible_returnHalfRegion()
525 region.op(0, SCREEN_HEIGHT - 200, SCREEN_WIDTH, SCREEN_HEIGHT, Region.Op.UNION); in computePartialInteractiveRegionForWindow_partialVisible_returnVisibleRegion()
538 assertThat(outBounds.getBounds().height(), is(SCREEN_HEIGHT - 400)); in computePartialInteractiveRegionForWindow_partialVisible_returnVisibleRegion()
[all …]
/aosp12/packages/services/Car/tools/perf/janky-frame-test/
H A Djanky-frame-test.sh96 SCREEN_HEIGHT=${BASH_REMATCH[2]}
104 readonly VERTICAL_MID_POS=$(awk -v height=${SCREEN_HEIGHT} 'BEGIN {printf "%d", height * 0.5}')
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java71 private static final int SCREEN_HEIGHT = 480; field in GraphicsPerformanceTests.GraphicsTestBase
89 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT, in setUp()