am 807f23b: Merge change 1057 into donut
Merge commit '807f23b2d8c7148cf6fc95bb88cfc2f78e4be66a' * commit '807f23b2d8c7148cf6fc95bb88cfc2f78e4be66a': * Add regoin scaling for transparent support
This commit is contained in:
committed by
The Android Open Source Project
commit
7118a2cf54
@@ -960,11 +960,10 @@ public final class ViewRoot extends Handler implements ViewParent,
|
||||
mTmpLocation[1] + host.mBottom - host.mTop);
|
||||
|
||||
host.gatherTransparentRegion(mTransparentRegion);
|
||||
if (mAppScale != 1.0f) {
|
||||
mTransparentRegion.scale(mAppScale);
|
||||
}
|
||||
|
||||
// TODO: scale the region, like:
|
||||
// Region uses native methods. We probabl should have ScalableRegion class.
|
||||
|
||||
// Region does not have equals method ?
|
||||
if (!mTransparentRegion.equals(mPreviousTransparentRegion)) {
|
||||
mPreviousTransparentRegion.set(mTransparentRegion);
|
||||
// reconfigure window manager
|
||||
|
||||
Reference in New Issue
Block a user