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 | 345 Rect parentBounds = Rect(p->getBounds(Region())); in getBufferSize() local 346 if (!parentBounds.isEmpty()) { in getBufferSize() 347 return parentBounds; in getBufferSize() 354 FloatRect BufferStateLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 362 return parentBounds; in computeSourceBounds()
|
D | BufferLayer.h | 193 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | Layer.h | 367 void computeBounds(FloatRect parentBounds, ui::Transform parentTransform); 697 virtual FloatRect computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() argument 698 return parentBounds; in computeSourceBounds()
|
D | BufferStateLayer.h | 96 FloatRect computeSourceBounds(const FloatRect& parentBounds) const override;
|
D | BufferLayer.cpp | 703 FloatRect BufferLayer::computeSourceBounds(const FloatRect& parentBounds) const { in computeSourceBounds() 714 return parentBounds; in computeSourceBounds()
|
D | Layer.cpp | 365 void Layer::computeBounds(FloatRect parentBounds, ui::Transform parentTransform) { in computeBounds() argument 372 parentBounds = getActiveTransform(s).inverse().transform(parentBounds); in computeBounds() 375 mSourceBounds = computeSourceBounds(parentBounds); in computeBounds() 383 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 | 1393 final Rect parentBounds = parent.getDisplayedBounds(); in getRelativeDisplayedPosition() local 1394 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 | 4711 final Rect parentBounds = parent.getBounds(); in getTransformationMatrix() local 4712 x += parentBounds.left; in getTransformationMatrix() 4713 y += parentBounds.top; in getTransformationMatrix() 4903 final Rect parentBounds = parentWindowContainer.getDisplayedBounds(); in transformFrameToSurfacePosition() local 4904 outPoint.offset(-parentBounds.left, -parentBounds.top); in transformFrameToSurfacePosition()
|
D | AppWindowToken.java | 1791 final Rect parentBounds = newParentConfig.windowConfiguration.getBounds(); in calculateCompatBoundsTransformation() local 1792 final Rect viewportBounds = parentAppBounds != null ? parentAppBounds : parentBounds; in calculateCompatBoundsTransformation() 1812 mSizeCompatBounds.top = parentBounds.top; in calculateCompatBoundsTransformation()
|
D | DisplayContent.java | 2719 void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2724 deltaRotation, parentBounds.width(), parentBounds.height(), mTmpMatrix); in rotateBounds()
|