Home
last modified time | relevance | path

Searched refs:mTmpFrame (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DInsetsSource.java144 private final Rect mTmpFrame = new Rect(); field in InsetsSource
304 ? getIntersection(frame, relativeFrame, mTmpFrame) in calculateInsets()
305 : mTmpFrame.setIntersect(frame, relativeFrame); in calculateInsets()
313 return Insets.of(0, 0, 0, mTmpFrame.height()); in calculateInsets()
316 if (mTmpFrame.equals(relativeFrame)) { in calculateInsets()
321 return Insets.of(mTmpFrame.width(), 0, 0, 0); in calculateInsets()
323 return Insets.of(0, mTmpFrame.height(), 0, 0); in calculateInsets()
325 return Insets.of(0, 0, mTmpFrame.width(), 0); in calculateInsets()
327 return Insets.of(0, 0, 0, mTmpFrame.height()); in calculateInsets()
329 } else if (mTmpFrame.width() == relativeFrame.width()) { in calculateInsets()
[all …]
DInsetsAnimationControlImpl.java84 private final Rect mTmpFrame = new Rect(); field in InsetsAnimationControlImpl
475 mTmpFrame.set(source.getFrame()); in updateLeashesForSide()
477 addTranslationToMatrix(side, offset, mTmpMatrix, mTmpFrame); in updateLeashesForSide()
488 .setFrame(mTmpFrame)); in updateLeashesForSide()