Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java229 float mGlobalScale=1; field in WindowState
567 w = (int)(mAttrs.width * mGlobalScale + .5f); in computeFrameLw()
574 h = (int)(mAttrs.height * mGlobalScale + .5f); in computeFrameLw()
582 w = (int)(mRequestedWidth * mGlobalScale + .5f); in computeFrameLw()
589 h = (int)(mRequestedHeight * mGlobalScale + .5f); in computeFrameLw()
622 x = mAttrs.x * mGlobalScale; in computeFrameLw()
623 y = mAttrs.y * mGlobalScale; in computeFrameLw()
906 mGlobalScale = mService.mCompatibleScreenScale; in prelayout()
907 mInvGlobalScale = 1/mGlobalScale; in prelayout()
909 mGlobalScale = mInvGlobalScale = 1; in prelayout()
DInputMonitor.java205 if (child.mGlobalScale != 1) { in addInputWindowHandleLw()
209 inputWindowHandle.scaleFactor = 1.0f/child.mGlobalScale; in addInputWindowHandleLw()
DWindowStateAnimator.java1093 tmpMatrix.postScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1204 tmpMatrix.setScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1233 mDsDx = mWin.mGlobalScale; in computeShownFrameLocked()
1236 mDtDy = mWin.mGlobalScale; in computeShownFrameLocked()
1961 if (mHaveMatrix || mWin.mGlobalScale != 1) { in dump()
1962 pw.print(prefix); pw.print("mGlobalScale="); pw.print(mWin.mGlobalScale); in dump()
DDragState.java443 winX *= win.mGlobalScale; in obtainDragEvent()
444 winY *= win.mGlobalScale; in obtainDragEvent()
DWindowManagerService.java2973 if (w.mGlobalScale != 1) { in setInsetsWindow()
2974 w.mGivenContentInsets.scale(w.mGlobalScale); in setInsetsWindow()
2975 w.mGivenVisibleInsets.scale(w.mGlobalScale); in setInsetsWindow()
2976 w.mGivenTouchableRegion.scale(w.mGlobalScale); in setInsetsWindow()
11883 if ((spec == null || spec.isNop()) && windowState.mGlobalScale == 1.0f) { in getCompatibleMagnificationSpecForWindow()
11887 spec.scale *= windowState.mGlobalScale; in getCompatibleMagnificationSpecForWindow()