Home
last modified time | relevance | path

Searched refs:screenWidthPx (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DFlingToDismissUtils.kt37 fun getFlingToDismissTargetWidth(screenWidthPx: Int) = when { in getFlingToDismissTargetWidth()
38 screenWidthPx >= 2000 -> FLING_TO_DISMISS_TARGET_WIDTH_LARGE in getFlingToDismissTargetWidth()
39 screenWidthPx >= 1500 -> FLING_TO_DISMISS_TARGET_WIDTH_MEDIUM in getFlingToDismissTargetWidth()
DExpandedAnimationController.java382 int screenWidthPx = mLayout.getContext().getResources().getDisplayMetrics().widthPixels; in prepareForBubbleDrag() local
384 getFlingToDismissTargetWidth(screenWidthPx)); in prepareForBubbleDrag()
DStackAnimationController.java863 int screenWidthPx = mLayout.getResources().getDisplayMetrics().widthPixels;
865 getFlingToDismissTargetWidth(screenWidthPx));
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DBackAnimationSpec.kt50 val screenWidthPx = displayMetrics.widthPixels in createFloatingSurfaceAnimationSpec() constant
55 val maxTranslationXByScale = (screenWidthPx - screenWidthPx * minScale) / 2 in createFloatingSurfaceAnimationSpec()
DBottomsheetBackAnimationSpec.kt33 val screenWidthPx = displayMetrics.widthPixels in <lambda>() constant
34 val minScale = 1 - MAX_SCALE_DELTA_DP.dpToPx(displayMetrics) / screenWidthPx in <lambda>()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java85 private void applyProportionalLayout(int screenWidthPx, int screenHeightPx) { in applyProportionalLayout() argument
94 screenWidthPx), in applyProportionalLayout()
97 screenWidthPx), in applyProportionalLayout()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/popup/ui/composable/
DVolumePanelPopup.kt138 fun calculateGravity(coordinates: LayoutCoordinates, screenWidthPx: Float): Int { in calculateGravity()
140 val rootBottomCenter: Float = screenWidthPx / 2 in calculateGravity()