Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/window/
DClientWindowFrames.java52 public float compatScale = 1f; field in ClientWindowFrames
65 compatScale = other.compatScale; in ClientWindowFrames()
79 compatScale = in.readFloat(); in readFromParcel()
89 dest.writeFloat(compatScale); in writeToParcel()
100 + (compatScale != 1f ? " sizeCompatScale=" + compatScale : "") + "}"; in toString()
/frameworks/base/core/java/android/view/
DWindowLayout.java67 float compatScale, ClientWindowFrames frames) { in computeFrames() argument
186 final boolean hasCompatScale = compatScale != 1f; in computeFrames()
212 w = (int) (attrs.width * compatScale + .5f); in computeFrames()
219 h = (int) (attrs.height * compatScale + .5f); in computeFrames()
227 w = (int) (rw * compatScale + .5f); in computeFrames()
234 h = (int) (rh * compatScale + .5f); in computeFrames()
241 x = attrs.x * compatScale; in computeFrames()
242 y = attrs.y * compatScale; in computeFrames()
286 + " compatScale=" + compatScale in computeFrames()
DWindowlessWindowLayout.java33 float compatScale, ClientWindowFrames frames) { in computeFrames() argument
DViewRootImpl.java1280 final float[] compatScale = { 1f };
1284 mTempControls, attachedFrame, compatScale);
1294 mTmpFrames.compatScale = compatScale[0];
1295 mInvCompatScale = 1f / compatScale[0];
1819 final float compatScale = frames.compatScale;
1826 final boolean compatScaleChanged = mTmpFrames.compatScale != compatScale;
1835 mTmpFrames.compatScale = compatScale;
1836 mInvCompatScale = 1f / compatScale;
8294 mInvCompatScale = 1f / mTmpFrames.compatScale; in relayoutWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DCompatModePackages.java441 final float compatScale = getCompatScale(ai.packageName, ai.uid); in compatibilityInfoForPackageLocked() local
444 forceCompat, compatScale); in compatibilityInfoForPackageLocked()
DWindowManagerService.java8968 final float compatScale = token != null && token.hasSizeCompatBounds() in getWindowInsets() local
8971 outInsetsState.scale(1f / compatScale); in getWindowInsets()
DWindowState.java3864 outFrames.compatScale = getCompatScaleForClient(); in fillClientWindowFramesAndConfiguration()