Home
last modified time | relevance | path

Searched refs:mGlobalScale (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java282 float mGlobalScale=1; field in WindowState
1170 mGlobalScale = mService.mCompatibleScreenScale; in prelayout()
1171 mInvGlobalScale = 1/mGlobalScale; in prelayout()
1173 mGlobalScale = mInvGlobalScale = 1; in prelayout()
2804 w = (int)(mAttrs.width * mGlobalScale + .5f); in applyGravityAndUpdateFrame()
2811 h = (int)(mAttrs.height * mGlobalScale + .5f); in applyGravityAndUpdateFrame()
2819 w = (int)(mRequestedWidth * mGlobalScale + .5f); in applyGravityAndUpdateFrame()
2826 h = (int)(mRequestedHeight * mGlobalScale + .5f); in applyGravityAndUpdateFrame()
2833 x = mAttrs.x * mGlobalScale; in applyGravityAndUpdateFrame()
2834 y = mAttrs.y * mGlobalScale; in applyGravityAndUpdateFrame()
[all …]
DInputMonitor.java212 if (child.mGlobalScale != 1) { in addInputWindowHandleLw()
216 inputWindowHandle.scaleFactor = 1.0f/child.mGlobalScale; in addInputWindowHandleLw()
DWindowStateAnimator.java1011 tmpMatrix.postScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1131 tmpMatrix.setScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1155 mDsDx = mWin.mGlobalScale; in computeShownFrameLocked()
1158 mDtDy = mWin.mGlobalScale; in computeShownFrameLocked()
1997 if (mHaveMatrix || mWin.mGlobalScale != 1) { in dump()
1998 pw.print(prefix); pw.print("mGlobalScale="); pw.print(mWin.mGlobalScale); in dump()
DWindowManagerService.java2643 if (w.mGlobalScale != 1) { in setInsetsWindow()
2644 w.mGivenContentInsets.scale(w.mGlobalScale); in setInsetsWindow()
2645 w.mGivenVisibleInsets.scale(w.mGlobalScale); in setInsetsWindow()
2646 w.mGivenTouchableRegion.scale(w.mGlobalScale); in setInsetsWindow()
11406 if ((spec == null || spec.isNop()) && windowState.mGlobalScale == 1.0f) { in getCompatibleMagnificationSpecForWindow()
11410 spec.scale *= windowState.mGlobalScale; in getCompatibleMagnificationSpecForWindow()