Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DClientWindowFrames.java50 public @Nullable Rect attachedFrame; field in ClientWindowFrames
72 if (other.attachedFrame != null) { in setTo()
73 attachedFrame = new Rect(other.attachedFrame); in setTo()
84 attachedFrame = in.readTypedObject(Rect.CREATOR); in readFromParcel()
94 dest.writeTypedObject(attachedFrame, flags); in writeToParcel()
105 + (attachedFrame != null ? " attachedFrame=" + attachedFrame.toShortString() : "") in toString()
122 && Objects.equals(attachedFrame, other.attachedFrame) in equals()
129 return Objects.hash(frame, displayFrame, parentFrame, attachedFrame, in hashCode()
/frameworks/base/core/java/android/view/
DWindowlessWindowLayout.java43 if (frames.attachedFrame == null) { in computeFrames()
51 frames.attachedFrame.height()); in computeFrames()
53 frames.attachedFrame.width()); in computeFrames()
54 Gravity.apply(attrs.gravity, width, height, frames.attachedFrame, in computeFrames()
59 frames.parentFrame.set(frames.attachedFrame); in computeFrames()
DIWindowSession.aidl67 out InsetsSourceControl.Array activeControls, out Rect attachedFrame, in addToDisplay() argument
72 out InsetsSourceControl.Array activeControls, out Rect attachedFrame, in addToDisplayAsUser() argument
76 out Rect attachedFrame, out float[] sizeCompatScale); in addToDisplayWithoutInputChannel() argument
DWindowLayout.java73 final Rect attachedWindowFrame = frames.attachedFrame; in computeFrames()
DViewRootImpl.java1594 Rect attachedFrame = new Rect();
1599 mTempControls, attachedFrame, compatScale);
1600 if (!attachedFrame.isValid()) {
1601 attachedFrame = null;
1606 mTranslator.translateRectInScreenToAppWindow(attachedFrame);
1608 mTmpFrames.attachedFrame = attachedFrame;
2230 final Rect attachedFrame = frames.attachedFrame;
2235 mTranslator.translateRectInScreenToAppWindow(attachedFrame);
2249 !Objects.equals(mTmpFrames.attachedFrame, attachedFrame);
2275 if (mTmpFrames.attachedFrame != null && attachedFrame != null) {
[all …]
DWindowlessWindowManager.java414 frames.attachedFrame = state.mAttachedFrame; in relayoutInner()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java100 mFrames.attachedFrame = null; in setUp()
193 public void attachedFrame() { in attachedFrame() method in WindowLayoutTests
195 mFrames.attachedFrame = new Rect(0, STATUS_BAR_HEIGHT, DISPLAY_WIDTH, bottom); in attachedFrame()
201 assertEquals(mFrames.attachedFrame, mFrames.parentFrame); in attachedFrame()
202 assertEquals(mFrames.attachedFrame, mFrames.frame); in attachedFrame()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java3646 if (outFrames.attachedFrame == null) { in fillClientWindowFramesAndConfiguration()
3647 outFrames.attachedFrame = new Rect(); in fillClientWindowFramesAndConfiguration()
3649 outFrames.attachedFrame.set(getParentWindow().getFrame()); in fillClientWindowFramesAndConfiguration()
3651 outFrames.attachedFrame.scale(mInvGlobalScale); in fillClientWindowFramesAndConfiguration()
DDisplayPolicy.java1359 sTmpClientFrames.attachedFrame = null;
1403 sTmpClientFrames.attachedFrame = attached != null ? attached.getFrame() : null;