Home
last modified time | relevance | path

Searched refs:mDisplayFrame (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/
DInsetsState.java175 private final Rect mDisplayFrame = new Rect(); field in InsetsState
277 if (mDisplayFrame.equals(frame)) { in calculateRelativeCutout()
283 final int insetLeft = frame.left - mDisplayFrame.left; in calculateRelativeCutout()
284 final int insetTop = frame.top - mDisplayFrame.top; in calculateRelativeCutout()
285 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativeCutout()
286 final int insetBottom = mDisplayFrame.bottom - frame.bottom; in calculateRelativeCutout()
309 if (!roundedCornerFrame.isEmpty() && !roundedCornerFrame.equals(mDisplayFrame)) { in calculateRelativeRoundedCorners()
312 if (mDisplayFrame.equals(frame)) { in calculateRelativeRoundedCorners()
315 final int insetLeft = frame.left - mDisplayFrame.left; in calculateRelativeRoundedCorners()
316 final int insetTop = frame.top - mDisplayFrame.top; in calculateRelativeRoundedCorners()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowFrames.java46 public final Rect mDisplayFrame = new Rect(); field in WindowFrames
88 mDisplayFrame.set(displayFrame); in setFrames()
180 mDisplayFrame.dumpDebug(proto, DISPLAY_FRAME); in dumpDebug()
188 + " display=" + mDisplayFrame.toShortString(sTmpSB) in dump()
DWindowState.java1348 windowFrames.mDisplayFrame.set(clientWindowFrames.displayFrame); in setFrames()
1443 return mWindowFrames.mDisplayFrame; in getDisplayFrame()
3850 outFrames.displayFrame.set(mWindowFrames.mDisplayFrame); in fillClientWindowFramesAndConfiguration()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp120 res.mDisplayFrame = hwc_rect_t{left, top, right, bottom}; in makeSimpleRect()
1287 frame1Ref[FG_LAYER].mDisplayFrame = in Test_LayerMove()
1307 referenceFrame[FG_LAYER].mDisplayFrame = hwc_rect_t{64 + 16, 64 + 16, 64 + 32, 64 + 32}; in Test_LayerCrop()
1440 referenceFrame[FG_LAYER].mDisplayFrame = xform.expectedDisplayFrame; in Test_LayerSetMatrix()
1567 referenceFrame[Base::FG_LAYER].mDisplayFrame = hwc_rect_t{64, 64, 64 + 64, 64 + 64}; in Test_Positioning()
1568 referenceFrame[CHILD_LAYER].mDisplayFrame = in Test_Positioning()
1578 referenceFrame2[Base::FG_LAYER].mDisplayFrame = hwc_rect_t{0, 0, 0 + 64, 0 + 64}; in Test_Positioning()
1579 referenceFrame2[CHILD_LAYER].mDisplayFrame = in Test_Positioning()
1596 referenceFrame[Base::FG_LAYER].mDisplayFrame = hwc_rect_t{0, 0, 0 + 5, 0 + 5}; in Test_Cropping()
1598 referenceFrame[CHILD_LAYER].mDisplayFrame = hwc_rect_t{0, 0, 0 + 5, 0 + 5}; in Test_Cropping()
[all …]
DFakeComposerUtils.cpp67 printDisplayRectAligned(os, state.mDisplayFrame, 5); in operator <<()
92 passes &= valuesMatch(message, ref.mDisplayFrame, val.mDisplayFrame, "display frame"); in rectsAreSame()
DRenderState.h30 hwc_rect_t mDisplayFrame = {0, 0, 0, 0}; variable
DFakeComposerClient.cpp467 getLayerImpl(layer).mRenderState.mDisplayFrame = frame; in setLayerDisplayFrame()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DLayerState.cpp155 return lhs.mId == rhs.mId && lhs.mName == rhs.mName && lhs.mDisplayFrame == rhs.mDisplayFrame && in operator ==()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h232 Rect getDisplayFrame() const { return mDisplayFrame.get(); }
281 mDisplayFrame{[](auto layer) { return layer->getState().displayFrame; },
500 &mDisplayFrame, &mSourceCrop, &mBufferTransform, &mBlendMode,