/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | HeadsUpStatusBarView.java | 62 private Point mDisplaySize; field in HeadsUpStatusBarView 188 int start = isRtl ? (mDisplaySize.x - right) : left; in onLayout() 194 ? (mDisplaySize.x - cutOutRect.right) : cutOutRect.left; in onLayout() 279 if (mDisplaySize == null) { in getDisplaySize() 280 mDisplaySize = new Point(); in getDisplaySize() 282 getDisplay().getRealSize(mDisplaySize); in getDisplaySize()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragState.java | 118 private Point mDisplaySize = new Point(); field in DragState 173 mTmpClipRect.set(0, 0, mDisplaySize.x, mDisplaySize.y); in showInputSurface() 303 mDragWindowHandle.frameRight = mDisplaySize.x; in InputInterceptor() 304 mDragWindowHandle.frameBottom = mDisplaySize.y; in InputInterceptor() 345 display.getRealSize(mDisplaySize); in register() 654 Math.sqrt(mDisplaySize.x * mDisplaySize.x + mDisplaySize.y * mDisplaySize.y); in createReturnAnimationLocked()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 60 @NonNull private final Point mDisplaySize; field in FloatingActionMode 116 mDisplaySize = new Point(); in FloatingActionMode() 215 .getDefaultDisplay().getRealSize(mDisplaySize); in isContentRectWithinBounds() 216 mScreenRect.set(0, 0, mDisplaySize.x, mDisplaySize.y); in isContentRectWithinBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | EdgeBackGestureHandler.java | 125 private final Point mDisplaySize = new Point(); field in EdgeBackGestureHandler 328 if (y > (mDisplaySize.y - Math.max(mImeHeight, mNavBarHeight))) { in isWithinTouchRegion() 333 if (x > mEdgeWidth + mLeftInset && x < (mDisplaySize.x - mEdgeWidth - mRightInset)) { in isWithinTouchRegion() 450 mEdgePanelLp.y = MathUtils.constrain((int) position, 0, mDisplaySize.y); in updateEdgePanelPosition() 456 int left = mIsOnLeftEdge ? mLeftInset : mDisplaySize.x - mRightInset - mEdgePanelLp.width; in updateSamplingRect() 479 .getRealSize(mDisplaySize); in updateDisplaySize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleExpandedView.java | 92 private Point mDisplaySize; field in BubbleExpandedView 205 mDisplaySize = new Point(); in BubbleExpandedView() 208 mWindowManager.getDefaultDisplay().getRealSize(mDisplaySize); in BubbleExpandedView() 330 final int keyboardTop = mDisplaySize.y - Math.max(insets.getSystemWindowInsetBottom(), in updateInsets() 451 mWindowManager.getDefaultDisplay().getRealSize(mDisplaySize); in getMaxExpandedHeight() 456 return mDisplaySize.y - windowLocation[1] - mSettingsIconHeight - mPointerHeight in getMaxExpandedHeight()
|
D | BubbleStackView.java | 149 private Point mDisplaySize; field in BubbleStackView 342 mDisplaySize = new Point(); in BubbleStackView() 345 wm.getDefaultDisplay().getRealSize(mDisplaySize); in BubbleStackView() 355 mDisplaySize, mExpandedViewPadding, res.getConfiguration().orientation); in BubbleStackView() 422 mExpandedAnimationController.updateOrientation(mOrientation, mDisplaySize); in BubbleStackView() 524 wm.getDefaultDisplay().getRealSize(mDisplaySize); in onOrientationChanged() 1654 return new BigDecimal(getStackPosition().x / mDisplaySize.x) in getNormalizedXPosition() 1663 return new BigDecimal(getStackPosition().y / mDisplaySize.y) in getNormalizedYPosition()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingGroup.java | 76 private Point mDisplaySize = new Point(); field in MessagingGroup 108 mDisplaySize.x = displayMetrics.widthPixels; in onFinishInflate() 109 mDisplaySize.y = displayMetrics.heightPixels; in onFinishInflate() 120 int size = Math.max(mDisplaySize.x, mDisplaySize.y); in updateClipRect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | ExpandedAnimationController.java | 73 private Point mDisplaySize; field in ExpandedAnimationController 146 mDisplaySize = displaySize; in updateOrientation() 514 return Math.max(mDisplaySize.y, availableWidth * CENTER_BUBBLES_LANDSCAPE_PERCENT); in getWidthForDisplayingBubbles() 529 float availableSize = mDisplaySize.x; in getAvailableScreenWidth()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 661 private Size mDisplaySize; field in MandatoryStreamCombination.Builder 681 mDisplaySize = displaySize; in Builder() 1165 if ((mDisplaySize.getWidth() >= size.getWidth()) && in getMaxPreviewSize() 1166 (mDisplaySize.getHeight() >= size.getHeight())) { in getMaxPreviewSize() 1173 + "display size " + mDisplaySize); in getMaxPreviewSize()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 1216 mCameraId, hwLevel, mDisplaySize, caps, getStreamConfigurationMap()); in getMandatoryStreamCombinations() 1515 private Size mDisplaySize = new Size(0, 0); field in CameraMetadataNative 1536 mDisplaySize = displaySize; in setDisplaySize() 1583 mDisplaySize = other.mDisplaySize; in swap()
|