/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PerimeterPathGuide.java | 86 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/ |
D | BottomSheetLayout.java | 76 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/ |
D | VirtualStylusConfig.java | 86 @IntRange(from = 1) int screenHeight) { in Builder() 87 super(screenWidth, screenHeight); in Builder()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 126 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/ |
D | ScrollViewButtonsAndLabels.java | 65 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local 66 mNumGroups = screenHeight / 30; in onCreate()
|
D | RequestRectangleVisible.java | 50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local 51 int numLinesForScreen = screenHeight / 18; in onCreate()
|
D | ScrollViewButtonsAndLabelsTest.java | 183 int screenHeight = mScrollView.getHeight(); in findFirstButtonOffScreenTop2Bottom() local 191 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCache.java | 44 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/ |
D | ScreenDecorProvider.kt | 56 val screenHeight = in ScreenDecorProvider() constant 66 LocalRawScreenHeight provides screenHeight, in ScreenDecorProvider()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | StackStateAnimatorTest.kt | 100 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/ |
D | RegionSampler.kt | 244 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/ |
D | com_android_server_companion_virtual_InputController.cpp | 56 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/ |
D | GesturePointerEventListener.kt | 62 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/ |
D | SystemGesturesPointerEventListener.java | 84 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()
|
D | AccessibilityController.java | 952 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/ |
D | SizeCompatTests.java | 1829 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/ |
D | ScrollViewScenario.java | 243 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/ |
D | ScreenMediaRecorder.java | 213 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/ |
D | ExitDesktopTaskTransitionHandler.java | 146 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/ |
D | IllustrationPreference.java | 139 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/ |
D | CrossActivityBackAnimation.kt | 235 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/ |
D | Builders.h | 268 ConfigDescriptionBuilder& setScreenHeight(uint16_t screenHeight) { in setScreenHeight() argument 269 config_.screenHeight = screenHeight; in setScreenHeight()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 1555 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/ |
D | FreeformTaskTransitionHandler.java | 226 int screenHeight = mDisplayController in startCloseTransition() local 238 startBounds.top + (animation.getAnimatedFraction() * screenHeight)); in startCloseTransition()
|
/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 533 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize() 557 out->screenHeight = h; in parseScreenSize() 984 if (screenHeight || o.screenHeight) return (!o.screenHeight); in HasHigherPrecedenceThan()
|