Home
last modified time | relevance | path

Searched refs:parentFrame (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/window/
DClientWindowFrames.java44 public final @NonNull Rect parentFrame = new Rect(); field in ClientWindowFrames
71 parentFrame.set(other.parentFrame); in setTo()
83 parentFrame.readFromParcel(in); in readFromParcel()
93 parentFrame.writeToParcel(dest, flags); in writeToParcel()
104 + " parentFrame=" + parentFrame.toShortString(sb) in toString()
121 && parentFrame.equals(other.parentFrame) in equals()
129 return Objects.hash(frame, displayFrame, parentFrame, attachedFrame, in hashCode()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java145 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in defaultParams()
156 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in unmeasured()
172 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in unmeasuredWithSizeSpecifiedInLayoutParams()
187 mFrames.parentFrame); in nonFullscreenWindowBounds()
201 assertEquals(mFrames.attachedFrame, mFrames.parentFrame); in attachedFrame()
211 assertInsetByTopBottom(STATUS_BAR_HEIGHT, 0, mFrames.parentFrame); in fitStatusBars()
221 assertInsetByTopBottom(0, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in fitNavigationBars()
231 assertInsetByTopBottom(0, 0, mFrames.parentFrame); in fitZeroTypes()
241 assertInsetByTopBottom(STATUS_BAR_HEIGHT, NAVIGATION_BAR_HEIGHT, mFrames.parentFrame); in fitAllSides()
251 assertInsetByTopBottom(STATUS_BAR_HEIGHT, 0, mFrames.parentFrame); in fitTopOnly()
[all …]
/frameworks/base/core/java/android/view/
DWindowlessWindowLayout.java45 frames.parentFrame.set(frames.frame); in computeFrames()
59 frames.parentFrame.set(frames.attachedFrame); in computeFrames()
DWindowlessWindowManager.java423 outFrames.parentFrame.set(frames.parentFrame); in relayoutInner()
DWindowLayout.java75 final Rect outParentFrame = frames.parentFrame; in computeFrames()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowFrames.java87 public void setFrames(Rect parentFrame, Rect displayFrame) { in setFrames() argument
88 mParentFrame.set(parentFrame); in setFrames()
DWindowState.java1303 windowFrames.mParentFrame.set(clientWindowFrames.parentFrame); in setFrames()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java690 final Rect parentFrame = w.getFrame(); in testCompatOverrideScale() local
696 assertEquals(parentFrame, unscaledCompatFrame); in testCompatOverrideScale()
705 (int) ((childFrame.left - parentFrame.left) / overrideScale), in testCompatOverrideScale()
706 (int) ((childFrame.top - parentFrame.top) / overrideScale)); in testCompatOverrideScale()