Searched refs:relativeFrame (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | InsetsSource.java | 276 public Insets calculateInsets(Rect relativeFrame, boolean ignoreVisibility) { in calculateInsets() argument 277 return calculateInsets(relativeFrame, mFrame, ignoreVisibility); in calculateInsets() 283 public Insets calculateVisibleInsets(Rect relativeFrame) { in calculateVisibleInsets() argument 284 return calculateInsets(relativeFrame, mVisibleFrame != null ? mVisibleFrame : mFrame, in calculateVisibleInsets() 288 private Insets calculateInsets(Rect relativeFrame, Rect frame, boolean ignoreVisibility) { in calculateInsets() argument 303 final boolean hasIntersection = relativeFrame.isEmpty() in calculateInsets() 304 ? getIntersection(frame, relativeFrame, mTmpFrame) in calculateInsets() 305 : mTmpFrame.setIntersect(frame, relativeFrame); in calculateInsets() 316 if (mTmpFrame.equals(relativeFrame)) { in calculateInsets() 329 } else if (mTmpFrame.width() == relativeFrame.width()) { in calculateInsets() [all …]
|
D | InsetsState.java | 127 final Rect relativeFrame = new Rect(frame); in calculateInsets() local 145 processSource(source, relativeFrame, false /* ignoreVisibility */, typeInsetsMap, in calculateInsets() 332 private void processSource(InsetsSource source, Rect relativeFrame, boolean ignoreVisibility, in processSource() argument 335 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource() 336 final Rect[] boundingRects = source.calculateBoundingRects(relativeFrame, ignoreVisibility); in processSource()
|