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.java217 float mGlobalScale=1; field in WindowState
531 w = (int)(mAttrs.width * mGlobalScale + .5f); in computeFrameLw()
538 h = (int)(mAttrs.height * mGlobalScale + .5f); in computeFrameLw()
546 w = (int)(mRequestedWidth * mGlobalScale + .5f); in computeFrameLw()
553 h = (int)(mRequestedHeight * mGlobalScale + .5f); in computeFrameLw()
585 x = mAttrs.x * mGlobalScale; in computeFrameLw()
586 y = mAttrs.y * mGlobalScale; in computeFrameLw()
844 mGlobalScale = mService.mCompatibleScreenScale; in prelayout()
845 mInvGlobalScale = 1/mGlobalScale; in prelayout()
847 mGlobalScale = mInvGlobalScale = 1; in prelayout()
DInputMonitor.java205 if (child.mGlobalScale != 1) { in addInputWindowHandleLw()
209 inputWindowHandle.scaleFactor = 1.0f/child.mGlobalScale; in addInputWindowHandleLw()
DWindowStateAnimator.java1088 tmpMatrix.postScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1208 tmpMatrix.setScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1244 mDsDx = mWin.mGlobalScale; in computeShownFrameLocked()
1247 mDtDy = mWin.mGlobalScale; in computeShownFrameLocked()
1945 if (mHaveMatrix || mWin.mGlobalScale != 1) { in dump()
1946 pw.print(prefix); pw.print("mGlobalScale="); pw.print(mWin.mGlobalScale); in dump()
DDragState.java435 winX *= win.mGlobalScale; in obtainDragEvent()
436 winY *= win.mGlobalScale; in obtainDragEvent()
DWindowManagerService.java2856 if (w.mGlobalScale != 1) { in setInsetsWindow()
2857 w.mGivenContentInsets.scale(w.mGlobalScale); in setInsetsWindow()
2858 w.mGivenVisibleInsets.scale(w.mGlobalScale); in setInsetsWindow()
2859 w.mGivenTouchableRegion.scale(w.mGlobalScale); in setInsetsWindow()
11669 if ((spec == null || spec.isNop()) && windowState.mGlobalScale == 1.0f) { in getCompatibleMagnificationSpecForWindow()
11673 spec.scale *= windowState.mGlobalScale; in getCompatibleMagnificationSpecForWindow()