Home
last modified time | relevance | path

Searched refs:screenHeight (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPerimeterPathGuide.java86 int edgeInset, int screenWidth, int screenHeight) { in PerimeterPathGuide() argument
89 mDeviceHeightPx = screenHeight; in PerimeterPathGuide()
206 int screenHeight = mDeviceHeightPx; in computeRegions() local
226 screenHeight = mDeviceWidthPx; in computeRegions()
257 bottomPath.moveTo(getPhysicalCornerRadius(screenBottomLeft), screenHeight - mEdgeInset); in computeRegions()
259 screenHeight - mEdgeInset); in computeRegions()
269 screenHeight - getPhysicalCornerRadius(screenBottomRight)); in computeRegions()
276 leftPath.lineTo(mEdgeInset, screenHeight - getPhysicalCornerRadius(screenBottomLeft)); in computeRegions()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DBottomSheetLayout.java76 final int screenHeight = displayMetrics.heightPixels; in onMeasure() local
79 final int maxHeight = screenHeight - pxOffset - outerMargin; in onMeasure()
97 + " screenHeight: " + screenHeight / displayMetrics.density + ", screenWidth: " in onMeasure()
/frameworks/base/core/java/android/hardware/input/
DVirtualStylusConfig.java86 @IntRange(from = 1) int screenHeight) { in Builder()
87 super(screenWidth, screenHeight); in Builder()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java126 int screenHeight = hardwareConfig.getScreenHeight(); in renderImage() local
131 h = screenHeight; in renderImage()
151 if (w > screenWidth || h > screenHeight) { in renderImage()
155 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h); in renderImage()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabels.java65 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local
66 mNumGroups = screenHeight / 30; in onCreate()
DRequestRectangleVisible.java50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local
51 int numLinesForScreen = screenHeight / 18; in onCreate()
DScrollViewButtonsAndLabelsTest.java183 int screenHeight = mScrollView.getHeight(); in findFirstButtonOffScreenTop2Bottom() local
191 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java44 final int screenHeight = windowBounds.height(); in onCreate() local
49 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); in onCreate()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/windowinsets/
DScreenDecorProvider.kt56 val screenHeight = in ScreenDecorProvider() constant
66 LocalRawScreenHeight provides screenHeight, in ScreenDecorProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimatorTest.kt100 val screenHeight = 2000f in startAnimationForEvents_headsUpFromBottom_startsHeadsUpAppearAnim() constant
101 val expectedStartY = screenHeight + stackStateAnimator.mHeadsUpAppearStartAboveScreen in startAnimationForEvents_headsUpFromBottom_startsHeadsUpAppearAnim()
106 stackStateAnimator.setHeadsUpAppearHeightBottom(screenHeight.toInt()) in startAnimationForEvents_headsUpFromBottom_startsHeadsUpAppearAnim()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionSampler.kt244 val screenHeight = displaySize.y in convertBounds() constant
251 newBounds.top = originalBounds.top / screenHeight in convertBounds()
252 newBounds.bottom = originalBounds.bottom / screenHeight in convertBounds()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp56 const char* phys, DeviceType deviceType, jint screenHeight, in openUinput() argument
142 yAbsSetup.absinfo.maximum = screenHeight - 1; in openUinput()
191 yAbsSetup.absinfo.maximum = screenHeight - 1; in openUinput()
240 fallback.absmax[ABS_MT_POSITION_Y] = screenHeight - 1; in openUinput()
249 fallback.absmax[ABS_Y] = screenHeight - 1; in openUinput()
272 jstring phys, DeviceType deviceType, int screenHeight, in openUinputJni() argument
277 screenHeight, screenWidth); in openUinputJni()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DGesturePointerEventListener.kt62 var screenHeight = 0 in <lambda>() variable
92 screenHeight = info.logicalHeight in <lambda>()
257 if (!mMouseHoveringAtBottom && eventY >= screenHeight - 1) { in <lambda>()
260 } else if (mMouseHoveringAtBottom && eventY < screenHeight - 1) { in <lambda>()
384 fromY >= screenHeight - mSwipeStartThreshold.bottom && in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java84 int screenHeight; field in SystemGesturesPointerEventListener
104 screenHeight = info.logicalHeight; in onDisplayInfoChanged()
280 if (!mMouseHoveringAtBottom && eventY >= screenHeight - 1) { in onPointerEvent()
283 } else if (mMouseHoveringAtBottom && eventY < screenHeight - 1) { in onPointerEvent()
392 if (fromY >= screenHeight - mSwipeStartThreshold.bottom in detectSwipe()
DAccessibilityController.java952 final int screenHeight = mScreenSize.y; in recomputeBounds() local
956 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBounds()
1041 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBounds()
1047 && accountedFrame.height() == screenHeight) { in recomputeBounds()
1055 mMagnifiedViewport.intersectWithDrawBorderInset(screenWidth, screenHeight); in recomputeBounds()
1062 mMagnifiedViewport.updateBorderDrawingStatus(screenWidth, screenHeight); in recomputeBounds()
1167 void updateBorderDrawingStatus(int screenWidth, int screenHeight) { in updateBorderDrawingStatus() argument
1174 screenHeight - mDrawBorderInset); in updateBorderDrawingStatus()
1205 void intersectWithDrawBorderInset(int screenWidth, int screenHeight) { in intersectWithDrawBorderInset() argument
1207 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in intersectWithDrawBorderInset()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSizeCompatTests.java1829 final int screenHeight = 2100; in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp() local
1830 setUpDisplaySizeWithApp(screenWidth, screenHeight); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp()
1833 .setAppBounds(/* left */ 0, /* top */ 0, screenWidth, screenHeight); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp()
1839 organizer.mPrimary.setBounds(0, 0, screenWidth, getExpectedSplitSize(screenHeight)); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationApp()
1860 final int screenHeight = 2100; in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio() local
1861 setUpDisplaySizeWithApp(screenWidth, screenHeight); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio()
1864 .setAppBounds(/* left */ 0, /* top */ 0, screenWidth, screenHeight); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio()
1875 organizer.mPrimary.setBounds(0, 0, screenWidth, getExpectedSplitSize(screenHeight)); in testDefaultLetterboxAspectRatioForMultiWindowMode_fixedOrientationAppWithMinRatio()
2000 int screenHeight = 1400;
2001 setUpDisplaySizeWithApp(screenWidth, screenHeight);
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DScrollViewScenario.java243 int screenHeight = getWindowManager().getCurrentWindowMetrics().getBounds().height() in onCreate() local
256 height = (int) (viewFactory.getHeightRatio() * screenHeight); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java213 private int[] getSupportedSize(final int screenWidth, final int screenHeight, int refreshRate) in getSupportedSize() argument
231 int screenHeightAligned = screenHeight; in getSupportedSize()
251 ((double) height / screenHeight)); in getSupportedSize()
254 int scaledHeight = (int) (screenHeight * scale); in getSupportedSize()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DExitDesktopTaskTransitionHandler.java146 final int screenHeight = metrics.heightPixels; in startChangeTransition() local
161 final float scaleY = (float) startBounds.height() / screenHeight; in startChangeTransition()
/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/
DIllustrationPreference.java139 final int screenHeight = getContext().getResources().getDisplayMetrics().heightPixels; in onBindViewHolder() local
143 lp.width = screenWidth < screenHeight ? screenWidth : screenHeight; in onBindViewHolder()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt235 val screenHeight = backAnimRect.height() in <lambda>() constant
240 val deltaYRatio = min(screenHeight / 2f, abs(rawYDelta)) / (screenHeight / 2f) in <lambda>()
244 max(0f, (screenHeight - centeredRect.height()) / 2f - displayBoundsMargin) * in <lambda>()
/frameworks/base/tools/aapt2/test/
DBuilders.h268 ConfigDescriptionBuilder& setScreenHeight(uint16_t screenHeight) { in setScreenHeight() argument
269 config_.screenHeight = screenHeight; in setScreenHeight()
/frameworks/base/core/java/android/content/res/
DAssetManager.java1555 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in setConfiguration() argument
1560 density, keyboard, keyboardHidden, navigation, screenWidth, screenHeight, in setConfiguration()
1565 keyboard, keyboardHidden, navigation, screenWidth, screenHeight, in setConfiguration()
1578 int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, in setConfiguration() argument
1583 screenHeight, smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfiguration()
1594 int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, in setConfigurationInternal() argument
1601 screenHeight, smallestScreenWidthDp, screenWidthDp, screenHeightDp, in setConfigurationInternal()
1692 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in nativeSetConfiguration() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
DFreeformTaskTransitionHandler.java226 int screenHeight = mDisplayController in startCloseTransition() local
238 startBounds.top + (animation.getAnimatedFraction() * screenHeight)); in startCloseTransition()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp533 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize()
557 out->screenHeight = h; in parseScreenSize()
984 if (screenHeight || o.screenHeight) return (!o.screenHeight); in HasHigherPrecedenceThan()

12