Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/wm/
DWindowState.java202 float mGlobalScale=1; field in WindowState
485 w = (int)(mAttrs.width * mGlobalScale + .5f); in computeFrameLw()
492 h = (int)(mAttrs.height * mGlobalScale + .5f); in computeFrameLw()
500 w = (int)(mRequestedWidth * mGlobalScale + .5f); in computeFrameLw()
507 h = (int)(mRequestedHeight * mGlobalScale + .5f); in computeFrameLw()
538 x = mAttrs.x * mGlobalScale; in computeFrameLw()
539 y = mAttrs.y * mGlobalScale; in computeFrameLw()
758 mGlobalScale = mService.mCompatibleScreenScale; in prelayout()
759 mInvGlobalScale = 1/mGlobalScale; in prelayout()
761 mGlobalScale = mInvGlobalScale = 1; in prelayout()
DWindowStateAnimator.java906 tmpMatrix.postScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1013 tmpMatrix.setScale(mWin.mGlobalScale, mWin.mGlobalScale); in computeShownFrameLocked()
1049 mDsDx = mWin.mGlobalScale; in computeShownFrameLocked()
1052 mDtDy = mWin.mGlobalScale; in computeShownFrameLocked()
1642 if (mHaveMatrix || mWin.mGlobalScale != 1) { in dump()
1643 pw.print(prefix); pw.print("mGlobalScale="); pw.print(mWin.mGlobalScale); in dump()
DInputMonitor.java203 if (child.mGlobalScale != 1) { in addInputWindowHandleLw()
207 inputWindowHandle.scaleFactor = 1.0f/child.mGlobalScale; in addInputWindowHandleLw()
DDragState.java437 winX *= win.mGlobalScale; in obtainDragEvent()
438 winY *= win.mGlobalScale; in obtainDragEvent()
DWindowManagerService.java2632 if (w.mGlobalScale != 1) { in setInsetsWindow()
2633 w.mGivenContentInsets.scale(w.mGlobalScale); in setInsetsWindow()
2634 w.mGivenVisibleInsets.scale(w.mGlobalScale); in setInsetsWindow()
2635 w.mGivenTouchableRegion.scale(w.mGlobalScale); in setInsetsWindow()
3165 if ((spec == null || spec.isNop()) && windowState.mGlobalScale == 1.0f) { in getCompatibleMagnificationSpecForWindow()
3169 spec.scale *= windowState.mGlobalScale; in getCompatibleMagnificationSpecForWindow()