Home
last modified time | relevance | path

Searched refs:mTmpBounds (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java87 private final Rect mTmpBounds = new Rect(); field in TaskLaunchParamsModifier
189 getLayoutBounds(display, root, layout, mTmpBounds); in calculate()
190 if (!mTmpBounds.isEmpty()) { in calculate()
192 outParams.mBounds.set(mTmpBounds); in calculate()
533 display.getBounds(mTmpBounds); in cascadeBounds()
534 final int dx = Math.min(defaultOffset, Math.max(0, mTmpBounds.right - srcBounds.right)); in cascadeBounds()
535 final int dy = Math.min(defaultOffset, Math.max(0, mTmpBounds.bottom - srcBounds.bottom)); in cascadeBounds()
567 getDefaultFreeformSize(display, layout, orientation, mTmpBounds); in getTaskBounds()
568 if (hasInitialBounds || sizeMatches(inOutBounds, mTmpBounds)) { in getTaskBounds()
586 centerBounds(display, mTmpBounds.width(), mTmpBounds.height(), inOutBounds); in getTaskBounds()
[all …]
DTask.java312 private final Rect mTmpBounds = new Rect(); field in Task
2187 mTmpBounds.set(0, 0, displayInfo.logicalWidth, displayInfo.logicalHeight); in calculateInsetFrames()
2191 intersectWithInsetsIfFits(outNonDecorBounds, mTmpBounds, mTmpInsets); in calculateInsetFrames()
2194 intersectWithInsetsIfFits(outStableBounds, mTmpBounds, mTmpInsets); in calculateInsetFrames()
2329 compatInsets.getBoundsByRotation(mTmpBounds, rotation); in computeConfigResourceOverrides()
2330 intersectWithInsetsIfFits(mTmpNonDecorBounds, mTmpBounds, in computeConfigResourceOverrides()
2332 intersectWithInsetsIfFits(mTmpStableBounds, mTmpBounds, in computeConfigResourceOverrides()
2394 mTmpBounds.set(getResolvedOverrideConfiguration().windowConfiguration.getBounds()); in resolveOverrideConfiguration()
2410 resolveLeafOnlyOverrideConfigs(newParentConfig, mTmpBounds /* previousBounds */); in resolveOverrideConfiguration()
DDisplayContent.java437 private final Rect mTmpBounds = new Rect(); field in DisplayContent
1920 calculateBounds(displayInfo, mTmpBounds); in computeScreenConfiguration()
1921 config.windowConfiguration.setBounds(mTmpBounds); in computeScreenConfiguration()
3986 calculateBounds(mDisplayInfo, mTmpBounds); in updateBounds()
3987 setBounds(mTmpBounds); in updateBounds()
3990 if (!mTmpBounds.equals(mTmpRect)) { in updateBounds()
3991 mPortalWindowHandle.touchableRegion.set(mTmpBounds); in updateBounds()
5131 getBounds(mTmpBounds); in createPortalWindowHandle()
5132 portalWindowHandle.touchableRegion.set(mTmpBounds); in createPortalWindowHandle()
DActivityRecord.java697 private final Rect mTmpBounds = new Rect(); field in ActivityRecord
6546 mTmpBounds.setEmpty(); in resolveFullscreenConfiguration()
6547 applyAspectRatio(mTmpBounds, parentAppBounds, parentBounds); in resolveFullscreenConfiguration()
6550 final boolean needToBeCentered = !mTmpBounds.isEmpty(); in resolveFullscreenConfiguration()
6552 resolvedBounds.set(mTmpBounds); in resolveFullscreenConfiguration()
6600 final Rect containingBounds = mTmpBounds; in resolveSizeCompatModeConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java63 private Rect mTmpBounds = new Rect(); field in PipAccessibilityInteractionConnection
129 mTmpBounds.offsetTo(newX, newY); in performAccessibilityAction()
130 mMotionHelper.movePip(mTmpBounds); in performAccessibilityAction()
DPipTouchHandler.java183 private final Rect mTmpBounds = new Rect(); field in PipTouchHandler
945 mTmpBounds.set(mMotionHelper.getPossiblyAnimatingBounds()); in onMove()
946 mTmpBounds.offsetTo((int) left, (int) top); in onMove()
947 mMotionHelper.movePip(mTmpBounds, true /* isDragging */); in onMove()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java348 private final Rect mTmpBounds = new Rect(); field in VectorDrawable
413 copyBounds(mTmpBounds); in draw()
414 if (mTmpBounds.width() <= 0 || mTmpBounds.height() <= 0) { in draw()
426 colorFilterNativeInstance, mTmpBounds, needMirroring(), in draw()