Home
last modified time | relevance | path

Searched refs:insets (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DRotationUtils.kt30 fun rotateInsets(insets: Insets?, rotation: Rotation): Insets { in rotateInsets()
31 if (insets == null || insets === Insets.NONE) { in rotateInsets()
36 Rotation.ROTATION_0 -> insets in rotateInsets()
38 Insets.of(insets.top, insets.right, insets.bottom, insets.left) in rotateInsets()
40 Insets.of(insets.right, insets.bottom, insets.left, insets.top) in rotateInsets()
42 Insets.of(insets.bottom, insets.left, insets.top, insets.right) in rotateInsets()
DWindowUtils.kt84 val safeInsetTop = cutout?.insets?.top ?: 0 in getExpectedStatusBarHeight()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DDisplayCutout.kt26 val insets: Insets, constant in android.tools.traces.wm.DisplayCutout
37 if (insets != other.insets) return false in equals()
48 var result = insets.hashCode() in hashCode()
59 "insets=$insets, " + in toString()
70 insets: Insets, in from()
77 DisplayCutout(insets, boundLeft, boundTop, boundRight, boundBottom, waterfallInsets) in from()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/
DSimpleSurfaceGLActivity.java48 final Insets insets = windowInsets.getSystemWindowInsets(); in onCreate() local
49 view.setPadding(insets.left, insets.top, insets.right, insets.bottom); in onCreate()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DInsetsWidget.java39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument
41 return super.onApplyWindowInsets(insets); in onApplyWindowInsets()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt514 proto.insets?.toInsets() ?: Insets.NONE, in <lambda>()