Searched refs:parentBounds (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 179 final Rect parentBounds = new Rect(10, 10, 200, 200); in testFitWithinBounds() local 185 parentConfig.windowConfiguration.setBounds(parentBounds); in testFitWithinBounds() 192 assertTrue(task.getBounds().right > parentBounds.left); in testFitWithinBounds() 193 assertTrue(task.getBounds().bottom > parentBounds.top); in testFitWithinBounds() 195 assertTrue(task.getBounds().left <= parentBounds.left); in testFitWithinBounds() 196 assertTrue(task.getBounds().top <= parentBounds.top); in testFitWithinBounds() 205 assertTrue(task.getBounds().left < parentBounds.right); in testFitWithinBounds() 206 assertTrue(task.getBounds().top < parentBounds.bottom); in testFitWithinBounds() 208 assertTrue(task.getBounds().right >= parentBounds.right); in testFitWithinBounds() 209 assertTrue(task.getBounds().bottom >= parentBounds.bottom); in testFitWithinBounds() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | BufferStateLayer.cpp | 349 Rect parentBounds = Rect(p->getBounds(Region())); in getBufferSize() local 350 if (!parentBounds.isEmpty()) { in getBufferSize() 351 return parentBounds; in getBufferSize() 358 FloatRect BufferStateLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 366 return parentBounds; in computeSourceBounds()
|
D | BufferLayer.h | 192 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | Layer.h | 366 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform); 706 virtual FloatRect computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() argument 707 return parentBounds; in computeSourceBounds()
|
D | BufferStateLayer.h | 97 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | BufferLayer.cpp | 710 FloatRect BufferLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 721 return parentBounds; in computeSourceBounds()
|
D | Layer.cpp | 364 void Layer::computeBounds(FloatRect parentBounds, ui::Transform parentTransform) { in computeBounds() argument 371 parentBounds = getActiveTransform(s).inverse().transform(parentBounds); in computeBounds() 374 mSourceBounds = computeSourceBounds(parentBounds); in computeBounds() 382 bounds = bounds.intersect(parentBounds); in computeBounds()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskRecord.java | 2226 final Rect parentBounds = in resolveOverrideConfiguration() local 2235 parentBounds.intersect(stableBounds); in resolveOverrideConfiguration() 2238 fitWithinBounds(outOverrideBounds, parentBounds, in resolveOverrideConfiguration() 2243 final int offsetTop = parentBounds.top - outOverrideBounds.top; in resolveOverrideConfiguration() 2263 @NonNull Rect parentBounds, int parentOrientation) { in computeFullscreenBounds() argument 2286 final int parentWidth = parentBounds.width(); in computeFullscreenBounds() 2287 final int parentHeight = parentBounds.height(); in computeFullscreenBounds() 2291 final int top = parentBounds.centerY() - height / 2; in computeFullscreenBounds() 2292 outBounds.set(parentBounds.left, top, parentBounds.right, top + height); in computeFullscreenBounds() 2295 final int left = parentBounds.centerX() - width / 2; in computeFullscreenBounds() [all …]
|
D | WindowContainer.java | 1408 final Rect parentBounds = parent.getDisplayedBounds(); in getRelativeDisplayedPosition() local 1409 outPos.offset(-parentBounds.left, -parentBounds.top); in getRelativeDisplayedPosition()
|
D | TaskStack.java | 467 final Rect parentBounds = parentConfig.windowConfiguration.getBounds(); in repositionSplitScreenStackAfterRotation() local 475 movement = parentBounds.right - inOutBounds.right; in repositionSplitScreenStackAfterRotation() 485 movement = parentBounds.bottom - inOutBounds.bottom; in repositionSplitScreenStackAfterRotation()
|
D | WindowState.java | 4850 final Rect parentBounds = parent.getBounds(); in getTransformationMatrix() local 4851 x += parentBounds.left; in getTransformationMatrix() 4852 y += parentBounds.top; in getTransformationMatrix() 5042 final Rect parentBounds = parentWindowContainer.getDisplayedBounds(); in transformFrameToSurfacePosition() local 5043 outPoint.offset(-parentBounds.left, -parentBounds.top); in transformFrameToSurfacePosition()
|
D | AppWindowToken.java | 1807 final Rect parentBounds = newParentConfig.windowConfiguration.getBounds(); in calculateCompatBoundsTransformation() local 1808 final Rect viewportBounds = parentAppBounds != null ? parentAppBounds : parentBounds; in calculateCompatBoundsTransformation() 1828 mSizeCompatBounds.top = parentBounds.top; in calculateCompatBoundsTransformation()
|
D | DisplayContent.java | 2729 void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2734 deltaRotation, parentBounds.width(), parentBounds.height(), mTmpMatrix); in rotateBounds()
|